Skip to content

Instantly share code, notes, and snippets.

@sospedra
Last active October 16, 2020 10:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sospedra/858f3072976ad71aa32a9910a2b71478 to your computer and use it in GitHub Desktop.
Save sospedra/858f3072976ad71aa32a9910a2b71478 to your computer and use it in GitHub Desktop.
remove-embrace.diff
diff --git a/ios/Podfile b/ios/Podfile
index 4a69b5702..d83e4796d 100644
--- a/ios/Podfile
+++ b/ios/Podfile
@@ -80,8 +80,6 @@ target 'cameo' do
use_unimodules!
use_native_modules!
- pod 'EmbraceIO'
-
# Enables Flipper.
#
# Note that if you have use_frameworks! enabled, Flipper will not work and
diff --git a/ios/cameo/AppDelegate.m b/ios/cameo/AppDelegate.m
index 9a78fc3b9..eec8f4f94 100644
--- a/ios/cameo/AppDelegate.m
+++ b/ios/cameo/AppDelegate.m
@@ -6,7 +6,6 @@
#import <React/RCTBundleURLProvider.h>
#import <React/RCTRootView.h>
-#import <Embrace/Embrace.h>
#import <RNBranch/RNBranch.h>
#import <UMCore/UMModuleRegistry.h>
#import <UMCore/UMAppDelegateWrapper.h>
@@ -61,13 +60,6 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
[controller startAndShowLaunchScreen:self.window];
#endif
- // Initialize Embrace
- #if DEBUG || BETA
- [[Embrace sharedInstance] startWithKey:@"QiKDn" launchOptions:launchOptions framework:EMBAppFrameworkReactNative];
- #else
- [[Embrace sharedInstance] startWithKey:@"hYYVq" launchOptions:launchOptions framework:EMBAppFrameworkReactNative];
- #endif
-
// Initialize Branch
#if DEBUG || BETA
[RNBranch useTestInstance];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment