Questions tagged [google-play-integrity-api]

78 questions
0
votes
0 answers

How to use Firebase App Check Play Integrity Debug Token?

Following the documentation, we are struggling to make it work with Firebase App Check using a Debug Token for App Check. Currently this is what we ended up upon following the docs. build.gradle (submodule) defaultConfig { …
0
votes
0 answers

Can you use Firebase Phone Auth without Play Integrity?

We recently encounter an issue with the new Firebase Auth version. We are using it for years, unfortunately SafetyNet has been deprecated and we are now force to use other attestation one of which is the new Play Integrity. We never want to limit…
0
votes
0 answers

Google Play Integrity API Works in Debug but fails in Production

The final solution in this post was amazing and saved me tons of work and helped me to better understand the API: https://stackoverflow.com/a/72511785/12622090 When I run my app on a real device using WiFi pairing from Android studio, everything…
danny
  • 9
  • 2
0
votes
0 answers

Google play integrity. Error -2 IntegrityServiceException

We are running Google play Integrity to check if the device has all the security requirements we need. However, we seem to be getting this error on Samsung devices running Android 13 Non-fatal Exception:…
0
votes
1 answer

PlayIntegrity response decryption got javax.crypto.AEADBadTagException: error:1e000065:Cipher functions:OPENSSL_internal:BAD_DECRYPT

I am trying to decode the response from Google Play Integrity in Android client. I followed the steps from here. Decoding from server works however decoding locally results in this exception: stackTrace = {StackTraceElement[18]@28628} 0 =…
rysv
  • 2,416
  • 7
  • 30
  • 48
0
votes
0 answers

Android Kotlin Error getting App Check token using placeholder token instead. Error: com.google.firebase.FirebaseException: Too many attempts

I am following this docs to integrate firebase AppCheck to my android app, and I saw an issue. Maybe because of Too many attempts my app is reached out of quota very soon. I tried to research, debug 3 days but could not find any solutions for…
Binh Ho
  • 3,690
  • 1
  • 31
  • 31
0
votes
0 answers

Android Firebase App Check Error while retrieving information from server. DF-DFERH-01

I followed exactly this instruction to integrate Firebase AppCheck to my app but got an issue. Instruction: https://firebase.google.com/docs/app-check/android/play-integrity-provider UID: [10617] PID: [30051] IntegrityService :…
0
votes
0 answers

Is there any way to bypass recaptcha verification when using PhoneAuth in Firebase with paying for Google Cloud Console

I am using OTP verification for my Android device, and while everything works and I can receive the OTP, the browser reCAPTCHA occurs, and I am taken to the next stage in my app. This doesn't seem like a problem, but the inner code of…
0
votes
0 answers

How to check google api's status

I have enabled Google Play Integrity API on my google cloud project for my Android app. So is there any way to check the google api's status through code, whether it is enabled or disabled? Any help will be appreciated!!
sanil
  • 482
  • 1
  • 7
  • 23
0
votes
0 answers

Where to safely store Google Service Account .json file for Play Integrity API?

Can the service account .json file be stored on the Android app side or the App server? if on the app server, I am using an on-prem server. Is it safe to store here? Thanks in advance.
0
votes
0 answers

Can't exclude devices from Google Play when integrity is not MEETS_STRONG_INTEGRITY

Looking at https://developer.android.com/google/play/integrity/additional-tools At the end of the page, it explains how to exclude devices from seeing your app in the store if the device does not meet MEETS_DEVICE_INTEGRITY and/or…
0
votes
0 answers

Issue with run Google Play Intergity code on Google Cloud Functions

I'm trying to run a next code on Google Cloud Functions platform: Gradle: apply plugin: 'java' repositories { mavenCentral() } configurations { invoker } java { sourceCompatibility = JavaVersion.VERSION_17 targetCompatibility =…
0
votes
1 answer

Could Recaptcha Enteprise be replaced by Play Integrity API?

I was reading about two technologies - Recaptcha Enteprise and Play Integrity API. As far as I read correctly they are both based on machine learning and are preventing from bot accounts and other fake movements. Is that correct? Are they working…
0
votes
1 answer

Firebase Phone Auth opening reCAPTCHA Page before sending OTP

I am implementing Firebase Phone Authentication in my React Native Application but after implementing it it is opening reCAPTCHA page to verify I am not a robot before sending me a OTP which is kind of annoying and i have already added SHA-1 and…
0
votes
1 answer

You are not authorized to decode the requested integrity token while decoding play integrity token

I have followed all the steps outlined in https://developer.android.com/google/play/integrity/setup#integrate-into-app to add Play Integrity to my Android library. Configured the app using this library as documented as…