This API is used to change the color of both the text and icons to match your app color. You can pass to it any color required.
Instabug.tintColor = .lightGrayInstabug.tintColor = UIColor.lightGrayColor;Instabug.setPrimaryColor(Color.BLUE);Instabug.setPrimaryColor(processColor('#ff0000'));//iOS
cordova.plugins.instabug.setPrimaryColor(
Color.Red,
function () {
console.log('Primary color changed.');
},
function (error) {
console.log('Could not change primary color - ' + error);
}
);
//Android
//Builder method generated in MyApplication class
new Instabug.Builder(this, "APP_TOKEN")
.setInvocationEvent(InstabugInvocationEvent.SHAKE)
.setPrimaryColor(Color.BLUE)
.build();//iOS
Instabug.TintColor = UIColor.Red;
//Android
Instabug.PrimaryColor = -7583749;Instabug.setPrimaryColor(Color.blue);