Skip to content

Commit 8fa8862

Browse files
author
Ali Abdelfattah
authored
Replace deprecated API in README
1 parent 2323fa1 commit 8fa8862

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ import Instabug from 'instabug-reactnative';
5959
Initialize it in the `constructor` or `componentWillMount`. This line will let the Instabug SDK work with the default behavior. The SDK will be invoked when the device is shaken. You can customize this behavior through the APIs.
6060

6161
```javascript
62-
Instabug.startWithToken('IOS_APP_TOKEN', [Instabug.invocationEvent.shake]);
62+
Instabug.start('IOS_APP_TOKEN', [Instabug.invocationEvent.shake]);
6363
```
6464
* ### Android
6565
1. Open `android/app/src/main/java/[...]/MainApplication.java`

0 commit comments

Comments
 (0)