Last active
October 22, 2017 11:44
-
-
Save pushlink/6ef1f93e38c6566bc757 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//When sending exception manually, PushLink doesn't print it in logcat. You have to print it by yourself. | |
try { | |
... | |
} catch (Throwable t) { | |
Log.e("MyApp", "Some", t); | |
PushLink.sendAsyncException(t); | |
//or | |
Map<String, String> moreInfo = ... | |
PushLink.sendAsyncException(t, moreInfo); | |
} | |
... | |
//You can also disable the automatic exception catch/send | |
PushLink.disableExceptionNotification(); | |
... | |
//To receive LogCat last ones 100 lines just add <uses-permission android:name="android.permission.READ_LOGS" /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment