Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
ios
 
 
js
 
 
 
 
 
 
 
 

README.md

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')

You can’t perform that action at this time.