Skip to content

Commit 4f8d979

Browse files
committed
[Infra] Remove FDL references from other quickstarts
1 parent ac85f73 commit 4f8d979

File tree

6 files changed

+3
-84
lines changed

6 files changed

+3
-84
lines changed

inappmessaging/InAppMessagingExample/AppDelegate.m

Lines changed: 0 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616

1717
@import FirebaseCore;
1818
@import FirebaseInAppMessaging;
19-
@import FirebaseDynamicLinks;
2019

2120
@interface AppDelegate ()
2221

@@ -29,42 +28,8 @@ - (BOOL)application:(UIApplication *)application
2928
// Uncomment the following line to disable In-App Messaging auto-startup.
3029
// [FIRInAppMessaging inAppMessaging].automaticDataCollectionEnabled = NO;
3130

32-
[FIROptions defaultOptions].deepLinkURLScheme = @"com.google.InAppMessagingExampleiOS";
3331
[FIRApp configure];
3432
return YES;
3533
}
3634

37-
- (BOOL)application:(UIApplication *)app
38-
openURL:(NSURL *)url
39-
options:(NSDictionary<NSString *, id> *)options {
40-
return [self application:app
41-
openURL:url
42-
sourceApplication:options[UIApplicationOpenURLOptionsSourceApplicationKey]
43-
annotation:options[UIApplicationOpenURLOptionsAnnotationKey]];
44-
}
45-
46-
- (BOOL)application:(UIApplication *)application
47-
openURL:(NSURL *)url
48-
sourceApplication:(NSString *)sourceApplication
49-
annotation:(id)annotation {
50-
FIRDynamicLink *dynamicLink = [[FIRDynamicLinks dynamicLinks] dynamicLinkFromCustomSchemeURL:url];
51-
52-
NSLog(@"called here with %@", dynamicLink);
53-
if (dynamicLink) {
54-
if (dynamicLink.url) {
55-
// Handle the deep link. For example, show the deep-linked content,
56-
// apply a promotional offer to the user's account or show customized onboarding view.
57-
// ...
58-
59-
} else {
60-
// Dynamic link has empty deep link. This situation will happens if
61-
// Firebase Dynamic Links iOS SDK tried to retrieve pending dynamic link,
62-
// but pending link is not available for this device/App combination.
63-
// At this point you may display default onboarding view.
64-
}
65-
return YES;
66-
}
67-
return NO;
68-
}
69-
7035
@end

inappmessaging/InAppMessagingExampleSwift/AppDelegate.swift

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ import UIKit
1818

1919
import FirebaseCore
2020
import FirebaseInAppMessaging
21-
import FirebaseDynamicLinks
2221

2322
@UIApplicationMain
2423
class AppDelegate: UIResponder, UIApplicationDelegate {
@@ -30,39 +29,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
3029
// Uncomment the following line to disable In-App Messaging auto-startup.
3130
// InAppMessaging.inAppMessaging().automaticDataCollectionEnabled = false
3231

33-
FirebaseOptions.defaultOptions()?.deepLinkURLScheme = "com.google.InAppMessagingExampleSwiftiOS"
3432
FirebaseApp.configure()
3533
return true
3634
}
37-
38-
func application(_ app: UIApplication,
39-
open url: URL,
40-
options: [UIApplication.OpenURLOptionsKey: Any] = [:]) -> Bool {
41-
return application(app,
42-
open: url,
43-
sourceApplication: options[.sourceApplication] as? String,
44-
annotation: options[.annotation] as Any)
45-
}
46-
47-
func application(_ application: UIApplication,
48-
open url: URL,
49-
sourceApplication: String?,
50-
annotation: Any) -> Bool {
51-
let dynamicLink = DynamicLinks.dynamicLinks().dynamicLink(fromCustomSchemeURL: url)
52-
53-
if dynamicLink != nil {
54-
if dynamicLink?.url != nil {
55-
// Handle the deep link. For example, show the deep-linked content,
56-
// apply a promotional offer to the user's account or show customized onboarding view.
57-
// ...
58-
} else {
59-
// Dynamic link has empty deep link. This situation will happens if
60-
// Firebase Dynamic Links iOS SDK tried to retrieve pending dynamic link,
61-
// but pending link is not available for this device/App combination.
62-
// At this point you may display default onboarding view.
63-
}
64-
return true
65-
}
66-
return false
67-
}
6835
}

inappmessaging/Podfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ use_frameworks!
66
target 'InAppMessagingExample' do
77
pod 'FirebaseAnalytics'
88
pod 'FirebaseInAppMessaging', "> 8.11-beta"
9-
pod 'FirebaseDynamicLinks'
109

1110
target 'InAppMessagingExampleTests' do
1211
end
@@ -18,7 +17,6 @@ end
1817
target 'InAppMessagingExampleSwift' do
1918
pod 'FirebaseAnalytics'
2019
pod 'FirebaseInAppMessaging', "> 8.11-beta"
21-
pod 'FirebaseDynamicLinks'
2220

2321
target 'InAppMessagingExampleSwiftTests' do
2422
end

inappmessaging/Podfile.lock

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ PODS:
2525
- GoogleUtilities/Logger (~> 8.1)
2626
- FirebaseCoreInternal (11.14.0):
2727
- "GoogleUtilities/NSData+zlib (~> 8.1)"
28-
- FirebaseDynamicLinks (11.14.0):
29-
- FirebaseCore (~> 11.14.0)
3028
- FirebaseInAppMessaging (11.14.0-beta):
3129
- FirebaseABTesting (~> 11.0)
3230
- FirebaseCore (~> 11.14.0)
@@ -101,7 +99,6 @@ PODS:
10199

102100
DEPENDENCIES:
103101
- FirebaseAnalytics
104-
- FirebaseDynamicLinks
105102
- FirebaseInAppMessaging (> 8.11-beta)
106103

107104
SPEC REPOS:
@@ -110,7 +107,6 @@ SPEC REPOS:
110107
- FirebaseAnalytics
111108
- FirebaseCore
112109
- FirebaseCoreInternal
113-
- FirebaseDynamicLinks
114110
- FirebaseInAppMessaging
115111
- FirebaseInstallations
116112
- GoogleAdsOnDeviceConversion
@@ -124,7 +120,6 @@ SPEC CHECKSUMS:
124120
FirebaseAnalytics: d604dc875290f0213b9ead8a4692cf1e91e024d9
125121
FirebaseCore: 8fb12caed934c900218ce66a419107db74214ade
126122
FirebaseCoreInternal: 6a3b668197644aa858fc4127578637c6767ba123
127-
FirebaseDynamicLinks: 7cfc05eb8368c1d74fed039a08ffe6212b27296f
128123
FirebaseInAppMessaging: 97b12807f283672acd318aa00049ecf9d22551ff
129124
FirebaseInstallations: 863f2846bb124331b501d29c0f17f95caa2ef6bb
130125
GoogleAdsOnDeviceConversion: 5c3c8de58786e7d0a4bdecbd32c16f87d815cc9f
@@ -133,6 +128,6 @@ SPEC CHECKSUMS:
133128
nanopb: fad817b59e0457d11a5dfbde799381cd727c1275
134129
PromisesObjC: f5707f49cb48b9636751c5b2e7d227e43fba9f47
135130

136-
PODFILE CHECKSUM: ba8b289ec40d7655e30a711caf4739beade873c8
131+
PODFILE CHECKSUM: f817424c6ec127554db5ec38385178eb68d96f39
137132

138133
COCOAPODS: 1.16.2

swiftui/PasswordlessSwiftUI/Podfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,5 @@ target 'PasswordlessSwiftUI' do
77

88
# Pods for PasswordlessSwiftUI
99
pod 'FirebaseAuth'
10-
pod 'FirebaseDynamicLinks'
1110

12-
end
11+
end

swiftui/PasswordlessSwiftUI/Podfile.lock

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ PODS:
1818
- FirebaseCore (~> 11.14.0)
1919
- FirebaseCoreInternal (11.14.0):
2020
- "GoogleUtilities/NSData+zlib (~> 8.1)"
21-
- FirebaseDynamicLinks (11.14.0):
22-
- FirebaseCore (~> 11.14.0)
2321
- GoogleUtilities/AppDelegateSwizzler (8.1.0):
2422
- GoogleUtilities/Environment
2523
- GoogleUtilities/Logger
@@ -46,7 +44,6 @@ PODS:
4644

4745
DEPENDENCIES:
4846
- FirebaseAuth
49-
- FirebaseDynamicLinks
5047

5148
SPEC REPOS:
5249
trunk:
@@ -56,7 +53,6 @@ SPEC REPOS:
5653
- FirebaseCore
5754
- FirebaseCoreExtension
5855
- FirebaseCoreInternal
59-
- FirebaseDynamicLinks
6056
- GoogleUtilities
6157
- GTMSessionFetcher
6258
- RecaptchaInterop
@@ -68,11 +64,10 @@ SPEC CHECKSUMS:
6864
FirebaseCore: 8fb12caed934c900218ce66a419107db74214ade
6965
FirebaseCoreExtension: 6af88594f639c1abb127bc096da32cf2c0dd69ff
7066
FirebaseCoreInternal: 6a3b668197644aa858fc4127578637c6767ba123
71-
FirebaseDynamicLinks: 7cfc05eb8368c1d74fed039a08ffe6212b27296f
7267
GoogleUtilities: 00c88b9a86066ef77f0da2fab05f65d7768ed8e1
7368
GTMSessionFetcher: fc75fc972958dceedee61cb662ae1da7a83a91cf
7469
RecaptchaInterop: 11e0b637842dfb48308d242afc3f448062325aba
7570

76-
PODFILE CHECKSUM: c3fb5088cd06974567cf888f5d63bb24bc6a5ef7
71+
PODFILE CHECKSUM: e77dd1c045432c99820eae457315367b4d11d441
7772

7873
COCOAPODS: 1.16.2

0 commit comments

Comments
 (0)