Skip to content
reception

Search documentation

Loading documentation…

    Log in
    Browse documentation

    App integration

    React Native and Expo support chat SDK

    Add Reception’s native support chat to a React Native or Expo app on iOS and Android. The official Swift and Android SDKs handle the chat, photos, replies, and storage; your JavaScript connects it to your app.

    View Markdown

    Requires Expo SDK 54+ (verified 54–57; Android also on Expo 58), with its default React Native (0.81+) and React versions, iOS 17+ with Xcode 26, Android 7.0 (API 24)+ (devices on Android 7.0 itself need one addition), and Expo Modules. Expo Go cannot load Reception; use a development build. Android support arrives with react-native-reception 1.6.0, which uses the Android SDK 1.0.0; with 1.5.0 and earlier, Android calls do nothing.

    1. Install

    Terminal
    npx expo install react-native-reception

    Add the plugin to your existing app config, preserving other plugins:

    app.json
    {
      "expo": {
        "plugins": ["react-native-reception"]
      }
    }

    For generated native projects, apply plugins even when ios/ already exists, then build:

    Terminal
    npx expo prebuild --platform ios
    npx expo run:ios

    Android

    With react-native-reception 1.6.0, the module brings the Reception Android SDK (sh.reception:reception from Maven Central); Gradle fetches it, and npx expo prebuild --platform android works without Gradle or manifest edits. Then build with npx expo run:android. In a project without ios/ and android/ folders, app.json names the platforms: prebuild and build only those this machine builds. Expo SDK 54 and later already use minSdkVersion 24; if expo-build-properties sets android.minSdkVersion lower, report it before raising it to 24. Do not also add or configure the Android SDK from Kotlin, except for the React Native Firebase service described under Push on Android.

    2. Configure

    Configure once in your existing async startup function, before identity or chat; with Expo Router, start it in the root _layout’s first effect and keep the splash screen until it settles. Keep Support disabled until it completes and handle failures with your app’s error UI. Copy your public App ID from Settings → your app → General:

    typescript
    import { Reception } from 'react-native-reception';
    
    // Reception support chat. Docs for changes: https://reception.sh/llms.txt
    await Reception.configure({ appId: 'app_YOUR_APP_ID' });

    Methods return promises to run native work on the main thread. Await configuration before reading Reception.isConfigured; this checks accepted configuration, not connectivity. Registration begins at launch with React Native 1.4 (iOS SDK 1.6); older versions registered with the first valid message send.

    3. Open chat

    Copy your app’s existing button style and call Reception.openChat() on press:

    tsx
    import { Button } from 'react-native';
    import { Reception } from 'react-native-reception';
    
    // Inside your screen; use your own button component and styling.
    <Button title="Support" onPress={() => void Reception.openChat()} />;

    await Reception.closeChat() dismisses the sheet. Your app owns the Support entry and its unread badge.

    Appearance and language

    Read accentColor, onAccentColor, chatBackground, incomingBackground, incomingForeground and fontFamily from matching values in the app’s existing theme. Leave unmatched options unset; never invent colors. Pass both light and dark theme colors so the native chat follows the app’s color scheme. Assign a complete local appearance object. Omitted fields restore Swift defaults; invalid fields log and retain their previous value. A font loaded at runtime (useFonts, Font.loadAsync) is unknown to the native chat until it has loaded: assign the appearance again once it has, or embed the font with the expo-font config plugin:

    typescript
    // theme is your app’s existing theme; use only fields it actually provides.
    Reception.appearance = {
      accentColor: { light: theme.light.accent, dark: theme.dark.accent },
      onAccentColor: { light: theme.light.onAccent, dark: theme.dark.onAccent },
    };
    // Only if your app has its own language picker:
    Reception.languageOverride = selectedLanguage;

    Each color accepts #RRGGBB, #RRGGBBAA, or { light, dark } with both values in either hex format. This applies to all six colors, including welcomeIconColor. Pairs follow the native color scheme without JavaScript updates. Enable automatic appearance in your app config if your app follows the system. The 23 options correspond to the Swift appearance options: colors, title and welcome copy, close button, light/dark mode, font design/family, older-message fading, welcome icon size/position/rounding, and text visibility. Reassign when the app’s own theme selection changes; mutating a nested property does not update native styling.

    Use closeIcon: 'xmark', 'chevron.down', or 'arrow.down'; fontDesign accepts default, rounded, serif, or monospaced. preferredColorScheme accepts light, dark, or null. welcomeIcon accepts { symbol: 'star' }, { image: 'Welcome' }, { hidden: true }, or null. closeImage and welcome images use names from the host iOS asset catalog. fontFamily is a registered iOS font name.

    On Android, color pairs follow the system’s dark mode too, and without accentColor the chat sheet uses the device’s dynamic color on Android 12 and later and blue below. closeImage and { image: 'support_logo' } name drawable resources of the Android app, such as android/app/src/main/res/drawable/support_logo.png, without the extension; projects that regenerate android/ with prebuild --clean need a config plugin that copies them there. fontFamily names a font React Native knows, from assets/fonts or expo-font. { symbol } takes the SF Symbols name the dashboard uses, which Android draws as the matching Material Symbols icon. See Appearance on Android for the other differences.

    Published dashboard appearance overrides local options by default. Set Reception.usesRemoteAppearance = false for local-only styling. Set languageOverride = null to follow the app’s selected iOS localization, or on Android the app’s per-app or phone language; on Android 13 and later, declare your app’s languages, so an English-only app keeps an English chat: in an Expo project with expo-localization’s supportedLocales option (["expo-localization", { "supportedLocales": ["en"] }] under plugins; prebuild then writes android:localeConfig), otherwise as Language on Android describes. Existing messages and your supplied text are not translated.

    Setting getters reflect valid assignments immediately, then reconcile with native validation. Live state updates asynchronously from native snapshots, including after a JavaScript reload. Assign settings during startup; await methods when subsequent work depends on completion.

    Entry and unread badges

    Copy the app’s existing button or settings-row component and styling; localize the label through its existing translation system. In that component, call Reception.openChat() on press and use the unread hook for a live count. For example, if the app already has a SettingsRow with title, onPress and badge props:

    tsx
    import { Reception, useReceptionUnreadCount } from 'react-native-reception';
    import { SettingsRow } from './SettingsRow'; // Your existing component.
    
    export function SupportRow() {
      const unread = useReceptionUnreadCount();
      return (
        <SettingsRow
          title="Support"
          onPress={() => void Reception.openChat()}
          badge={unread > 0 ? unread : undefined}
        />
      );
    }

    Adapt props and the translated title to your component. Put the same live badge on every entry and intermediate menu row; badge only the tab with the main entry using your navigator’s badge option. Follow the setup prompt’s badge placement and style rules. React Native has no built-in badge view: build the small count pill from your own components and colors: on iOS a red capsule with a white count is the system look; on Android, Material 3’s badge is a 16 dp pill with an 11 sp count in the theme’s error color with its on-error text color. With Expo Router’s native tabs, render the tab badge only while the count is above zero; a hidden or empty one still shows on Android.

    Place hooks inside your own React component. Hide badges at zero:

    typescript
    import {
      useReceptionUnreadCount,
      useReceptionChatOpen,
    } from 'react-native-reception';
    
    const unread = useReceptionUnreadCount();
    const chatOpen = useReceptionChatOpen();

    Outside React, read Reception.unreadCount and Reception.isChatOpen, or subscribe with addUnreadCountListener and addChatOpenListener. Each returns a subscription with remove(); remove it when its owner unmounts. Visibility reports actual chat appearance, not just an open request.

    Reception.updatesAppBadge defaults to true. Assign false if your app owns the icon badge and notification cleanup. In-app unread counts still work. On Android, launchers take the count from Reception’s notifications; see Launcher badges on Android.

    Accounts and user details

    After configuration, identify the current account and supply the complete metadata dictionary:

    typescript
    await Reception.identify({
      userId: 'user_123',
      name: 'Alex',
      email: '[email protected]',
    });
    await Reception.setMetadata({ plan: 'Pro', provider: 'RevenueCat' });

    These values are staged for the next device update. Metadata values must be strings, at most 20 fields. Each call replaces the whole dictionary; keep one owner and update it whenever chosen fields change. Identification labels this device; it does not authenticate your app’s account or restore another device’s history. Pass null for an unavailable user ID. See Users & accounts for field limits and behavior.

    For verified identity, fetch a signed token from your own server, then call await Reception.identify({ token }). Never include your identity secret in JavaScript or the app bundle. Fetch a fresh token at signed-in startup. Before supplying an asynchronously fetched token, check that the same account is still signed in; a sign-out or account switch during the request must not attach the old identity. In your existing Reception.onEvent handler, refresh only when event.type === 'identityRejected' and event.error.code === 'identity_token_expired'. Other rejection codes require fixing your server configuration; do not keep retrying them. Preserve other event handling and the logout/deletion hooks. Follow verified users for the server contract; use these JavaScript calls instead of the Swift examples.

    Supply a user ID only for a real signed-in account; skip generated guest or anonymous IDs. With an entered name but no sign-in, call identify({ userId: null, name }) at launch and whenever it changes. Names and emails belong in identify, never metadata.

    Call await Reception.logout() when a real signed-in session ends (sign-out, account switch or an expired restored session), before identifying another user. Never log out a guest at startup or before their first sign-in. Reapply identity, metadata, and the APNs token for the next session; on Android the SDK registers the FCM token again by itself. Logout retains server history.

    For account deletion, call deleteData() before logout and keep the session available on failure:

    typescript
    import { Reception, ReceptionError } from 'react-native-reception';
    
    try {
      await Reception.deleteData();
      // Continue your account-deletion flow.
    } catch (error) {
      if (error instanceof ReceptionError) {
        // Use error.code and error.status for diagnostics; offer retry.
      }
    }

    Deletion concerns this device’s support data, not your app’s account or other devices. Completion can be local when Reception no longer recognizes the session; see deletion limits.

    Push

    The steps up to Push on Android are for iOS; Android uses Firebase Cloud Messaging and needs none of the APNs steps.

    Install expo-notifications with npx expo install expo-notifications, add its config plugin, then run npx expo prebuild --platform ios and rebuild generated native projects. For maintained native projects, apply the capability and entitlement steps in Build and simulator checks. Configure Apple push credentials and the matching bundle identifier in Push notifications. Keep your existing permission flow; this helper never requests permission.

    With react-native-reception 1.5.0 or later, the chat can also ask for permission itself: turn on Ask for push notifications in the dashboard and the card appears after the person's first message, with no code in the app; see Ask for permission in the chat. The card appears only while remote appearance is on (the default); with usesRemoteAppearance = false the chat shows no card. The line "You'll get a notification when we reply." under their latest message hides with appearance.hidesPushStatus.

    After Reception is configured, start the optional helper once in your root component and return its cleanup:

    typescript
    import { startReceptionPush } from 'react-native-reception/expo-notifications';
    
    useEffect(() => startReceptionPush(), []); // Import useEffect from React.

    It registers the raw APNs token when already authorized, checks again on foreground and after logout() or successful deleteData(), forwards token changes, handles foreground receipt and opens chat on taps, including cold starts. On Android it only keeps the FCM token current; it does nothing on web. Remove any older Reception notification listeners to avoid routing twice. Other notification services and their listeners stay in place. The main package import does not load expo-notifications.

    After your existing permission request completes, call the nonprompting refresh, even if the app stayed in the foreground (for example, after granting provisional permission):

    typescript
    import { refreshReceptionPush } from 'react-native-reception/expo-notifications';
    
    await refreshReceptionPush(); // After your app’s permission request; the helper must be started.

    In your existing notification handler, compose the presentation policy with receptionNotificationBehavior. It returns null for other notifications, shows Reception banners/sound while chat is closed, and hides them while chat is open. It only selects presentation; the started helper owns routing. For an app with no existing handler:

    typescript
    import * as Notifications from 'expo-notifications';
    import { receptionNotificationBehavior } from 'react-native-reception/expo-notifications';
    
    Notifications.setNotificationHandler({
      handleNotification: async (notification) =>
        receptionNotificationBehavior(notification) ?? {
          shouldShowBanner: true,
          shouldShowList: true,
          shouldPlaySound: true,
          shouldSetBadge: true, // Replace this fallback with your app's existing policy.
        },
    });

    Reception sends APNs directly. The helper reads the original payload in request.trigger.payload, never an Expo token or FCM registration token. It deduplicates receipt and tap callbacks, including retained responses after a JavaScript reload, and never clears Expo’s shared last-response storage. Your app’s notification router should leave Reception routing to this helper.

    React Native Firebase

    Keep Firebase for your app’s FCM notifications. On iOS, Reception sends raw APNs without gcm.message_id, so Firebase’s onMessage, onNotificationOpenedApp and getInitialNotification do not route Reception notifications. Use the expo-notifications helper above for Reception (including its APNs registration), or forward raw notifications through your existing native notification-center delegate using the native push helpers.

    If you keep APNs-token registration in Firebase with that native delegate, use this after configuration at startup, foreground, after logout/deletion and after the app’s existing permission flow. It never prompts:

    typescript
    import { Platform } from 'react-native';
    import { Reception } from 'react-native-reception';
    import {
      getMessaging,
      getAPNSToken,
      hasPermission,
      AuthorizationStatus,
      registerDeviceForRemoteMessages,
    } from '@react-native-firebase/messaging';
    
    async function registerReceptionFirebaseToken() {
      if (Platform.OS !== 'ios') return;
      const messaging = getMessaging();
      const permission = await hasPermission(messaging);
      if (
        permission !== AuthorizationStatus.AUTHORIZED &&
        permission !== AuthorizationStatus.PROVISIONAL &&
        permission !== AuthorizationStatus.EPHEMERAL
      )
        return;
      await registerDeviceForRemoteMessages(messaging);
      const token = await getAPNSToken(messaging);
      if (token) await Reception.setPushToken(token);
    }

    Firebase’s onTokenRefresh supplies an FCM token: call this function again instead of forwarding that value. Native APNs callbacks can forward Data with Reception.shared.setPushToken. Preserve unrelated routing; the native delegate example hides only Reception banners while chat is open. Do not install both Reception routing paths.

    setPushToken(token, environment) accepts automatic (default), sandbox, or production; leave automatic unless you know the signing environment. Verify actual APNs delivery on a physical iPhone.

    Only if your own JavaScript receives the raw APNs payload, or on Android shows Reception’s FCM messages itself, and you use neither routing path above, forward it yourself:

    typescript
    const handled = await Reception.handlePushNotification(payload, { openChat: true });

    Pass openChat: false for receipt and true (the default) for taps, including cold starts. It returns true for a Reception payload and false for other notifications, which stay with your router. It only routes; suppress Reception banners while Reception.isChatOpen in your presentation policy. On Android it takes the FCM data, { reception: '<conversation ID>', … }, and setPushToken takes the FCM registration token.

    Push on Android

    With react-native-reception 1.6.0, Android push uses Firebase Cloud Messaging (FCM). Upload the Firebase service-account key in the dashboard as Configure Firebase in the dashboard describes, and add the google-services.json of the same Firebase project to the app, with Expo’s android.googleServicesFile in the app config:

    app.json
    {
      "expo": {
        "android": {
          "googleServicesFile": "./google-services.json"
        }
      }
    }

    Then run npx expo prebuild --platform android and rebuild. What receives Reception’s messages depends on the app:

    Your appWhat to do
    Uses expo-notificationsNothing more. The module declares Reception’s subclass of Expo’s messaging service: it hands Reception’s replies to the SDK and everything else to Expo, so your other notifications and the Expo push token keep working, and Reception’s replies never reach Expo’s handlers.
    Neither expo-notifications nor React Native FirebaseThe config plugin declares the SDK’s ReceptionMessagingService. Add Firebase Messaging to the app’s Gradle dependencies: with the small config plugin below in a prebuild project, or with the same two lines in android/app/build.gradle of a project that owns its android/ folder.
    @react-native-firebase/messagingIts own service stays. Subclass it in native code and pass Reception’s messages to the SDK, as shown below.
    plugins/withFirebaseMessaging.js
    const { withAppBuildGradle } = require('expo/config-plugins');
    
    // Adds Firebase Messaging for Reception's notifications. Not needed with expo-notifications or React Native Firebase.
    module.exports = (config) =>
      withAppBuildGradle(config, (config) => {
        if (!config.modResults.contents.includes('firebase-messaging')) {
          config.modResults.contents = config.modResults.contents.replace(
            /dependencies\s*\{/,
            `dependencies {
        implementation platform('com.google.firebase:firebase-bom:33.7.0')
        implementation 'com.google.firebase:firebase-messaging'`,
          );
        }
        return config;
      });

    List it under plugins in the app config ("./plugins/withFirebaseMessaging") and run prebuild again. Expo applies the Google services Gradle plugin itself once android.googleServicesFile is set.

    Projects without prebuild declare the SDK’s service in android/app/src/main/AndroidManifest.xml themselves when neither package is installed:

    AndroidManifest.xml
    <service android:name="sh.reception.ReceptionMessagingService" android:exported="false">
      <intent-filter android:priority="10">
        <action android:name="com.google.firebase.MESSAGING_EVENT" />
      </intent-filter>
    </service>

    With React Native Firebase, subclass its service in your Android app (the package already makes the Reception SDK available to it, with no Gradle edits) and declare yours with a higher priority, using the same <service> entry with your class name:

    AppMessagingService.kt
    import com.google.firebase.messaging.RemoteMessage
    import io.invertase.firebase.messaging.ReactNativeFirebaseMessagingService
    import sh.reception.Reception
    
    class AppMessagingService : ReactNativeFirebaseMessagingService() {
        override fun onMessageReceived(remoteMessage: RemoteMessage) {
            // Reception shows its own replies; everything else goes to React Native Firebase.
            if (Reception.handlePushMessage(this, remoteMessage.data, remoteMessage.messageId)) return
            super.onMessageReceived(remoteMessage)
        }
    
        override fun onNewToken(token: String) {
            super.onNewToken(token)
            Reception.setPushToken(token)
        }
    }

    In every case the SDK reads the FCM token itself while notifications are allowed (at configure and on returning to the foreground), shows Reception’s notification while the chat is closed and none while it is open, and opens the chat on taps, including cold starts; a tap brings back the app as the person left it. In your own React Native Firebase service, Reception.setPushToken(token) registers each new token whenever you call it. startReceptionPush() only keeps the token current on Android. No Reception call asks for permission: on Android 13 and later, POST_NOTIFICATIONS is requested by your app’s own permission request (for example Notifications.requestPermissionsAsync() from expo-notifications) or by the chat card. After your request, call refreshReceptionPush(); it never prompts and registers the token at once instead of at the next foreground. It works only while startReceptionPush() runs, so apps without expo-notifications skip it: the SDK registers the token when the app next returns to the foreground. receptionNotificationBehavior returns null there, because Expo never sees Reception’s replies.

    Notifications appear on the channel “Support replies”; see Push on Android for channels, badges and the message format. Check delivery on an emulator image with Google Play or a phone; Android delivers no message to an app the person force-stopped until they open it again.

    Without further setup, Reception’s notifications show a bell as their small icon. To use your app’s own monochrome notification icon, name its drawable resource (for example ic_notification for android/app/src/main/res/drawable/ic_notification.xml) when you configure:

    typescript
    await Reception.configure({
      appId: 'app_YOUR_APP_ID',
      android: { notificationSmallIcon: 'ic_notification' },
    });

    The name is the file name without its extension: lowercase letters, digits and underscores, at most 64 characters. A name the app does not contain logs a warning and keeps the bell. Projects that regenerate android/ with prebuild --clean need a config plugin that copies the drawable there, as for appearance images. iOS ignores the android options.

    A release build that shrinks resources (enableShrinkResourcesInReleaseBuilds in expo-build-properties, off by default) removes drawables that no Kotlin or XML code references, and only JavaScript names this icon and the appearance images. Keep them with a resource file:

    android/app/src/main/res/raw/keep_reception.xml
    <?xml version="1.0" encoding="utf-8"?>
    <resources xmlns:tools="http://schemas.android.com/tools"
        tools:keep="@drawable/ic_notification" />

    Paywalls

    Use the matching React Native paywall helper for RevenueCat, Superwall, or your own screen (the helpers start on iOS and Android) (Adapty apps use the own-screen helper with Adapty’s React Native SDK; the Adapty file is native iOS only). Start it after Reception and your vendor are configured. Reception opens purchase screens your app already owns. Register their stable IDs, then supply your existing presentation and eligibility functions:

    typescript
    Reception.onPaywall = (id) => showYourPaywall(id);
    Reception.paywalls = [{ id: 'plans', title: 'Plans' }];
    Reception.paywallAvailability = async (id) => canShowYourPaywall(id);

    showYourPaywall and canShowYourPaywall above are functions from your app. Present the purchase screen above chat; Reception keeps chat open. Titles are for your team in the dashboard, not customers.

    On Android the chat sheet is its own activity, so a React Native screen or modal appears under it: call await Reception.closeChat() in onPaywall before showing a paywall that must appear above. React Native also pauses JavaScript timers while the sheet is up, so paywallAvailability must not wait on setTimeout or a timer-based delay; vendor SDK calls and network requests are unaffected. A check that timed out while the chat was open runs again once the chat closes.

    Without an availability callback, all registered paywalls are available. A callback filters Reception.availablePaywalls; observe changes with addAvailablePaywallsListener. Callback failures, timeouts, and a JavaScript reload make pending offers unavailable. Register callbacks again at startup. After subscription changes, call await Reception.refreshPaywalls({ invalidate: true }); the new result arrives asynchronously.

    Assign null to remove a callback. A card needs both an available ID and onPaywall. See Paywall cards for dashboard use. Card taps report opens, not purchases.

    Link cards open websites, other apps, the App Store, Mail and the phone without code (react-native-reception 1.5+; 1.6.0+ on Android). To let them open screens of your app, list the screens once at startup:

    typescript
    Reception.screens = [
      { id: 'settings', open: () => router.push('/settings') },
      { id: 'order', value: 'Order number', open: (number) => router.push(`/orders/${number}`) },
    ];

    open runs after the chat sheet the SDK presented closes; an embedded ReceptionChatView stays visible, so dismiss or navigate away from it yourself. The dashboard offers the IDs under Add a link → Screen in your app and sends a screen link only to app versions that list it. Set the list again at startup after a JavaScript reload.

    Websites open in the app that owns them or in an in-app Safari sheet over the chat; on Android, in the app that claims them or a Custom Tab. Reception.opensWebLinksInApp defaults to true; assign false to open them in Safari or the matching app instead. App Store links, offer codes and mailto:/tel:/sms: always go to iOS; on Android, Google Play and mailto:/tel:/sms: links go to the system.

    Automations

    Report a moment for automations with Reception.track('paywall_declined', { opensChat: true }); it returns a promise and never throws. Store events such as trial_cancelled need no code; the bundled Swift SDK reports them, and on Android the SDK reports subscription_cancelled and subscription_expired when the app uses Google Play Billing (see Subscription states on Android).

    Embedded chat

    After configuration, render the native view in a container with a defined height:

    tsx
    import { ReceptionChatView } from 'react-native-reception';
    
    // Inside your screen's render:
    <ReceptionChatView style={{ flex: 1 }} />;

    Your screen owns dismissal. Do not also call openChat() for this presentation; closeChat() only dismisses the SDK sheet. Unmount the embedded view when leaving that screen. While the view is on screen, Reception.isChatOpen is true, and each time it appears, Reception.onEvent receives chatOpened, as with the SDK sheet. On Android the embedded chat keeps its composer above the keyboard by itself.

    Events and diagnostics

    Assign Reception.onEvent to receive { type } events: chatOpened, messageSent, imageSent, reviewOpened, paywallOpened, linkOpened (1.5+), and dataDeleted. identityRejected also carries a typed error with code and status. Assignment replaces the previous callback; null removes it. The event meanings match Swift.

    Reception.logLevel accepts off, error, info (default), or debug. Reception.version reports the bundled Swift SDK version, and on Android the Android SDK version. On Android the SDK logs to Logcat with the tag Reception. No custom log handler is exposed. Calls before configuration follow the Swift SDK’s behavior: they log and do not crash.

    Build and simulator checks

    The plugin sets the minimum iOS deployment target to 17; report an older app target before changing it. If you already use expo-build-properties, set its ios.deploymentTarget to 17.0 or higher; Reception reports conflicting values regardless of plugin order. No Podfile edits or use_frameworks! are needed. The npm package includes its pinned Swift sources and resources.

    For native projects you maintain by hand, do not regenerate them with prebuild. Set iOS 17+ in the app’s Xcode build settings and existing CocoaPods deployment-target configuration, run pod install from ios/, and rebuild. For push, also add Push Notifications in Signing & Capabilities, keeping the signed aps-environment entitlement and your notification delegate integration.

    An existing bare React Native app needs Expo Modules installed and an iOS 17 deployment target. Rebuild after adding Reception.

    Web has no Reception native code, nor has Android before react-native-reception 1.6.0. Calls do nothing and warn once; unread count is zero, chat visibility is false, and the embedded view renders nothing.

    Build with npx expo run:ios --device "<simulator name>", open the development server in the app, and keep Metro running. The setup prompt’s -ReceptionSetupCheck and -ReceptionPreview launch arguments work after JavaScript configures Reception, just as in native iOS. Use a normally signed Debug simulator build.

    If macOS automation prevents Expo CLI from opening Simulator, build its generated workspace without launching and start Metro separately. Replace <App> with the workspace/scheme name in ios/ and <device> with the simulator UUID:

    Terminal
    xcodebuild -workspace ios/<App>.xcworkspace -scheme <App> -configuration Debug \
      -destination 'platform=iOS Simulator,id=<device>' -derivedDataPath ./build
    npx expo start --dev-client --localhost

    With Metro running, use another terminal to install build/Build/Products/Debug-iphonesimulator/<App>.app with xcrun simctl install <device> <path>. Open the development server once with xcrun simctl openurl <device> '<app scheme>://expo-development-client/?url=http%3A%2F%2F127.0.0.1%3A8081', substituting the scheme from the built app’s Info.plist. Then use the setup prompt’s launch and log commands. Use a simulator UUID when more than one is booted.

    Android build and emulator checks

    Build and install with npx expo run:android on an emulator or phone from adb devices, keep Metro running, and open the app once. For push, use an emulator image with Google Play. The package is android.package in the app config. The last line of adb shell cmd package resolve-activity --brief <package> is the <package>/<launcher activity> to pass after -n; when the Gradle namespace differs from the package, it names the activity’s full class name, and the short form <package>/.MainActivity fails.

    Then run the setup check: on a debug build, launching the app with the extra ReceptionSetupCheck sends “Hello from setup” once, after JavaScript has configured Reception, and logs the result:

    Terminal
    adb shell am start -S -n <package>/<launcher activity> --es ReceptionSetupCheck app_YOUR_APP_ID
    adb logcat -d -s Reception | grep -E "Setup check (passed|failed)"

    Repeat the log command until Setup check passed or Setup check failed: <reason> appears; the reasons are listed in Android build and emulator checks. The check runs only in debug builds. The -ReceptionPreview screens are not available on Android.

    Updating

    Run npx expo install react-native-reception@latest, then npx expo prebuild for generated native projects (or pod install in ios/ for projects you maintain by hand) and rebuild. On Android the next build syncs Gradle and fetches the Android SDK version the package names; no Gradle edits are needed. The changelog lists what each release changes.