Skip to content

Commit

Permalink
Merge pull request #53 from shimastripe/firebase/v11
Browse files Browse the repository at this point in the history
Support 11.0.0
  • Loading branch information
fumito-ito authored Jul 31, 2024
2 parents 07a8353 + 7e8f970 commit b35f5e4
Show file tree
Hide file tree
Showing 11 changed files with 53 additions and 44 deletions.
4 changes: 2 additions & 2 deletions Cartfile
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseAnalyticsBinary.json" ~> 10.0.0
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseInAppMessagingBinary.json" ~> 10.0.0
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseAnalyticsBinary.json" ~> 11.0.0
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseInAppMessagingBinary.json" ~> 11.0.0
4 changes: 2 additions & 2 deletions Cartfile.resolved
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseAnalyticsBinary.json" "10.0.0"
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseInAppMessagingBinary.json" "10.0.0"
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseAnalyticsBinary.json" "11.0.0"
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseInAppMessagingBinary.json" "11.0.0"
61 changes: 35 additions & 26 deletions Package.resolved
Original file line number Diff line number Diff line change
@@ -1,75 +1,84 @@
{
"pins" : [
{
"identity" : "abseil-cpp-swiftpm",
"identity" : "abseil-cpp-binary",
"kind" : "remoteSourceControl",
"location" : "https://github.com/firebase/abseil-cpp-SwiftPM.git",
"location" : "https://github.com/google/abseil-cpp-binary.git",
"state" : {
"revision" : "d302de612e3d57c6f4afaf087da18fba8eac72a7",
"version" : "0.20220203.1"
"revision" : "194a6706acbd25e4ef639bcaddea16e8758a3e27",
"version" : "1.2024011602.0"
}
},
{
"identity" : "boringssl-swiftpm",
"identity" : "app-check",
"kind" : "remoteSourceControl",
"location" : "https://github.com/firebase/boringssl-SwiftPM.git",
"location" : "https://github.com/google/app-check.git",
"state" : {
"revision" : "79db6516894a932d0ddaff3b05b9da1e4f6c4069",
"version" : "0.9.0"
"revision" : "21fe1af9be463a359aaf8d96789ef73fc3760d09",
"version" : "11.0.1"
}
},
{
"identity" : "firebase-ios-sdk",
"kind" : "remoteSourceControl",
"location" : "https://github.com/firebase/firebase-ios-sdk.git",
"state" : {
"revision" : "5c4893c55f9d6114e2bb7c691d7ffd81208ac713",
"version" : "10.0.0"
"revision" : "a5c253d1b4409eb8aef4346015ba000f9935cb2d",
"version" : "11.0.0"
}
},
{
"identity" : "googleappmeasurement",
"kind" : "remoteSourceControl",
"location" : "https://github.com/google/GoogleAppMeasurement.git",
"state" : {
"revision" : "e3dd02f390cae79a7073b46dfb0cb6b60c48401b",
"version" : "10.0.0"
"revision" : "ca30c987b732d130732fb60b071e0b655a85ada7",
"version" : "11.0.0"
}
},
{
"identity" : "googledatatransport",
"kind" : "remoteSourceControl",
"location" : "https://github.com/google/GoogleDataTransport.git",
"state" : {
"revision" : "5056b15c5acbb90cd214fe4d6138bdf5a740e5a8",
"version" : "9.2.0"
"revision" : "617af071af9aa1d6a091d59a202910ac482128f9",
"version" : "10.1.0"
}
},
{
"identity" : "googleutilities",
"kind" : "remoteSourceControl",
"location" : "https://github.com/google/GoogleUtilities.git",
"state" : {
"revision" : "68ea347bdb1a69e2d2ae2e25cd085b6ef92f64cb",
"version" : "7.9.0"
"revision" : "66dd81c729364b0425d0c2b73e38a489f32b1717",
"version" : "8.0.1"
}
},
{
"identity" : "grpc-ios",
"identity" : "grpc-binary",
"kind" : "remoteSourceControl",
"location" : "https://github.com/grpc/grpc-ios.git",
"location" : "https://github.com/google/grpc-binary.git",
"state" : {
"revision" : "abd2d5a4347efa0454606a788678a5d8ec223738",
"version" : "1.44.0-grpc"
"revision" : "f56d8fc3162de9a498377c7b6cea43431f4f5083",
"version" : "1.65.1"
}
},
{
"identity" : "gtm-session-fetcher",
"kind" : "remoteSourceControl",
"location" : "https://github.com/google/gtm-session-fetcher.git",
"state" : {
"revision" : "d4289da23e978f37c344ea6a386e5546e2466294",
"version" : "2.1.0"
"revision" : "a2ab612cb980066ee56d90d60d8462992c07f24b",
"version" : "3.5.0"
}
},
{
"identity" : "interop-ios-for-google-sdks",
"kind" : "remoteSourceControl",
"location" : "https://github.com/google/interop-ios-for-google-sdks.git",
"state" : {
"revision" : "2d12673670417654f08f5f90fdd62926dc3a2648",
"version" : "100.0.0"
}
},
{
Expand All @@ -86,17 +95,17 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/firebase/nanopb.git",
"state" : {
"revision" : "819d0a2173aff699fb8c364b6fb906f7cdb1a692",
"version" : "2.30909.0"
"revision" : "b7e1104502eca3a213b46303391ca4d3bc8ddec1",
"version" : "2.30910.0"
}
},
{
"identity" : "promises",
"kind" : "remoteSourceControl",
"location" : "https://github.com/google/promises.git",
"state" : {
"revision" : "46c1e6b5ac09d8f82c991061c659f67e573d425d",
"version" : "2.1.0"
"revision" : "540318ecedd63d883069ae7f1ed811a2df00b6ac",
"version" : "2.4.0"
}
},
{
Expand Down
6 changes: 3 additions & 3 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ let package = Package(
name: "SwiftyInAppMessaging",
platforms: [
.iOS(.v12),
.tvOS(.v12),
.macOS(.v10_12),
.tvOS(.v13),
.macOS(.v10_15),
],
products: [
// Products define the executables and libraries produced by a package, and make them visible to other packages.
Expand All @@ -18,7 +18,7 @@ let package = Package(
)
],
dependencies: [
.package(url: "https://github.com/firebase/firebase-ios-sdk", .upToNextMajor(from: .init(10, 0, 0))
.package(url: "https://github.com/firebase/firebase-ios-sdk", .upToNextMajor(from: .init(11, 0, 0))
)
],
targets: [
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ func application(_ application: UIApplication, didFinishLaunchWithOptions launch

## Dependencies

- Firebase iOS SDK == `10.0.0`
- Firebase iOS SDK == `11.0.0`

## Installation

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
InAppDefaultBannerMessageHandler.window?.isHidden = false
}

func messageDismissed(dismissType: FIRInAppMessagingDismissType) {
func messageDismissed(dismissType: InAppMessagingDismissType) {
self.displayDelegate?.messageDismissed?(
self.messageForDisplay, dismissType: dismissType)
self.dismissView()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
InAppDefaultCardMessageHandler.window?.isHidden = false
}

func messageDismissed(dismissType: FIRInAppMessagingDismissType) {
func messageDismissed(dismissType: InAppMessagingDismissType) {
self.displayDelegate?.messageDismissed?(
self.messageForDisplay, dismissType: dismissType)
self.dismissView()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
InAppDefaultImageOnlyMessageHandler.window?.isHidden = false
}

func messageDismissed(dismissType: FIRInAppMessagingDismissType) {
func messageDismissed(dismissType: InAppMessagingDismissType) {
self.displayDelegate?.messageDismissed?(
self.messageForDisplay, dismissType: dismissType)
self.dismissView()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
InAppDefaultModalMessageHandler.window?.isHidden = false
}

public func messageDismissed(dismissType: FIRInAppMessagingDismissType) {
public func messageDismissed(dismissType: InAppMessagingDismissType) {
self.displayDelegate?.messageDismissed?(
self.messageForDisplay, dismissType: dismissType)
self.dismissView()
Expand Down
10 changes: 5 additions & 5 deletions Sources/SwiftyInAppMessaging/InAppMessageHandler.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

public protocol MessageEventDetectable {
func impressionDetected()
func messageDismissed(dismissType: FIRInAppMessagingDismissType)
func messageDismissed(dismissType: InAppMessagingDismissType)
func messageClicked(with action: InAppMessagingAction)
}

Expand All @@ -32,7 +32,7 @@
self.displayDelegate?.impressionDetected?(for: self.messageForDisplay)
}

public func messageDismissed(dismissType: FIRInAppMessagingDismissType) {
public func messageDismissed(dismissType: InAppMessagingDismissType) {
self.displayDelegate?.messageDismissed?(
self.messageForDisplay, dismissType: dismissType)
}
Expand All @@ -51,7 +51,7 @@
self.displayDelegate?.impressionDetected?(for: self.messageForDisplay)
}

public func messageDismissed(dismissType: FIRInAppMessagingDismissType) {
public func messageDismissed(dismissType: InAppMessagingDismissType) {
self.displayDelegate?.messageDismissed?(
self.messageForDisplay, dismissType: dismissType)
}
Expand All @@ -70,7 +70,7 @@
self.displayDelegate?.impressionDetected?(for: self.messageForDisplay)
}

public func messageDismissed(dismissType: FIRInAppMessagingDismissType) {
public func messageDismissed(dismissType: InAppMessagingDismissType) {
self.displayDelegate?.messageDismissed?(
self.messageForDisplay, dismissType: dismissType)
}
Expand All @@ -89,7 +89,7 @@
self.displayDelegate?.impressionDetected?(for: self.messageForDisplay)
}

public func messageDismissed(dismissType: FIRInAppMessagingDismissType) {
public func messageDismissed(dismissType: InAppMessagingDismissType) {
self.displayDelegate?.messageDismissed?(
self.messageForDisplay, dismissType: dismissType)
}
Expand Down
2 changes: 1 addition & 1 deletion SwiftyInAppMessaging.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ Pod::Spec.new do |spec|

spec.static_framework = true
spec.swift_version = '5.3'
spec.dependency "Firebase/InAppMessaging", "~> 10.0.0-beta"
spec.dependency "Firebase/InAppMessaging", "~> 11.0.0-beta"

end

0 comments on commit b35f5e4

Please sign in to comment.