Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Intercom - how do you set the appId and apiKey? #4908

Open
fmp777 opened this issue Jan 21, 2025 · 0 comments
Open

Intercom - how do you set the appId and apiKey? #4908

fmp777 opened this issue Jan 21, 2025 · 0 comments

Comments

@fmp777
Copy link

fmp777 commented Jan 21, 2025

The readme on intercom plugin merely says to refer to the official cordova plugin docs. However, the cordova docs naturally has you putting in the variables in the config.xml, which of course doesn't exist in a capacitor project. Would be good to perhaps document the config?

I have tried variables in the capacitor.config.json like so:

{ plugins: { Intercom: { appId: string, iosAppId: string, ios-appId: string, iosApiKey: string, ios-apiKey: string } }

Making the variations only because of what I have seen in the ios files calling getConfig, but still when the app loads the console shows error:

[Intercom] ERROR - 'apiKey' parameter must be a valid Intercom iOS SDK API key.

What is strange is the intercom chat panel loads correctly, except when trying to enforce identity validation.

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

No branches or pull requests

1 participant