[RN] Remove Crashlytics
This commit is contained in:
parent
b8a6eb4768
commit
d1f6679f2d
|
@ -1,15 +1,4 @@
|
||||||
buildscript {
|
|
||||||
repositories {
|
|
||||||
maven { url 'https://maven.fabric.io/public' }
|
|
||||||
}
|
|
||||||
|
|
||||||
dependencies {
|
|
||||||
classpath 'io.fabric.tools:gradle:1.+'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
apply plugin: 'com.android.application'
|
apply plugin: 'com.android.application'
|
||||||
apply plugin: 'io.fabric'
|
|
||||||
|
|
||||||
import com.android.build.OutputFile
|
import com.android.build.OutputFile
|
||||||
|
|
||||||
|
@ -149,9 +138,6 @@ if (project.hasProperty('JITSI_SIGNING')
|
||||||
apply from: project.property('JITSI_SIGNING');
|
apply from: project.property('JITSI_SIGNING');
|
||||||
}
|
}
|
||||||
|
|
||||||
repositories {
|
|
||||||
maven { url 'https://maven.fabric.io/public' }
|
|
||||||
}
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile project(':react-native-keep-awake')
|
compile project(':react-native-keep-awake')
|
||||||
compile project(':react-native-vector-icons')
|
compile project(':react-native-vector-icons')
|
||||||
|
@ -159,9 +145,6 @@ dependencies {
|
||||||
compile fileTree(dir: 'libs', include: ['*.jar'])
|
compile fileTree(dir: 'libs', include: ['*.jar'])
|
||||||
compile 'com.android.support:appcompat-v7:23.0.1'
|
compile 'com.android.support:appcompat-v7:23.0.1'
|
||||||
compile 'com.facebook.react:react-native:+'
|
compile 'com.facebook.react:react-native:+'
|
||||||
compile('com.crashlytics.sdk.android:crashlytics:2.6.5@aar') {
|
|
||||||
transitive = true
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
apply from: '../../node_modules/react-native-vector-icons/fonts.gradle'
|
apply from: '../../node_modules/react-native-vector-icons/fonts.gradle'
|
||||||
|
|
|
@ -43,8 +43,5 @@
|
||||||
</activity>
|
</activity>
|
||||||
<activity
|
<activity
|
||||||
android:name="com.facebook.react.devsupport.DevSettingsActivity" />
|
android:name="com.facebook.react.devsupport.DevSettingsActivity" />
|
||||||
<meta-data
|
|
||||||
android:name="io.fabric.ApiKey"
|
|
||||||
android:value="a8ae24a58302ba79da1d312138e941f6b86e3242" />
|
|
||||||
</application>
|
</application>
|
||||||
</manifest>
|
</manifest>
|
||||||
|
|
|
@ -2,13 +2,10 @@ package org.jitsi.meet;
|
||||||
|
|
||||||
import android.app.Application;
|
import android.app.Application;
|
||||||
|
|
||||||
import com.crashlytics.android.Crashlytics;
|
|
||||||
import com.facebook.react.ReactApplication;
|
import com.facebook.react.ReactApplication;
|
||||||
import com.facebook.react.ReactNativeHost;
|
import com.facebook.react.ReactNativeHost;
|
||||||
import com.facebook.react.ReactPackage;
|
import com.facebook.react.ReactPackage;
|
||||||
|
|
||||||
import io.fabric.sdk.android.Fabric;
|
|
||||||
|
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
|
@ -55,7 +52,7 @@ public class MainApplication extends Application implements ReactApplication {
|
||||||
.getReactInstanceManager()
|
.getReactInstanceManager()
|
||||||
.getDevSupportManager()
|
.getDevSupportManager()
|
||||||
.getDevSupportEnabled()) {
|
.getDevSupportEnabled()) {
|
||||||
Fabric.with(this, new Crashlytics());
|
// TODO Auto-generated method stub
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
12
ios/Podfile
12
ios/Podfile
|
@ -1,12 +0,0 @@
|
||||||
# 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
|
|
|
@ -1,16 +0,0 @@
|
||||||
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
|
|
|
@ -8,8 +8,6 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#import "AppDelegate.h"
|
#import "AppDelegate.h"
|
||||||
#import <Crashlytics/Crashlytics.h>
|
|
||||||
#import <Fabric/Fabric.h>
|
|
||||||
#import "RCTAssert.h"
|
#import "RCTAssert.h"
|
||||||
#import "RCTBundleURLProvider.h"
|
#import "RCTBundleURLProvider.h"
|
||||||
#import "RCTLinkingManager.h"
|
#import "RCTLinkingManager.h"
|
||||||
|
@ -55,8 +53,6 @@ continueUserActivity:(NSUserActivity *)userActivity
|
||||||
didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
|
didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
|
||||||
{
|
{
|
||||||
#if !DEBUG
|
#if !DEBUG
|
||||||
[Fabric with:@[[Crashlytics class]]];
|
|
||||||
|
|
||||||
// In the Release configuration, React Native will (intentionally) raise an
|
// In the Release configuration, React Native will (intentionally) raise an
|
||||||
// unhandled NSException for an unhandled JavaScript error. This will
|
// unhandled NSException for an unhandled JavaScript error. This will
|
||||||
// effectively kill the application. In accord with the Web, do not kill the
|
// effectively kill the application. In accord with the Web, do not kill the
|
||||||
|
|
|
@ -22,20 +22,6 @@
|
||||||
<string>????</string>
|
<string>????</string>
|
||||||
<key>CFBundleVersion</key>
|
<key>CFBundleVersion</key>
|
||||||
<string>1</string>
|
<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>ITSAppUsesNonExemptEncryption</key>
|
<key>ITSAppUsesNonExemptEncryption</key>
|
||||||
<false/>
|
<false/>
|
||||||
<key>LSRequiresIPhoneOS</key>
|
<key>LSRequiresIPhoneOS</key>
|
||||||
|
|
|
@ -483,7 +483,6 @@
|
||||||
13B07F8E1A680F5B00A75B9A /* Resources */,
|
13B07F8E1A680F5B00A75B9A /* Resources */,
|
||||||
00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */,
|
00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */,
|
||||||
B30EF2341DC0EEA500690F45 /* Embed Frameworks */,
|
B30EF2341DC0EEA500690F45 /* Embed Frameworks */,
|
||||||
B3DBBAC41DC6A3BE001DA4DD /* ShellScript */,
|
|
||||||
B35383AD1DDA0083008F406A /* ShellScript */,
|
B35383AD1DDA0083008F406A /* ShellScript */,
|
||||||
);
|
);
|
||||||
buildRules = (
|
buildRules = (
|
||||||
|
@ -771,19 +770,6 @@
|
||||||
shellPath = /bin/sh;
|
shellPath = /bin/sh;
|
||||||
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";
|
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";
|
||||||
};
|
};
|
||||||
B3DBBAC41DC6A3BE001DA4DD /* ShellScript */ = {
|
|
||||||
isa = PBXShellScriptBuildPhase;
|
|
||||||
buildActionMask = 2147483647;
|
|
||||||
files = (
|
|
||||||
);
|
|
||||||
inputPaths = (
|
|
||||||
);
|
|
||||||
outputPaths = (
|
|
||||||
);
|
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
|
||||||
shellPath = /bin/sh;
|
|
||||||
shellScript = "\"${PODS_ROOT}/Fabric/run\" a8ae24a58302ba79da1d312138e941f6b86e3242 256ed316263eb534e26a1ad5dcc42ca9c179af5937dd864c3e44cfefa2e8b54c";
|
|
||||||
};
|
|
||||||
/* End PBXShellScriptBuildPhase section */
|
/* End PBXShellScriptBuildPhase section */
|
||||||
|
|
||||||
/* Begin PBXSourcesBuildPhase section */
|
/* Begin PBXSourcesBuildPhase section */
|
||||||
|
|
|
@ -4,7 +4,4 @@
|
||||||
<FileRef
|
<FileRef
|
||||||
location = "group:jitsi-meet-react.xcodeproj">
|
location = "group:jitsi-meet-react.xcodeproj">
|
||||||
</FileRef>
|
</FileRef>
|
||||||
<FileRef
|
|
||||||
location = "group:Pods/Pods.xcodeproj">
|
|
||||||
</FileRef>
|
|
||||||
</Workspace>
|
</Workspace>
|
||||||
|
|
Loading…
Reference in New Issue