-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[📚] [firebase_app_check] Play Integrity Support #9178
Comments
@cnkygmr I am not sure that is a true position that the plugin does not support Play Integrity - it does. I have built an app that uses the plugin and is correctly setup to use both Play Integrity and SafetyNet. Here is a screenshot from Firebase Console Here is the Flutter App Check documentation https://firebase.google.com/docs/app-check/flutter/default-providers have you had a chance to see this? Essentially to setup both Play Integrity and SafetyNet you just need the SHA-256 certificate fingerprint of both your development and production keystores Cc @darshankawar |
@ronnicknachok I mean, when you browse the codes, there is nothing about playintegrity, there is only safetynet, this safety net is going up, google sent mail, I want you to change this code with safetynet. You can check it out here: Lines 73 to 82 in 7132d77
When you activate the code, only safetynet works.
I activated playintegrity with this code, but this time firebase initializes 2 times.. Becabuse i used in main.dart
As a result, when you use the firebase_app_check plugin, it only uses safetynet. |
@cnkygmr I think this is because you are mixing two implementations from your code above I can see Kotlin code sample from https://firebase.google.com/docs/app-check/android/play-integrity-provider#initialize which means you used the Android version of integration and not the Flutter version. The Flutter version does not require adding the Kotlin code. By any chance in your build.gradle on Android project..do you have this entry implementation 'com.google.firebase:firebase-appcheck-playintegrity' ? As per this documentation https://firebase.google.com/docs/app-check/flutter/default-providers once you
Also this is an important read https://developer.android.com/google/play/integrity/setup#apps-on-google-play. Let me know if this helped or moved further from your question. Setting up Play Integrity with Flutter is as easy as one line of code. |
@ronnicknachok
but I showed you the code, when you use this code, only safetynet is active |
Please describe your documentation issue or suggested improvement in detail here and provide links to any pre-existing/relevant documentation and screenshots if necessary:
While examining it, I noticed that this plugin does not support Play Integrity. And I wonder when it will be added.
The text was updated successfully, but these errors were encountered: