fix
This commit is contained in:
parent
f35de9a958
commit
f0261936c4
@ -9,7 +9,8 @@ RCT_EXPORT_MODULE();
|
|||||||
|
|
||||||
RCT_EXPORT_METHOD(activateWithApiKey:(NSString *)apiKey)
|
RCT_EXPORT_METHOD(activateWithApiKey:(NSString *)apiKey)
|
||||||
{
|
{
|
||||||
[YMMYandexMetrica activateWithApiKey:apiKey];
|
YMMYandexMetricaConfiguration *configuration = [[YMMYandexMetricaConfiguration alloc] initWithApiKey:apiKey];
|
||||||
|
[YMMYandexMetrica activateWithConfiguration:configuration];
|
||||||
}
|
}
|
||||||
|
|
||||||
RCT_EXPORT_METHOD(reportEvent:(NSString *)message)
|
RCT_EXPORT_METHOD(reportEvent:(NSString *)message)
|
||||||
|
Loading…
Reference in New Issue
Block a user