mirror of
https://github.com/status-im/instabug-reactnative.git
synced 2025-03-03 06:30:41 +00:00
🐛 Fix a bug where the setUserAttribute API in iOS mixed the key attribute with the value and vice versa.
This commit is contained in:
parent
0fbe741d6b
commit
b28b9caa56
@ -236,7 +236,7 @@ RCT_EXPORT_METHOD(setReportCategories:(NSArray<NSString *> *)titles iconNames:(N
|
|||||||
[Instabug setReportCategoriesWithTitles:titles iconNames:names];
|
[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];
|
[Instabug setUserAttribute:value withKey:key];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user