Skip to content

v2.0.8

Compare
Choose a tag to compare
@Doc1faux Doc1faux released this 09 Dec 18:13
· 2 commits to master since this release
32b949f

Features

  • Notifications:
    • added optional BackStack and automatic chatbox opening (default behavior on notification tap: launches the main entry point Activity and opens chatbox automatically), see doc for more infos,
    • added CrispNotificationClient.openChatbox(Context, Intent) helper method which opens the chatbox with the correct session on a notification tap, returning true if it succeeds, false otherwise (not a Crisp notification tap or session does not exist in cache), see doc for more infos,
    • removed the CrispNotificationService.handleIntent(Intent) override which is no longer needed,
    • added notification token unregistration on Crisp.resetChatSession(Context).

API changes

  • Added/updated Crisp.configure methods:
    • Crisp.configure(Context, String): does not longer resets the tokenID while setting the websiteID,
    • Crisp.configure(Context, String, boolean): gives the option to reset the tokenID while setting the websiteID,
    • Crisp.configure(Context, String, String): (re)sets the tokenID while setting the websiteID.