HomeDocumentationAPI Reference
Getting StartedAPI ReferenceBug ReportingCrash ReportingAPMHelp Center
These docs are for v8.1. Click to read the latest docs for v12.0.0.

Identify User

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");