Integrates intercom.io into any Codename One application allowing the app to chat/track events
Java Objective-C JavaScript C#
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
IntercomTest
native
nbproject
src/com/codename1/intercom
.gitignore
README.md
build.xml
codenameone_library_appended-no-push.properties
codenameone_library_appended-with-push.properties
codenameone_library_appended.properties
codenameone_library_required.properties
manifest.mf
manifest.properties

README.md

Codename One Intercom Support

Intercom.io allows you to track & support users across multiple channels. At Codename One we use it for support and customer communication so it's fitting we would add it to our apps so we can communicate better with developers in our demos as well.

This is modeled closely to the Android API for Intercom but we also derived some inspiration from the Cordova support. Currently push with intercom still isn't tested but it is something we hope to add as we move forward.

The test app included is a bit simplistic but the basic usage is:

Intercom.init("AndroidAppKey", "IosAppKey", "AppId");
if(Intercom.getInstance() != null) {
   Intercom.getInstance().registerIdentifiedUser(Registration.create().withEmail(usersEmail));
}

You can now start sending events and opening the messenger using standard API's such as:

if(Intercom.getInstance() != null) {
   Intercom.getInstance().displayConversationsList();
}

Currently only Android & iOS are supported as Intercom doesn't support Windows. We might do JavaScript integration for other platforms as a fallback if there is a technical possibility or demand for that.