question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

cannot find symbol "Intercom.client().setUserHash(userHash);"

See original GitHub issue

I 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:closed
  • Created 6 years ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

0reactions
Mythrimcommented, Oct 25, 2017

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found