Phonegap application error handling, sending a log to the server

I am developing a Phonegap application, so I think there is a good way to send an application crash report (mainly console.logs javascript) to the server, or do I need to do this manually and write it to a text file and send?

+6
source share
3 answers

You can use the error tracking service, which tracks JavaScript errors to get error information. Bugsnag is a good choice. Bugsnag JS notifier should work well with Cordova / Phonegap.

+3
source

Another service that fixes JavaScript errors is Atatus . It also works with Cordova / PhoneGap.

https://www.atatus.com/

You can check the documents at https://www.atatus.com/docs

+2
source

use adb logcat | grep CONSOLE adb logcat | grep CONSOLE to see each console () output from JS

0
source

Source: https://habr.com/ru/post/953735/


All Articles