Close Menu
  • Home
  • AI
  • Big Data
  • Cloud Computing
  • iOS Development
  • IoT
  • IT/ Cybersecurity
  • Tech
    • Nanotechnology
    • Green Technology
    • Apple
    • Software Development
    • Software Engineering

Subscribe to Updates

Get the latest technology news from Bigteetechhub about IT, Cybersecurity and Big Data.

    What's Hot

    Santa Claus doesn’t exist (according to AI) • Graham Cluley

    December 28, 2025

    ios – Background Assets Framework server connection problem

    December 27, 2025

    FaZe Clan’s future is uncertain after influencers depart

    December 27, 2025
    Facebook X (Twitter) Instagram
    Facebook X (Twitter) Instagram
    Big Tee Tech Hub
    • Home
    • AI
    • Big Data
    • Cloud Computing
    • iOS Development
    • IoT
    • IT/ Cybersecurity
    • Tech
      • Nanotechnology
      • Green Technology
      • Apple
      • Software Development
      • Software Engineering
    Big Tee Tech Hub
    Home»iOS Development»Intercom iOS push: “Failed to register a device token -identity verification is not setup correctly” when using Expo + @intercom/intercom-react-native
    iOS Development

    Intercom iOS push: “Failed to register a device token -identity verification is not setup correctly” when using Expo + @intercom/intercom-react-native

    big tee tech hubBy big tee tech hubSeptember 23, 2025012 Mins Read
    Share Facebook Twitter Pinterest Copy Link LinkedIn Tumblr Email Telegram WhatsApp
    Follow Us
    Google News Flipboard
    Intercom iOS push: “Failed to register a device token -identity verification is not setup correctly” when using Expo + @intercom/intercom-react-native
    Share
    Facebook Twitter LinkedIn Pinterest Email Copy Link


    I’m trying to integrate Intercom push notifications into my React Native app built with Expo (using a custom dev client). I’m using @intercom/intercom-react-native (latest version) and JWT authentication.

    I can successfully:

    • Generate a valid JWT (confirmed via jwt.io) with user_id and email.
    • Log in the user in Intercom with matching userId and email.
    • Verify that Intercom.isUserLoggedIn() returns true.
    • Fetch the logged-in user attributes from Intercom, which match the JWT payload.

    Here’s the code I’m using to set up push notifications:

    export const setupIntercomPushNotifications = async (): Promise => {
      try {
        const { status: existingStatus } = await Notifications.getPermissionsAsync();
        let finalStatus = existingStatus;
    
        if (existingStatus !== "granted") {
          const { status } = await Notifications.requestPermissionsAsync();
          finalStatus = status;
        }
    
        if (finalStatus !== "granted") {
          console.log("❌ Push notification permissions not granted");
          return false;
        }
    
        // Get device token (native token, not Expo token)
        const { data: deviceToken } = await Notifications.getDevicePushTokenAsync();
        if (!deviceToken) {
          console.error("❌ Failed to get device push token");
          return false;
        }
    
        const isLoggedIn = await Intercom.isUserLoggedIn();
        console.log("🚀 ~ setupIntercomPushNotifications ~ isLoggedIn:", isLoggedIn);
        if (!isLoggedIn) {
          console.error("❌ User is not logged in to Intercom");
          return false;
        }
    
        const loggedInUser = await Intercom.fetchLoggedInUserAttributes();
        console.log("🚀 ~ setupIntercomPushNotifications ~ loggedInUser:", loggedInUser);
    
        // Send token to Intercom
        await Intercom.sendTokenToIntercom(deviceToken);
        console.log("✅ Device token successfully sent to Intercom");
        return true;
      } catch (error) {
        console.error(
          "❌ Error setting up Intercom push notifications:",
          JSON.stringify(error, null, 2)
        );
        return false;
      }
    };
    

    But when I call Intercom.sendTokenToIntercom(deviceToken), I consistently get this error on iOS:

    ERROR – Failed to register a device token – identity verification is not setup correctly
    code: 302
    domain: IntercomSDKErrorDomain
    NSLocalizedDescription: ERROR – Failed to register a device token – identity verification is not setup correctly

    Additional details:

    • Using Expo Dev Client on a real iOS device. APNs .p8 key has been uploaded to Intercom.
    • App bundle ID matches the one configured in Intercom. JWT payload
    • includes user_id and email, and expiration is valid. Intercom login
    • works fine (isLoggedIn: true and attributes match). deviceToken
    • returned from getDevicePushTokenAsync() looks valid

    My question:
    Why would Intercom reject the device token with “identity verification is not setup correctly” even though JWT login is working?



    Source link

    correctly Device EXPO failed Identity Intercom intercomintercomreactnative iOS push Register Setup token Verification
    Follow on Google News Follow on Flipboard
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email Copy Link
    tonirufai
    big tee tech hub
    • Website

    Related Posts

    ios – Background Assets Framework server connection problem

    December 27, 2025

    ios – SwiftUI-Button: Complete VStack clickable

    December 26, 2025

    Streamlining Amazon Sidewalk Device Fleet Management with AWS IoT Core’s New Bulk Operations

    December 26, 2025
    Add A Comment
    Leave A Reply Cancel Reply

    Editors Picks

    Santa Claus doesn’t exist (according to AI) • Graham Cluley

    December 28, 2025

    ios – Background Assets Framework server connection problem

    December 27, 2025

    FaZe Clan’s future is uncertain after influencers depart

    December 27, 2025

    Airbus prepares tender for European sovereign cloud

    December 27, 2025
    About Us
    About Us

    Welcome To big tee tech hub. Big tee tech hub is a Professional seo tools Platform. Here we will provide you only interesting content, which you will like very much. We’re dedicated to providing you the best of seo tools, with a focus on dependability and tools. We’re working to turn our passion for seo tools into a booming online website. We hope you enjoy our seo tools as much as we enjoy offering them to you.

    Don't Miss!

    Santa Claus doesn’t exist (according to AI) • Graham Cluley

    December 28, 2025

    ios – Background Assets Framework server connection problem

    December 27, 2025

    Subscribe to Updates

    Get the latest technology news from Bigteetechhub about IT, Cybersecurity and Big Data.

      • About Us
      • Contact Us
      • Disclaimer
      • Privacy Policy
      • Terms and Conditions
      © 2025 bigteetechhub.All Right Reserved

      Type above and press Enter to search. Press Esc to cancel.