Skip to content

Commit c1833e9

Browse files
authored
Merge pull request #58 from Instabug/hotfix/fix_user_attribute
🐛 Fix a bug where the setUserAttribute API in iOS mixed the key a…
2 parents 0fbe741 + b28b9ca commit c1833e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ios/RNInstabug/InstabugReactBridge.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ - (dispatch_queue_t)methodQueue {
236236
[Instabug setReportCategoriesWithTitles:titles iconNames:names];
237237
}
238238

239-
RCT_EXPORT_METHOD(setUserAttribute:(NSString *)value withKey:(NSString *)key) {
239+
RCT_EXPORT_METHOD(setUserAttribute:(NSString *)key withValue:(NSString *)value) {
240240
[Instabug setUserAttribute:value withKey:key];
241241
}
242242

0 commit comments

Comments
 (0)