change doc
This commit is contained in:
@@ -19,7 +19,6 @@ 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 {
|
||||
@@ -55,9 +54,7 @@ public class AppMetricaModule extends ReactContextBaseJavaModule {
|
||||
|
||||
@ReactMethod
|
||||
public void initPush() {
|
||||
// YandexMetricaPush.init(reactContext);
|
||||
YandexMetricaPush.init(getReactApplicationContext(),
|
||||
new FirebasePushServiceControllerProvider(getReactApplicationContext()));
|
||||
YandexMetricaPush.init(reactContext);
|
||||
}
|
||||
|
||||
@ReactMethod
|
||||
|
||||
Reference in New Issue
Block a user