Implement setUserProfileID method

This commit is contained in:
Alexandr Subbotin
2018-06-01 19:38:01 +04:00
parent f35de9a958
commit 0305df0688
3 changed files with 17 additions and 0 deletions

View File

@@ -26,4 +26,8 @@ RCT_EXPORT_METHOD(reportError:(NSString *)message) {
NSException *exception = [[NSException alloc] initWithName:message reason:nil userInfo:nil];
[YMMYandexMetrica reportError:message exception:exception onFailure:NULL];
}
RCT_EXPORT_METHOD(setUserProfileID:(NSString *)userProfileID) {
[YMMYandexMetrica setUserProfileID:userProfileID];
}
@end