-
-
Save celiovasconcelos/a977cd268a2d85a82f78ef081776c779 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