Browse Source

[iOS] Crashlytics

j8
Lyubomir Marinov 8 years ago
parent
commit
20e7c6d873

+ 12
- 0
ios/Podfile View File

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

+ 16
- 0
ios/Podfile.lock View File

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

+ 4
- 1
ios/app/AppDelegate.m View File

8
  */
8
  */
9
 
9
 
10
 #import "AppDelegate.h"
10
 #import "AppDelegate.h"
11
-
11
+#import <Crashlytics/Crashlytics.h>
12
+#import <Fabric/Fabric.h>
12
 #import "RCTBundleURLProvider.h"
13
 #import "RCTBundleURLProvider.h"
13
 #import "RCTLinkingManager.h"
14
 #import "RCTLinkingManager.h"
14
 #import "RCTRootView.h"
15
 #import "RCTRootView.h"
28
 - (BOOL)application:(UIApplication *)application
29
 - (BOOL)application:(UIApplication *)application
29
 didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
30
 didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
30
 {
31
 {
32
+  [Fabric with:@[[Crashlytics class]]];
33
+
31
   NSURL *jsCodeLocation
34
   NSURL *jsCodeLocation
32
     = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index.ios"
35
     = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index.ios"
33
                                                      fallbackResource:nil];
36
                                                      fallbackResource:nil];

+ 14
- 0
ios/app/Info.plist View File

22
 	<string>????</string>
22
 	<string>????</string>
23
 	<key>CFBundleVersion</key>
23
 	<key>CFBundleVersion</key>
24
 	<string>1</string>
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>
25
 	<key>LSRequiresIPhoneOS</key>
39
 	<key>LSRequiresIPhoneOS</key>
26
 	<true/>
40
 	<true/>
27
 	<key>NSAppTransportSecurity</key>
41
 	<key>NSAppTransportSecurity</key>

+ 14
- 0
ios/jitsi-meet-react.xcodeproj/project.pbxproj View File

458
 				13B07F8E1A680F5B00A75B9A /* Resources */,
458
 				13B07F8E1A680F5B00A75B9A /* Resources */,
459
 				00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */,
459
 				00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */,
460
 				B30EF2341DC0EEA500690F45 /* Embed Frameworks */,
460
 				B30EF2341DC0EEA500690F45 /* Embed Frameworks */,
461
+				B3DBBAC41DC6A3BE001DA4DD /* ShellScript */,
461
 			);
462
 			);
462
 			buildRules = (
463
 			buildRules = (
463
 			);
464
 			);
720
 			shellPath = /bin/sh;
721
 			shellPath = /bin/sh;
721
 			shellScript = "export NODE_BINARY=node\n../node_modules/react-native/packager/react-native-xcode.sh";
722
 			shellScript = "export NODE_BINARY=node\n../node_modules/react-native/packager/react-native-xcode.sh";
722
 		};
723
 		};
724
+		B3DBBAC41DC6A3BE001DA4DD /* ShellScript */ = {
725
+			isa = PBXShellScriptBuildPhase;
726
+			buildActionMask = 2147483647;
727
+			files = (
728
+			);
729
+			inputPaths = (
730
+			);
731
+			outputPaths = (
732
+			);
733
+			runOnlyForDeploymentPostprocessing = 0;
734
+			shellPath = /bin/sh;
735
+			shellScript = "\"${PODS_ROOT}/Fabric/run\" a8ae24a58302ba79da1d312138e941f6b86e3242 256ed316263eb534e26a1ad5dcc42ca9c179af5937dd864c3e44cfefa2e8b54c";
736
+		};
723
 /* End PBXShellScriptBuildPhase section */
737
 /* End PBXShellScriptBuildPhase section */
724
 
738
 
725
 /* Begin PBXSourcesBuildPhase section */
739
 /* Begin PBXSourcesBuildPhase section */

+ 10
- 0
ios/jitsi-meet-react.xcworkspace/contents.xcworkspacedata View File

1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<Workspace
3
+   version = "1.0">
4
+   <FileRef
5
+      location = "group:jitsi-meet-react.xcodeproj">
6
+   </FileRef>
7
+   <FileRef
8
+      location = "group:Pods/Pods.xcodeproj">
9
+   </FileRef>
10
+</Workspace>

Loading…
Cancel
Save