This API is primarily used to identify your user, sort of like a log in kind of method. The API takes two strings, the user's email being the first, and the user's name for the second.
Instabug.identifyUser(withEmail: "[email protected]", name: "John Appleseed")
[Instabug identifyUserWithEmail:@"[email protected]" name:@"John Appleseed"];
Instabug.identifyUser("user name", "email");
Instabug.identifyUserWithEmail("[email protected]", "John Appleseed");
cordova.plugins.instabug.identifyUserWithEmail(
'[email protected]',
'John',
function () {
console.log('Success');
},
function (error) {
console.log(error);
}
);
//iOS
Instabug.IdentifyUserWithEmail("user_email", "user_name");
//Android
Instabug.IdentifyUser("user_email", "user_name");
Instabug.identifyUserWithEmail(String email, [String name]);