change
This commit is contained in:
parent
052c8cf31c
commit
35de516c53
@ -19,6 +19,8 @@ import com.facebook.react.bridge.ReactMethod;
|
||||
import com.facebook.react.bridge.ReadableMap;
|
||||
import com.yandex.metrica.YandexMetrica;
|
||||
import com.yandex.metrica.push.YandexMetricaPush;
|
||||
import com.yandex.appmetrica.push.firebase.FirebasePushServiceControllerProvider;
|
||||
|
||||
|
||||
public class AppMetricaModule extends ReactContextBaseJavaModule {
|
||||
|
||||
@ -53,7 +55,8 @@ public class AppMetricaModule extends ReactContextBaseJavaModule {
|
||||
|
||||
@ReactMethod
|
||||
public void initPush() {
|
||||
YandexMetricaPush.init(reactContext);
|
||||
// YandexMetricaPush.init(reactContext);
|
||||
getReactApplicationContext(), new FirebasePushServiceControllerProvider(getReactApplicationContext())
|
||||
}
|
||||
|
||||
@ReactMethod
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "react-native-appmetrica-next",
|
||||
"title": "Yandex AppMetrica React Native Plugin && AppMetricaPushSDK (fireBase CloudMessage)",
|
||||
"version": "1.0.10",
|
||||
"version": "1.0.11",
|
||||
"description": "React Native plugin for AppMetrica analytics tool",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
Loading…
Reference in New Issue
Block a user