An in-depth journey depicting all the ways to use Instabug Android SDK.
For more information about Instabug check our website.
Using Instabug is as easy as "Get ready, Get set, Go".
-
Determining which Instabug flavour to use (Getting ready)
-
If your
minSdkVersion
is14+
:Check
Above14
flavour -
If your
minSdkVersion
is10+
:Check
belowApi14
flavour
-
-
Adding Instabug to your dependencies (Getting set)
Grab via Gradle:
compile 'com.instabug.library:instabug:4.2.6'
or via Maven: (if you're that kind of person
)
<dependency> <groupId>com.instabug.library</groupId> <artifactId>instabug</artifactId> <version>4.2.6</version> </dependency>
-
Using Instabug (Good to go!)
-
Initializing Instabug:
In your
Application
class add the following:@Override public void onCreate() { super.onCreate(); // ... new Instabug.Builder(this, "<YOUR_APP_TOKEN>") .setInvocationEvent(InstabugInvocationEvent.FLOATING_BUTTON) .build(); // ... }
-
For technical documentation check the API reference
Copyright 2012 Instabug, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.