getLastCrashInfo method
Provides the last app crash info.
@return String Crash Info JSON as string.
Sample crash info JSON { "issuename": "divide by zero", "message": "java.lang.ArithmeticException: divide by zero\n\tat com.zoho.apptics.MainActivity.onCreate$lambda$2(MainActivity.kt:42)", "networkstatus": 0, "serviceprovider": "T-Mobile", "orientation": 0, "batterystatus": 100, "edge": "Unknown", "ram": "2.9 GB", "rom": "5.8 GB", "sessionstarttime": 1711445408267, "customproperties": {}, "screenname": "com.zoho.apptics.MainActivity", "happenedat": 1711445420908, "happenedcount": 1, "listofhappenedtime": 1711445420908, "errortype": "native" }
Implementation
Future<String?> getLastCrashInfo(){
return AppticsFlutterPlatform.instance.getLastCrashInfo();
}