[Error Android] [React native 0.65] error: cannot find symbol new IntercomPackage(), build fails

  • 21 May 2024
  • 1 reply

Hi Guys, 

I found a bug in older versions of react native, I'm using v0.65.0.

It seems that your third party library `react-native-builder-bob` is failing to get the correct name of your native package in android causing the following exception in package resolution: error: package undefined does not exist import undefined.IntercomPackage; 


More info here:




Add the package name in the Android manifest.


--- a/node_modules/@intercom/intercom-react-native/android/src/main/AndroidManifest.xml
+++ b/node_modules/@intercom/intercom-react-native/android/src/main/AndroidManifest.xml
@@ -1,3 +1,3 @@
-<manifest xmlns:android="">
+<manifest xmlns:android="" package="com.intercom.reactnative">



Temporary fix, will be changed for react native versions higher than 0.73. More info here 


I think you need to update your react-native-builder-bob library and use namespace in build.gradle.

let me know if this is correct. thank you very much.


Best answer by Ebenezer.Laleye 28 May 2024, 16:04

View original

1 reply

Userlevel 3
Badge +4

Hi @DanFlip ! Ebenezer here from Engineering Support👋.

I believe you’re right here!

I do think this was finished in a more recent version of our React-native SDK.

Thanks for providing a workaround for this!!🙏