I am trying to integrate Intercom with my app… the iOS version is working (besides the first conversation being partially obscured by the title bar, which intercom has said is a known issue) but I cannot for the life of me get Android push notifications working.
I have push plugin notifications working so my FCM is set up correctly, but intercom (android only, ios is working fine) will not register for push. Has anyone else had this issue?
The most annoying part is Intercom has removed issues from the github repo so there is no community support and when you message their devs through their support system they seem to have no idea what they are talking about.
I’m struggling with the exact same thing now.
Did you ever get it to work?
Hey, sorry for the late reply. Did you get this working?
I ended up switching from push-plugin to the fcm plugin. I did have to make a minor change to the fcm plugin to get it to work, but I think it should all work by default at this stage.
So i’d recommend switching to the fcm plugin instead of push-plugin as a starting point.
So I have updated my Intercom plugin and Android platform.
I have it working on iOS but I cannot get it to work on Android. They provide absolutely useless documentation, they literally just tell you to add
<preference name="intercom-android-push-type" value="FCM"/> to the config file. That is obviously not all there is to it.
Can you just guide me as to how you got it working?
Did you install other plugins, write code to listen for it?
I see you said the FCM Plugin, is it this one: https://github.com/andrehtissot/cordova-plugin-fcm-with-dependecy-updated
Yep, that’s the plugin I use. I did make a customisation to it, but that’s due to me using an older version that was a bit broken, I believe the latest version should be fine. Also, one other thing I forgot…
cordova platform rm android
cordova platform add firstname.lastname@example.org
You need to have at minimum cordova android 7.1.0 installed for it all to work correctly.
Do that after installing the intercom plugin. Follow the rest of their instructions and that’s all you should need to do.
So I got the plugin installed, hooked it up to the test server that they have. I got it to work in that way.
I use the exact same API key in Intercom but I still don’t get the Push Notification if I send an intercom message.
Can you remember having that problem?
I’m struggling to get it to work on android, 2 years later I still get the same issue.
W/System.err: java.lang.ClassNotFoundException: io.intercom.android.sdk.IntercomBridge
Using Capacitor 3