Skip to content

Commit 24abc82

Browse files
committed
chore(example): remove firebase from example mlkit apps
1 parent 8c5e427 commit 24abc82

4 files changed

Lines changed: 1 addition & 8 deletions

File tree

examples/mlkit/android/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,4 +166,4 @@ task downloadDependencies() {
166166
}
167167
}
168168

169-
apply plugin: 'com.google.gms.google-services'
169+
// apply plugin: 'com.google.gms.google-services'

examples/mlkit/ios/Podfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,4 @@ target 'mlkit' do
3131
'LabelDetectorMLKit',
3232
]
3333

34-
pod 'Firebase/Core'
35-
3634
end

examples/mlkit/ios/mlkit.xcodeproj/project.pbxproj

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; };
2424
140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; };
2525
146834051AC3E58100842450 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; };
26-
2622130A222217F8009EBD58 /* GoogleService-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = 262212E4222217F8009EBD58 /* GoogleService-Info.plist */; };
2726
2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; };
2827
2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
2928
2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; };
@@ -1078,7 +1077,6 @@
10781077
files = (
10791078
13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */,
10801079
13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */,
1081-
2622130A222217F8009EBD58 /* GoogleService-Info.plist in Resources */,
10821080
);
10831081
runOnlyForDeploymentPostprocessing = 0;
10841082
};

examples/mlkit/ios/mlkit/AppDelegate.m

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
#import "AppDelegate.h"
99

10-
#import <Firebase.h>
1110
#import <React/RCTBundleURLProvider.h>
1211
#import <React/RCTRootView.h>
1312

@@ -17,8 +16,6 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
1716
{
1817
NSURL *jsCodeLocation;
1918

20-
[FIRApp configure];
21-
2219
jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index" fallbackResource:nil];
2320

2421
RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL:jsCodeLocation

0 commit comments

Comments
 (0)