intercom-react-native not working on Expo SDK 53 | Community
Skip to main content

Hi guys, I am having problems to upgrade from expo 52 to expo 53 due to intercom issues.

In version 8.0.0, ios is not working due to 

 

❌  (ios/TakenosDevelop/AppDelegate.swift:1:2)

> 1 | #import <IntercomModule.h>
| ^ no macro named 'import'
2 | import Expo
3 | import React
4 | import ReactAppDependencyProvider

 

This is fixed on 8.5.0 but this version uses sentry Android SDK >= 8 and clashes with sentry-react-native that uses sentry Android SDK >=7.  I am using @sentry/react-native version 6.14.0(recommended by expo)

Here is a conversation related to the issue on sentry github: https://github.com/getsentry/sentry-react-native/issues/4688

The error i am seeing:

Error: Exception in HostFunction: No direct method <init>(Ljava/lang/String;ILio/sentry/android/core/internal/util/SentryFrameMetricsCollector;Lio/sentry/ISentryExecutorService;Lio/sentry/ILogger;Lio/sentry/android/core/BuildInfoProvider;)V in class Lio/sentry/android/core/AndroidProfiler; or its super classes (declaration of 'io.sentry.android.core.AndroidProfiler' appears in /data/app/~~e_t5u2_KHpU_O40MDWSzsw==/com.takenos.staging-_FZGcoEeNe3nMaUnyu5wzw==/base.apk!classes8.dex), js engine: hermes

Any workarounds i could apply? 

Thanks in advance

Fran

Be the first to reply!

Reply