Skip to content

Commit

Permalink
🐛 Fix a bug where the setUserAttribute API in iOS mixed the key attri…
Browse files Browse the repository at this point in the history
…bute with the value and vice versa.
  • Loading branch information
salmatarzi committed Aug 17, 2017
1 parent 0fbe741 commit b28b9ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/RNInstabug/InstabugReactBridge.m
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ - (dispatch_queue_t)methodQueue {
[Instabug setReportCategoriesWithTitles:titles iconNames:names];
}

RCT_EXPORT_METHOD(setUserAttribute:(NSString *)value withKey:(NSString *)key) {
RCT_EXPORT_METHOD(setUserAttribute:(NSString *)key withValue:(NSString *)value) {
[Instabug setUserAttribute:value withKey:key];
}

Expand Down

0 comments on commit b28b9ca

Please sign in to comment.