You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1-5Lines changed: 1 addition & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,9 @@
1
-
## v8.6.4 (2019-09-12)
1
+
## v8.6.4 (2019-09-13)
2
2
3
-
**If you are on React Native pre 0.60, please follow the steps [here](https://github.com/Instabug/Instabug-React-Native/blob/master/README.md#updating-to-version-864)**
4
3
* Fixes an issue on Android that would result in a build error with the message `null is not an object (evaluating u.invocationEventNone)`
5
-
* Fixes an issue on Android that would result in some APIs not working when called immediately after `Instabug.start`
6
4
7
5
## v8.6.3 (2019-08-29)
8
6
9
-
***⚠️ If you are using Android, please make sure to follow the migration guide [here](https://github.com/Instabug/Instabug-React-Native/blob/master/README.md#updating-to-version-863)**
10
-
* You can now initialize Instabug on Android by calling `Instabug.start` from Javascript, instead of calling the builder method from the application class.
Copy file name to clipboardExpand all lines: README.md
+21-26Lines changed: 21 additions & 26 deletions
Original file line number
Diff line number
Diff line change
@@ -87,19 +87,35 @@ pod install
87
87
```
88
88
89
89
## Using Instabug
90
-
1. To start using Instabug, import it into your `index.js` file.
90
+
1. To start using Instabug, import it into your `index.ios.js` and `index.android.js` file.
91
91
92
92
```javascript
93
93
importInstabugfrom'instabug-reactnative';
94
94
```
95
-
2. Then 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.
95
+
2. Then 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 (You can skip this step if you are building an Android app only).
3. Open `android/app/src/main/java/[...]/MainApplication.java`
101
+
You should find the getPackages method looks like the following snippet. You just need to add your Android app token (You can skip this step if you are building an iOS app only). You can change the invocation event from here, simply by replacing the `"shake"` with any of the following `"button"`, `"none"`, `"screenshot"`, or `"swipe"`. You can change the primary color by replacing the `"#1D82DC"` with any colour of your choice.
102
+
In the case that you are using the floating button as an invocation event, you can change the floating button edge and the floating button offset using the last two methods, by replacing `"left"` to `"right"`, and by changing the offset number.
You can find your app token by selecting the SDK tab from your [**Instabug dashboard**](https://dashboard.instabug.com/app/sdk/).
101
117
102
-
3. Make sure the following snippet is added to your project level `build.gradle`. This should be added automatically upon linking. If not, you can add it manually.
118
+
4. Make sure the following snippet is added to your project level `build.gradle`. This should be added automatically upon linking. If not, you can add it manually.
2. If you are on React Native < 0.60, unlink instabug using `react-native unlink instabug-reactnative` then link again using `react-native link instabug-reactnative`.
166
-
167
-
3. Then 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.
## Microphone and Photo Library Usage Description (iOS Only)
175
170
176
171
Instabug needs access to the microphone and photo library to be able to let users add audio and video attachments. Starting from iOS 10, apps that don’t provide a usage description for those 2 permissions would be rejected when submitted to the App Store.
0 commit comments