Skip to content
This repository has been archived by the owner on Mar 16, 2024. It is now read-only.

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

Open
MichaelLiuag opened this issue Aug 25, 2023 · 13 comments
Open

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

MichaelLiuag opened this issue Aug 25, 2023 · 13 comments

Comments

@MichaelLiuag
Copy link

MichaelLiuag commented Aug 25, 2023

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 MichaelLiuag changed the title App crash with Expo SDK49 [iOS] URGENT: App crash with Expo SDK49 [iOS] Aug 25, 2023
@MichaelLiuag
Copy link
Author

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

@MichaelLiuag
Copy link
Author

@cmaycumber

@LeoAnt02
Copy link

LeoAnt02 commented Aug 27, 2023

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
Copy link
Author

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?

@scerickson
Copy link

scerickson commented Aug 30, 2023

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

@LeoAnt02
Copy link

LeoAnt02 commented Sep 1, 2023

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

Hopefully this can help

@vanleuvenze
Copy link

vanleuvenze commented Sep 5, 2023

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
Copy link

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
Copy link

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
Copy link

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

@LeoAnt02
Copy link

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

@amitava82
Copy link

I tried same as well, still crashing.

@yonitou
Copy link

yonitou commented Nov 22, 2023

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants