File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ You will get your API KEY after registeration.
1313Add the following dependency to your build.gradle:
1414``` gradle
1515dependencies {
16- implementation 'com.github.pingmelive:pingMeLive:1.0.3 '
16+ implementation 'com.github.pingmelive:pingMeLive:1.0.6 '
1717}
1818```
1919
@@ -26,14 +26,16 @@ Add a snippet like this to your `Application` class:
2626public void onCreate() {
2727 super . onCreate();
2828
29- // By default you will get all the crashes and runtime error in a form of error event.
30- // You will get an API KEY when you will register on pingmelive.com
3129
32- String appName = " MyGreatApp" ;
33- String errorEventTitle = " Error for " + appName;
34-
35- pingMeLive. install(getApplicationContext(),errorEventTitle," API_KEY" );
36-
30+ new pingMeLive. Builder (getApplicationContext())
31+ .setErrorEventEnabled(true ) // By Default True - This will send error events to you
32+ .setErrorEventTitle(" ERROR_TITLE" ) // Error Event title
33+ .setAPI_KEY(" YOUR_API_KEY" ) // Your API KEY
34+ .setAPP_ID(" YOUR_APP_ID" ) // Your APP ID
35+ .install();
36+
37+ // By default you will get all the crashes and runtime error in a form of error event.
38+ // You will get an API KEY when you will register on pingmelive.com
3739 // thats it
3840
3941}
You can’t perform that action at this time.
0 commit comments