Skip to content

hashcube/mobihelp

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

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

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