cmaycumber / config-plugin-react-native-intercom

Expo plugin for adding @intercom/react-native-intercom using expo config plugins
74 stars 38 forks source link

URGENT: App crash with Expo SDK49 [iOS] #70

Open MichaelLiuag opened 10 months ago

MichaelLiuag commented 10 months ago

This issue is happening when I try to use Intercom from @intercom/intercom-react-native.

image

Expo SDK: 49 @expo/config-plugins: ^7.2.5 @intercom/intercom-react-native: ^5.2.0

Same issue is coming even though I downgrade @intercom/intercom-react-native to ^4.1.0

This is very urgent issue and I hope someone can take a look at this issue ASAP.

MichaelLiuag commented 10 months ago

I have to run expo prebuild as well in case of using this module?

MichaelLiuag commented 10 months ago

@cmaycumber

LeoAnt02 commented 10 months ago

On my side I have no issue on IOS 16.0 SDK49 but I'm using a lower intercom version

"@intercom/intercom-react-native": "^4.0.1", "config-plugin-react-native-intercom": "^1.10.1", "expo": "~49.0.6", "@expo/config-plugins": "~7.2.5",

Screen Shot 2023-08-27 at 11 08 23 AM
MichaelLiuag commented 10 months ago

On my side I have no issue on IOS 16.0 SDK49 but I'm using a lower intercom version

"@intercom/intercom-react-native": "^4.0.1", "config-plugin-react-native-intercom": "^1.10.1", "expo": "~49.0.6", "@expo/config-plugins": "~7.2.5",

Screen Shot 2023-08-27 at 11 08 23 AM

I tried the same version, but issue persists now.

  1. Did you run expo prebuild before running the application?
  2. Did you use displayMessenger() function to display the Intercom messenger in the application?
chaseric commented 10 months ago

Having the same issue, expo prebuild doesn't resolve - using same versions as @LeoAnt02

LeoAnt02 commented 10 months ago

@stefanerickson @MichaelLiuag I use a setup inspired by this #36

Hopefully this can help

vanleuvenze commented 10 months ago

Ran into the same issue but am having luck using Expo SDK 49.0.8 and intercom react native 3.0.3

"@intercom/intercom-react-native": "^3.0.3", "expo": "~49.0.8"

FWIW I still see this issue in the Expo Go client, but when I compile a release build using npx expo run:ios --configuration Release and run on simulator, everything works.

NazarDevsMedia commented 9 months ago

since @intercom/intercom-react-native requires installation of native modules, you are not able to start your application in expo go without running expo prebuild, that allows you to see your changes on-the-fly, but you gonna get native folders such as android and ios. Or you can do dev-build for testing reasons, in this case you still will not be able to use expo go.

Friendly tip: I really enjoy using fast development flow with expo go, so I just disable the import of intercom for local development und enable it before I start the build process.

NazarDevsMedia commented 9 months ago

On my side I have no issue on IOS 16.0 SDK49 but I'm using a lower intercom version

"@intercom/intercom-react-native": "^4.0.1", "config-plugin-react-native-intercom": "^1.10.1", "expo": "~49.0.6", "@expo/config-plugins": "~7.2.5",

Screen Shot 2023-08-27 at 11 08 23 AM

same for me with "@intercom/intercom-react-native": "^4.0.1", "config-plugin-react-native-intercom": "^1.10.1", "expo": "^49.0.10", "@expo/config-plugins": "~7.2.2" tested on real android and ios devices.

amitava82 commented 9 months ago

Same here using packages as everyone else and did expo prebuild. I'm running on device with Expo Go

LeoAnt02 commented 9 months ago

I'm not using Expo GO, I build the binaries with expo run:ios The issue might come from using Expo Go

amitava82 commented 9 months ago

I tried same as well, still crashing.

yonitou commented 7 months ago

I have the same issue it's driving me nuts !!! Did you find a solution @MichaelLiuag ?