File tree 2 files changed +10
-1
lines changed
2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 24
24
25
25
- (void ) setLocale : (CDVInvokedUrlCommand*)command ;
26
26
27
- @end
27
+ - (void ) identifyUserWithEmail : (CDVInvokedUrlCommand*)command ;
28
+
29
+ @end
Original file line number Diff line number Diff line change @@ -114,6 +114,13 @@ - (void) startWithToken:(CDVInvokedUrlCommand*)command
114
114
[self .commandDelegate sendPluginResult: result callbackId: [command callbackId ]];
115
115
}
116
116
117
+ - (void ) identifyUserWithEmail : (CDVInvokedUrlCommand*)command {
118
+ NSString *email = [command argumentAtIndex: 0 ];
119
+ NSString *name = [command argumentAtIndex: 1 ];
120
+ [Instabug identifyUserWithEmail: email name: name];
121
+ [self sendSuccessResult: command];
122
+ }
123
+
117
124
/* *
118
125
* Shows the Instabug dialog so user can choose to report a bug, or
119
126
* submit feedback. A specific mode of the SDK can be shown if specified.
You can’t perform that action at this time.
0 commit comments