Handling Stats
이 내용은 아직 번역본이 없습니다.
Here is an example of code in JavaScript to save the stats of the plugin
This endpoint should return a JSON:
Actions:
- delete : when a bundle is deleted locally
- reset : when the app reset to the built-in bundle
- set : when app sets a new bundle
- set_fail : when app couldn’t find the ID of the bundle set
- update_fail : send after the delay and
notifyAppReady
never called - download_fail : when download never finished
- download_complete: When download finish
- download_xx: Send every 10% of download ex : download_20, download_70
- update_fail: when the bundle fails to do
notifyAppReady
in the timeframe