This commit is contained in:
Andrey Bondarenko
2021-02-16 14:53:17 +10:00
parent 35de516c53
commit 1c20bd5a97
2 changed files with 3 additions and 2 deletions

View File

@@ -56,7 +56,8 @@ public class AppMetricaModule extends ReactContextBaseJavaModule {
@ReactMethod
public void initPush() {
// YandexMetricaPush.init(reactContext);
getReactApplicationContext(), new FirebasePushServiceControllerProvider(getReactApplicationContext())
YandexMetricaPush.init(getReactApplicationContext(),
new FirebasePushServiceControllerProvider(getReactApplicationContext()));
}
@ReactMethod