科尔多瓦,Phonegap崩溃报告
答
尝试的Splunk MINT(Bugsense)=>https://mint.splunk.com/
所有不受控制的崩溃可在MINT控制台来查看。
示例(将Mint库放入路径中)。在IOS中也可用,并且可以跟踪HTML5事件。
package edu.esade.yourapp;
import android.os.Bundle;
import org.apache.cordova.*;
public class YourApp extends CordovaActivity
{
@Override
public void onCreate(Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);
Mint.initAndStartSession(this, MINT_API_KEY);
super.init();
// Set by <content src="index.html" /> in config.xml
super.loadUrl(Config.getStartUrl());
//super.loadUrl("file:///android_asset/www/index.html");
}
}