Skip to content

hashcube/mobihelp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MobiHelp plugin for GameClosure Devkit

Configuration

Add this module to dependencies section of the manifest file.

"dependencies": {
    "mobihelp": "https://github.com/hashcube/mobihelp.git#master"
}

Add mobihelp app key and other configurations.

{
    "android": {
        "mobihelpAppKey": "xxx",
        "mobihelpAppSecret": "xxx",
        "mobihelpAutoReplyEnabled": "false",
        "mobihelpDomain": "http://foo.freshdesk.com"
    }
}

Usage

import mobihelp on top of the file where you want to use the module.

  • To open support window

mobihelp.showSupport()

  • To send custom data, add

mobihelp.addCustomData('key', 'value');

  • To add bread crumbs,

mobihelp.leaveBreadCrumb('level_90_completed')