소스 검색

[RN] Remove Crashlytics

j8
Lyubomir Marinov 8 년 전
부모
커밋
d1f6679f2d

+ 0
- 17
android/app/build.gradle 파일 보기

@@ -1,15 +1,4 @@
1
-buildscript {
2
-    repositories {
3
-        maven { url 'https://maven.fabric.io/public' }
4
-    }
5
-
6
-    dependencies {
7
-        classpath 'io.fabric.tools:gradle:1.+'
8
-    }
9
-}
10
-
11 1
 apply plugin: 'com.android.application'
12
-apply plugin: 'io.fabric'
13 2
 
14 3
 import com.android.build.OutputFile
15 4
 
@@ -149,9 +138,6 @@ if (project.hasProperty('JITSI_SIGNING')
149 138
     apply from: project.property('JITSI_SIGNING');
150 139
 }
151 140
 
152
-repositories {
153
-    maven { url 'https://maven.fabric.io/public' }
154
-}
155 141
 dependencies {
156 142
     compile project(':react-native-keep-awake')
157 143
     compile project(':react-native-vector-icons')
@@ -159,9 +145,6 @@ dependencies {
159 145
     compile fileTree(dir: 'libs', include: ['*.jar'])
160 146
     compile 'com.android.support:appcompat-v7:23.0.1'
161 147
     compile 'com.facebook.react:react-native:+'
162
-    compile('com.crashlytics.sdk.android:crashlytics:2.6.5@aar') {
163
-        transitive = true
164
-    }
165 148
 }
166 149
 
167 150
 apply from: '../../node_modules/react-native-vector-icons/fonts.gradle'

+ 0
- 3
android/app/src/main/AndroidManifest.xml 파일 보기

@@ -43,8 +43,5 @@
43 43
       </activity>
44 44
       <activity
45 45
         android:name="com.facebook.react.devsupport.DevSettingsActivity" />
46
-      <meta-data
47
-        android:name="io.fabric.ApiKey"
48
-        android:value="a8ae24a58302ba79da1d312138e941f6b86e3242" />
49 46
     </application>
50 47
 </manifest>

+ 1
- 4
android/app/src/main/java/org/jitsi/meet/MainApplication.java 파일 보기

@@ -2,13 +2,10 @@ package org.jitsi.meet;
2 2
 
3 3
 import android.app.Application;
4 4
 
5
-import com.crashlytics.android.Crashlytics;
6 5
 import com.facebook.react.ReactApplication;
7 6
 import com.facebook.react.ReactNativeHost;
8 7
 import com.facebook.react.ReactPackage;
9 8
 
10
-import io.fabric.sdk.android.Fabric;
11
-
12 9
 import java.util.Arrays;
13 10
 import java.util.List;
14 11
 
@@ -55,7 +52,7 @@ public class MainApplication extends Application implements ReactApplication {
55 52
                 .getReactInstanceManager()
56 53
                     .getDevSupportManager()
57 54
                         .getDevSupportEnabled()) {
58
-            Fabric.with(this, new Crashlytics());
55
+            // TODO Auto-generated method stub
59 56
         }
60 57
     }
61 58
 }

+ 0
- 12
ios/Podfile 파일 보기

@@ -1,12 +0,0 @@
1
-# Uncomment the next line to define a global platform for your project
2
-# platform :ios, '9.0'
3
-
4
-target 'jitsi-meet-react' do
5
-  # Uncomment the next line if you're using Swift or would like to use dynamic frameworks
6
-  # use_frameworks!
7
-
8
-  # Pods for jitsi-meet-react
9
-  pod 'Crashlytics'
10
-  pod 'Fabric'
11
-
12
-end

+ 0
- 16
ios/Podfile.lock 파일 보기

@@ -1,16 +0,0 @@
1
-PODS:
2
-  - Crashlytics (3.8.3):
3
-    - Fabric (~> 1.6.3)
4
-  - Fabric (1.6.11)
5
-
6
-DEPENDENCIES:
7
-  - Crashlytics
8
-  - Fabric
9
-
10
-SPEC CHECKSUMS:
11
-  Crashlytics: 2b6dbe138a42395577cfa73dfa1aa7248cadf39e
12
-  Fabric: 5911403591946b8228ab1c51d98f1d7137e863c6
13
-
14
-PODFILE CHECKSUM: 672d557f679f28c07b3364884b4580e605000f01
15
-
16
-COCOAPODS: 1.1.1

+ 0
- 4
ios/app/AppDelegate.m 파일 보기

@@ -8,8 +8,6 @@
8 8
  */
9 9
 
10 10
 #import "AppDelegate.h"
11
-#import <Crashlytics/Crashlytics.h>
12
-#import <Fabric/Fabric.h>
13 11
 #import "RCTAssert.h"
14 12
 #import "RCTBundleURLProvider.h"
15 13
 #import "RCTLinkingManager.h"
@@ -55,8 +53,6 @@ continueUserActivity:(NSUserActivity *)userActivity
55 53
 didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
56 54
 {
57 55
 #if !DEBUG
58
-  [Fabric with:@[[Crashlytics class]]];
59
-
60 56
   // In the Release configuration, React Native will (intentionally) raise an
61 57
   // unhandled NSException for an unhandled JavaScript error. This will
62 58
   // effectively kill the application. In accord with the Web, do not kill the

+ 0
- 14
ios/app/Info.plist 파일 보기

@@ -22,20 +22,6 @@
22 22
 	<string>????</string>
23 23
 	<key>CFBundleVersion</key>
24 24
 	<string>1</string>
25
-	<key>Fabric</key>
26
-	<dict>
27
-		<key>APIKey</key>
28
-		<string>a8ae24a58302ba79da1d312138e941f6b86e3242</string>
29
-		<key>Kits</key>
30
-		<array>
31
-			<dict>
32
-				<key>KitInfo</key>
33
-				<dict/>
34
-				<key>KitName</key>
35
-				<string>Crashlytics</string>
36
-			</dict>
37
-		</array>
38
-	</dict>
39 25
 	<key>ITSAppUsesNonExemptEncryption</key>
40 26
 	<false/>
41 27
 	<key>LSRequiresIPhoneOS</key>

+ 0
- 14
ios/jitsi-meet-react.xcodeproj/project.pbxproj 파일 보기

@@ -483,7 +483,6 @@
483 483
 				13B07F8E1A680F5B00A75B9A /* Resources */,
484 484
 				00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */,
485 485
 				B30EF2341DC0EEA500690F45 /* Embed Frameworks */,
486
-				B3DBBAC41DC6A3BE001DA4DD /* ShellScript */,
487 486
 				B35383AD1DDA0083008F406A /* ShellScript */,
488 487
 			);
489 488
 			buildRules = (
@@ -771,19 +770,6 @@
771 770
 			shellPath = /bin/sh;
772 771
 			shellScript = "APP_PATH=\"${TARGET_BUILD_DIR}/${WRAPPER_NAME}\"\n\n# This script loops through the frameworks embedded in the application and\n# removes unused architectures.\nfind \"$APP_PATH\" -name '*.framework' -type d | while read -r FRAMEWORK\ndo\nFRAMEWORK_EXECUTABLE_NAME=$(defaults read \"$FRAMEWORK/Info.plist\" CFBundleExecutable)\nFRAMEWORK_EXECUTABLE_PATH=\"$FRAMEWORK/$FRAMEWORK_EXECUTABLE_NAME\"\necho \"Executable is $FRAMEWORK_EXECUTABLE_PATH\"\n\nEXTRACTED_ARCHS=()\n\nfor ARCH in $ARCHS\ndo\necho \"Extracting $ARCH from $FRAMEWORK_EXECUTABLE_NAME\"\nlipo -extract \"$ARCH\" \"$FRAMEWORK_EXECUTABLE_PATH\" -o \"$FRAMEWORK_EXECUTABLE_PATH-$ARCH\"\nEXTRACTED_ARCHS+=(\"$FRAMEWORK_EXECUTABLE_PATH-$ARCH\")\ndone\n\necho \"Merging extracted architectures: ${ARCHS}\"\nlipo -o \"$FRAMEWORK_EXECUTABLE_PATH-merged\" -create \"${EXTRACTED_ARCHS[@]}\"\nrm \"${EXTRACTED_ARCHS[@]}\"\n\necho \"Replacing original executable with thinned version\"\nrm \"$FRAMEWORK_EXECUTABLE_PATH\"\nmv \"$FRAMEWORK_EXECUTABLE_PATH-merged\" \"$FRAMEWORK_EXECUTABLE_PATH\"\n\ndone";
773 772
 		};
774
-		B3DBBAC41DC6A3BE001DA4DD /* ShellScript */ = {
775
-			isa = PBXShellScriptBuildPhase;
776
-			buildActionMask = 2147483647;
777
-			files = (
778
-			);
779
-			inputPaths = (
780
-			);
781
-			outputPaths = (
782
-			);
783
-			runOnlyForDeploymentPostprocessing = 0;
784
-			shellPath = /bin/sh;
785
-			shellScript = "\"${PODS_ROOT}/Fabric/run\" a8ae24a58302ba79da1d312138e941f6b86e3242 256ed316263eb534e26a1ad5dcc42ca9c179af5937dd864c3e44cfefa2e8b54c";
786
-		};
787 773
 /* End PBXShellScriptBuildPhase section */
788 774
 
789 775
 /* Begin PBXSourcesBuildPhase section */

+ 0
- 3
ios/jitsi-meet-react.xcworkspace/contents.xcworkspacedata 파일 보기

@@ -4,7 +4,4 @@
4 4
    <FileRef
5 5
       location = "group:jitsi-meet-react.xcodeproj">
6 6
    </FileRef>
7
-   <FileRef
8
-      location = "group:Pods/Pods.xcodeproj">
9
-   </FileRef>
10 7
 </Workspace>

Loading…
취소
저장