Skip to main content
Answered

React Native Expo setup - AppDelegate

  • 24 January 2025
  • 1 reply
  • 23 views

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?

Best answer by Nazar Zabirko

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

View original
Did this topic help you find an answer to your question?

1 reply

  • New Participant
  • 2 replies
  • Answer
  • January 30, 2025

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings