Skip to content

Conversation

@jasonpraful
Copy link
Member

@jasonpraful jasonpraful commented Oct 10, 2025

Changes

  • Adds support for manually initialising Intercom SDK.
  • Updates expo example to use manual initialization

Example

import { Platform } from 'react-native';
import Intercom from '@intercom/intercom-react-native';

const apiKey = Platform.select({
  ios: 'ios_sdk-YOUR_IOS_KEY',
  android: 'android_sdk-YOUR_ANDROID_KEY',
});

await Intercom.initialize(apiKey, 'YOUR_APP_ID');

For Expo Consumers:

{
  "expo": {
    "plugins": [
      ["@intercom/intercom-react-native", {
        "useManualInit": true
      }]
    ]
  }
}

This PR builds upon the foundation in PR #305.

IAmConorNolan
IAmConorNolan previously approved these changes Oct 10, 2025
lnaia
lnaia previously approved these changes Oct 10, 2025
Copy link

@lnaia lnaia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just nit, LGTM

@jasonpraful jasonpraful dismissed stale reviews from lnaia and IAmConorNolan via eb6d87e October 10, 2025 11:11
@jasonpraful jasonpraful self-assigned this Oct 10, 2025
@jasonpraful jasonpraful merged commit 56b8b16 into main Oct 10, 2025
8 checks passed
@jasonpraful jasonpraful deleted the jason/add-init branch October 10, 2025 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants