cannot find symbol "Intercom.client().setUserHash(userHash);"
See original GitHub issueI follow the steps to integrate my react native app with Intercom, but everytime I run react-native run-android I got this error:
:react-native-intercom:compileReleaseJavaWithJavac
Full recompilation is required because 'IntercomModule.java' was changed. Analysis took 0.058 secs.
/Users/username/pathtoapp/AppName/node_modules/react-native-intercom/android/src/main/java/com/robinpowered/react/Intercom/IntercomModule.java:137: error: cannot find symbol
Intercom.client().setUserHash(userHash);
^
symbol: method setUserHash(String)
location: class Intercom
Note: /Users/username/pathtoapp/AppName/node_modules/react-native-intercom/android/src/main/java/com/robinpowered/react/Intercom/IntercomModule.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 error
:react-native-intercom:compileReleaseJavaWithJavac FAILED
I’m using the version 6.0.0 of this library and react native 0.44.0.
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (1 by maintainers)
Top Results From Across the Web
Identity Verification - Intercom Developer Hub
Identity verification helps to make sure that conversations between you and your users are kept private and that one user can't impersonate another....
Read more >@yellowexpress/react-native-intercom - npm package | Snyk
A React Native client for Intercom.io For more information about how to ... Looks like @yellowexpress/react-native-intercom is missing a security policy.
Read more >React Native Android Build Error MainActivity.java:29
The Android app can't resolve BuildConfig.DEBUG. :app:processDebugJavaRes UP-TO-DATE :app:compileDebugJavaWithJavac /Users/amirsharif/mobile- ...
Read more >A React Native client for Intercom.io - Morioh
Set User Hash for Identity Validation (optional). Intercom. ... displayHelpCenter() it is required to enable Help Center in your Intercom settings.
Read more >Intercom 6.1.0.1 for Xamarin.Forms | by Chuvak Pavel | Medium
void SetUserHash(string userHash);. For now, to outline in the project Intercom messenger in Xamarin.Forms, we need 3 lines of code.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hello @browniefed !
I believe it’s broken since this commit forcing the 3.0 https://github.com/tinycreative/react-native-intercom/commit/6a1dbed91675f559c992bb15ea350dadb4e2db95#diff-7ae5a9093507568eabbf35c3b0665732R37
The setUserHash method is available since version 3.2.0 (https://github.com/intercom/intercom-android/blob/bd175e0430ced432eb812be3ddab215726b53fec/CHANGELOG.md#version-320).
I am new to Intercom. Can You suggest some reference to integrate intercom with React-native. Basically like how to install intercom with react-native.