Merge pull request #13 from TrefilovAnd/framework-v3
Migration to iOS SDK 3.x.x
This commit is contained in:
commit
60a3522f7c
@ -9,7 +9,8 @@ RCT_EXPORT_MODULE();
|
||||
|
||||
RCT_EXPORT_METHOD(activateWithApiKey:(NSString *)apiKey)
|
||||
{
|
||||
[YMMYandexMetrica activateWithApiKey:apiKey];
|
||||
YMMYandexMetricaConfiguration *configuration = [[YMMYandexMetricaConfiguration alloc] initWithApiKey:apiKey];
|
||||
[YMMYandexMetrica activateWithConfiguration:configuration];
|
||||
}
|
||||
|
||||
RCT_EXPORT_METHOD(reportEvent:(NSString *)message)
|
||||
|
Loading…
Reference in New Issue
Block a user