Я запускаю код инициализации App-check в классе приложения Android при обратном вызове Create:
Код: Выделить всё
FirebaseApp.initializeApp(this);
FirebaseAppCheck.getInstance().installAppCheckProviderFactory(
BuildConfig.DEBUG ?
DebugAppCheckProviderFactory.getInstance() :
PlayIntegrityAppCheckProviderFactory.getInstance(), true);
Код: Выделить всё
implementation 'com.google.firebase:firebase-appcheck-debug:18.0.0'
implementation 'com.google.firebase:firebase-appcheck-playintegrity:18.0.0'
Подробнее здесь: https://stackoverflow.com/questions/791 ... debug-mode
Мобильная версия