🕺SDK Setup
It's easy now to connect your mobile application to Qube Analytics
Last updated
dependencies {
implementation 'com.github.StackAnalysis:STKDroid:0.2.3'
}public class BaseApplication extends Application
{
@Override
public void onCreate() {
super.onCreate();
List
activities=new ArrayList<>();
activities.add(DeliveryActivity.class.getName());
new StackAnalytix.Builder()
.setContext(this)
.setAppId( )
.setClientId()
.setkey(" ")
.setScreenRecorder(true)
.setSkipRecorderActivities(activities)//skip some activities during screen recorder
.setOnCrashListener(new OnCrashListener() {
@Override
public void onCrash(@Nullable String crashInfo, @Nullable Throwable e) {
}
}).setOnLoggerListener(new OnLoggerListener() {
@Override
public void onLogI(@Nullable String tag, @Nullable String msg) {
}
@Override
public void onLogD(@Nullable String tag, @Nullable String msg) {
}
@Override
public void onLogE(@Nullable String tag, @Nullable String msg) {
}
@Override
public void onLogV(@Nullable String tag, @Nullable String msg) {
}
@Override
public void onLogW(@Nullable String tag, @Nullable String msg) {
}
})
.build();
}
}setAppId(>>>>app id here<<<<)
setClientId(>>>>client id here<<<<)
setkey(>>>>key here<<<<)