Skip to content

Commit d742408

Browse files
authored
Update README.md
1 parent a7f1344 commit d742408

1 file changed

Lines changed: 10 additions & 8 deletions

File tree

README.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ You will get your API KEY after registeration.
1313
Add the following dependency to your build.gradle:
1414
```gradle
1515
dependencies {
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:
2626
public 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
}

0 commit comments

Comments
 (0)