Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

[iOS] Crashlytics

Lyubomir Marinov20e7c6d8735e
diff --git a/ios/Podfile b/ios/Podfile
new file mode 100644
index 0000000000..29ee98f1e6
--- /dev/null
+++ b/ios/Podfile
@@ -0,0 +1,12 @@
+# Uncomment the next line to define a global platform for your project
+# platform :ios, '9.0'
+
+target 'jitsi-meet-react' do
+ # Uncomment the next line if you're using Swift or would like to use dynamic frameworks
+ # use_frameworks!
+
+ # Pods for jitsi-meet-react
+ pod 'Crashlytics'
+ pod 'Fabric'
+
+end
diff --git a/ios/Podfile.lock b/ios/Podfile.lock
new file mode 100644
index 0000000000..6e3f58de3b
--- /dev/null
+++ b/ios/Podfile.lock
@@ -0,0 +1,16 @@
+PODS:
+ - Crashlytics (3.8.3):
+ - Fabric (~> 1.6.3)
+ - Fabric (1.6.11)
+
+DEPENDENCIES:
+ - Crashlytics
+ - Fabric
+
+SPEC CHECKSUMS:
+ Crashlytics: 2b6dbe138a42395577cfa73dfa1aa7248cadf39e
+ Fabric: 5911403591946b8228ab1c51d98f1d7137e863c6
+
+PODFILE CHECKSUM: 672d557f679f28c07b3364884b4580e605000f01
+
+COCOAPODS: 1.1.1
diff --git a/ios/app/AppDelegate.m b/ios/app/AppDelegate.m
index 66ba68dee1..1632d759b9 100644
--- a/ios/app/AppDelegate.m
+++ b/ios/app/AppDelegate.m
@@ -8,7 +8,8 @@
*/
#import "AppDelegate.h"
-
+#import <Crashlytics/Crashlytics.h>
+#import <Fabric/Fabric.h>
#import "RCTBundleURLProvider.h"
#import "RCTLinkingManager.h"
#import "RCTRootView.h"
@@ -28,6 +29,8 @@ continueUserActivity:(NSUserActivity *)userActivity
- (BOOL)application:(UIApplication *)application
didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
+ [Fabric with:@[[Crashlytics class]]];
+
NSURL *jsCodeLocation
= [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index.ios"
fallbackResource:nil];
diff --git a/ios/app/Info.plist b/ios/app/Info.plist
index ae2a3132a4..376516cbde 100644
--- a/ios/app/Info.plist
+++ b/ios/app/Info.plist
@@ -22,6 +22,20 @@
<string>????</string>
<key>CFBundleVersion</key>
<string>1</string>
+ <key>Fabric</key>
+ <dict>
+ <key>APIKey</key>
+ <string>a8ae24a58302ba79da1d312138e941f6b86e3242</string>
+ <key>Kits</key>
+ <array>
+ <dict>
+ <key>KitInfo</key>
+ <dict/>
+ <key>KitName</key>
+ <string>Crashlytics</string>
+ </dict>
+ </array>
+ </dict>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NSAppTransportSecurity</key>
diff --git a/ios/jitsi-meet-react.xcodeproj/project.pbxproj b/ios/jitsi-meet-react.xcodeproj/project.pbxproj
index c8f67ee942..caa30851a6 100644
--- a/ios/jitsi-meet-react.xcodeproj/project.pbxproj
+++ b/ios/jitsi-meet-react.xcodeproj/project.pbxproj
@@ -458,6 +458,7 @@
13B07F8E1A680F5B00A75B9A /* Resources */,
00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */,
B30EF2341DC0EEA500690F45 /* Embed Frameworks */,
+ B3DBBAC41DC6A3BE001DA4DD /* ShellScript */,
);
buildRules = (
);
@@ -720,6 +721,19 @@
shellPath = /bin/sh;
shellScript = "export NODE_BINARY=node\n../node_modules/react-native/packager/react-native-xcode.sh";
};
+ B3DBBAC41DC6A3BE001DA4DD /* ShellScript */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputPaths = (
+ );
+ outputPaths = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/sh;
+ shellScript = "\"${PODS_ROOT}/Fabric/run\" a8ae24a58302ba79da1d312138e941f6b86e3242 256ed316263eb534e26a1ad5dcc42ca9c179af5937dd864c3e44cfefa2e8b54c";
+ };
/* End PBXShellScriptBuildPhase section */
/* Begin PBXSourcesBuildPhase section */
diff --git a/ios/jitsi-meet-react.xcworkspace/contents.xcworkspacedata b/ios/jitsi-meet-react.xcworkspace/contents.xcworkspacedata
new file mode 100644
index 0000000000..c506067b02
--- /dev/null
+++ b/ios/jitsi-meet-react.xcworkspace/contents.xcworkspacedata
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Workspace
+ version = "1.0">
+ <FileRef
+ location = "group:jitsi-meet-react.xcodeproj">
+ </FileRef>
+ <FileRef
+ location = "group:Pods/Pods.xcodeproj">
+ </FileRef>
+</Workspace>