In the event of a user logging out or if you want new reports to no longer be associated with a specific user, you can use the log out API.
Instabug.logOut()
[Instabug logOut];
Instabug.logoutUser();
Instabug.logOut();
//Android only
cordova.plugins.instabug.logOut(
function () {
console.log('Success');
},
function (error) {
console.log(error);
}
);
//iOS
Instabug.LogOut();
//Android
Instabug.LogoutUser();
Instabug.logOut();