Skip to main content

Has anyone set up intercom in a react-native app built with expo without having to eject? 

In the instillation guide, there is a section that says you must edit your AppDelegate:

@import UIKit;
#import <IntercomModule.h>

@implementation AppDelegate

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
IntercomModule initialize:@"ios_sdk-500cd3ead0b8b44660787a98816eddbf36a36945" withAppId:@"j1flec5a"];
return YES;
}

 

If I do not want to eject from the app, can I still use the react-native-expo plugin on IOS?

just skip bare RN install guide and use expo, for updated docs I recommend to use github, because official docs are out of date, here is the link https://github.com/intercom/intercom-react-native?tab=readme-ov-file#expo


Reply