Skip to content

Commit

Permalink
Merge pull request #693 from Hylozoic/Additional-fb-removal-fixes
Browse files Browse the repository at this point in the history
Additional fb removal fixes
  • Loading branch information
thomasgwatson authored Nov 30, 2023
2 parents 23aa3a9 + 72ff6d0 commit 4a920f7
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions ios/HyloReactNative/AppDelegate.mm
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

// Added libraries
#import "RNBootSplash.h"
#import <FBSDKCoreKit/FBSDKCoreKit.h>
#import <RNGoogleSignin/RNGoogleSignin.h>
#import <IntercomModule.h>

Expand All @@ -18,11 +17,6 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
// They will be passed down to the ViewController used by React Native.
self.initialProps = @{};

// Facebook SDK
[[FBSDKApplicationDelegate sharedInstance]
application:application
didFinishLaunchingWithOptions:launchOptions
];
// Intercom
[IntercomModule
initialize:@"ios_sdk-b11cb526589263a9890b895d40b934bffa876c43"
Expand All @@ -37,11 +31,6 @@ - (BOOL)application:(UIApplication *)application
openURL:(NSURL *)url
options:(NSDictionary<UIApplicationOpenURLOptionsKey,id> *)options
{
BOOL handledFB = [[FBSDKApplicationDelegate sharedInstance]
application:application
openURL:url
options:options
];
BOOL handledGG = [RNGoogleSignin
application:application
openURL:url
Expand All @@ -53,7 +42,7 @@ - (BOOL)application:(UIApplication *)application
options:options
];

return handledFB || handledGG || handledRCT;
return handledGG || handledRCT;
}

// Hylo url/linking and app open/continuation related
Expand Down

0 comments on commit 4a920f7

Please sign in to comment.