Skip to content

Commit e92d715

Browse files
authored
Merge pull request #3 from Instabug/fix/readme
[MOB-8386] Update README.md
2 parents fead704 + e31dc0b commit e92d715

File tree

1 file changed

+20
-56
lines changed

1 file changed

+20
-56
lines changed

README.md

Lines changed: 20 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -1,73 +1,37 @@
1-
# **Instabug for Mobile Games**
2-
Detailed bug reporting and in-app chat for mobile games made on Android, iOS, and Unity!
1+
# **Instabug for Unity**
32

3+
Detailed bug reporting and direct in-app chat with users for mobile games made with Unity on iOS and Android! :video_game:
44

5-
<img src="https://user-images.githubusercontent.com/9888943/41102891-337c4170-6a68-11e8-8b89-73f60ab6ad81.png" width="35%"/><img src="https://user-images.githubusercontent.com/9888943/41102892-339dab08-6a68-11e8-895c-89c5c92dc4ed.png" width="63%"/>
5+
<img alt="Screen Shot 2022-03-09 at 12 21 43 PM" src="https://user-images.githubusercontent.com/36373152/157422399-b616d4cb-4b23-4ca1-b15f-7112ece47a3f.png" width="22%"><img alt="Screen Shot 2022-03-09 at 11 03 51 AM" src="https://user-images.githubusercontent.com/36373152/157422471-08a13308-21de-4049-874a-ae19396e1da0.png" width="76%">
66

7+
Let your users seamlessly report in-game bugs and feedback, and speed up your game development cycle with Instabug, thanks to the comprehensive metadata which we capture to help you identify the cause of bugs and squash them faster.
78

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+
For more info, you can visit [Instabug for Unity](https://www.instabug.com/platforms/unity "Instabug for Unity").
910

10-
For more info, visit Instabug for Unity on [Instabug.com](https://www.instabug.com/platforms/unity).
11+
## Installation
1112

12-
## Installation (iOS)
13+
1. Download [Instabug-Unity](https://github.com/Instabug/Instabug-Unity/releases "Instabug-Unity") package.
14+
2. In your own Unity project, import the package by selecting:
15+
Assets → Import Package → Custom Package from Unity editor’s menu OR double-clicking Instabug-Unity.unitypackage.
16+
3. Resolve dependencies (for Android).
1317

14-
1. Add Instabug for iOS on the [Asset Unity Store here](https://assetstore.unity.com/packages/tools/integration/instabug-for-ios-116191).
15-
16-
2. Add an empty GameObject to your project, and add the InstabugiOS script component to it.
17-
18-
3. Click on Add Component, search for InstabugiOS, and add it to the game object.
19-
20-
4. Add your app token, and change the invocation event from Unity’s Inspector directly.
18+
## Initializing Instabug
2119

22-
## Installation (Android)
20+
1. Create an empty GameObject and add `Instabug.cs` script as a component to it. The script is located in: Assets → Plugins → Instabug
21+
2. Enter your app token, which you can find on the dashboard, and choose the preferred Invocation Event from the inspector window.
22+
3. Add **Event System** component to the newly created GameObject (only if you do not already have an EventSystem game object in the hierarchy of the current scene).
2323

24-
1. Add Instabug for Android on the [Asset Unity Store here](https://assetstore.unity.com/packages/tools/integration/instabug-for-android-116200).
24+
:warning: For iOS builds, you may encounter a build error on some Xcode versions. To resolve it, you can simply set **Validate Workspace** to **Yes** in the Build Settings tab under Build Options in Xcode.
2525

26-
2. Export your Unity project by opening Build Settings from “File —> Build Settings”, and checking the Export button. Choose your desired path to save the project.
27-
28-
3. Open the exported project from Android Studio, and create a new Application.java class that should look like this. Add your app token, and change the invocation event from this class.
29-
```
30-
...
31-
import android.app.Application;
32-
import com.instabug.library.Instabug;
33-
import com.instabug.library.invocation.InstabugInvocationEvent;
34-
...
35-
public class MyApp extends Application {
36-
@Override
37-
public void onCreate() { super.onCreate();
38-
// You can change the invocation event to NONE, FLOATING_BUTTON, // SCREENSHOT_GESTURE, or TWO_FINGER_SWIPE_LEFT.
39-
new Instabug.Builder(this, "YOUR_APP_TOKEN")
40-
.setInvocationEvent(InstabugInvocationEvent.SHAKE)
41-
.build(); Instabug.setUnityEnabled(true);
42-
} }
43-
```
44-
4. Add the Application class name to the AndroidManifest.xml file.
45-
```
46-
<manifest xmlns:android="http://schemas.android.com/apk/res/android" ...> ...
47-
<application android:name=".MyApp" ...> ...
48-
</application>
49-
...
50-
</manifest>
51-
```
52-
53-
54-
55-
## Steps
56-
57-
**1. Add Instabug to Your Game**
58-
See Installation steps above.
59-
60-
**2. Shake The Phone**
61-
Your users can shake their devices to report bugs or submit their feedback from within your app with zero interruption to their experience.
62-
63-
**3. View Detailed Bug Reports**
64-
With each bug report your users submit, we automatically capture comprehensive metadata to help you identify the cause of errors and fix issues faster.
26+
## Migrating from versions prior to v10
6527

28+
1. Remove the Assets/Plugins directory that was previously imported.
29+
2. Follow the [installation steps](#installation).
6630

6731
## Documentation
6832

69-
For more details about the supported APIs and how to use them, you can check our [**Documentation**](https://docs.instabug.com/docs/unity).
33+
For more details about the supported APIs and how to use them, you can refer to our [docs](https://docs.instabug.com/docs/unity-overview "**docs**").
7034

7135
## Contact Us
7236

73-
If you have any questions or feedback don’t hesitate to get in touch. You can reach us at any time through **[[email protected]](mailto:[email protected])**.
37+
If you have any questions or feedback, don’t hesitate to get in touch. You can reach out to us at any time through [[email protected]](mailto:[email protected]).

0 commit comments

Comments
 (0)