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: README.md
+35-4Lines changed: 35 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ Detailed bug reporting and in-app chat for mobile games made on Android, iOS, an
7
7
8
8
Collect in-game bug reports and feedback and speed up your game development cycle with Instabug. Forward your bugs automatically to Trello, Jira, Slack, Github, Gitlab & more.
9
9
10
-
For more info, visit Instabug for Unity on [instabug.com](https://www.instabug.com/platforms/unity).
10
+
For more info, visit Instabug for Unity on [Instabug.com](https://www.instabug.com/platforms/unity).
11
11
12
12
## Installation (iOS)
13
13
@@ -27,15 +27,46 @@ For more info, visit Instabug for Unity on [instabug.com](https://www.instabug.c
27
27
28
28
3. Open the exported project from Android Studio, and add the following changes to the build.gradle file.
29
29
```
30
-
... allprojects { repositories { jcenter() google() maven { // TODO add this only if interested in getting SNAPSHOT releases url ‘https://oss.sonatype.org/content/repositories/snapshots’ } ... } } ... dependencies { ... compile ‘com.instabug.library:instabug:5.0.0.3.19-SNAPSHOT’ } ...
30
+
...
31
+
allprojects {
32
+
repositories {
33
+
jcenter()
34
+
google()
35
+
maven {
36
+
// TODO add this only if interested in getting SNAPSHOT releases
4. Create a new Application.java class that should look like this. Add your app token, and change the invocation event from this class.
33
48
```
34
-
... import android.app.Application; import com.instabug.library.Instabug; import com.instabug.library.invocation.InstabugInvocationEvent; ... public class MyApp extends Application { @Override public void onCreate() { super.onCreate(); // You can change the invocation event to NONE, FLOATING_BUTTON, // SCREENSHOT_GESTURE, or TWO_FINGER_SWIPE_LEFT. new Instabug.Builder(this, “YOUR_APP_TOKEN”) .setInvocationEvent(InstabugInvocationEvent.SHAKE) .build(); Instabug.setUnityEnabled(true); } }
0 commit comments