flutterfire icon indicating copy to clipboard operation
flutterfire copied to clipboard

[firebase_app_check]: doesn't pass in Play Store Pre-Launch Report

Open xVemu opened this issue 1 year ago • 6 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues.

Which plugins are affected?

App Check

Which platforms are affected?

Android

Description

I'm using Firebase App Check to protect my backend. When I upload my app to Google Play, it produces Pre-launch report. It contains screenshots with error about unavailable app check token. I can also see in Firebase Crashalytics, that test device reported errors indicating the same issue. Is it possible to use some kind of debug provider in Pre-launch report?

Reproducing the issue

Upload app to play store.

Firebase Core version

2.29.0

Flutter Version

3.19.5

Flutter dependencies

Expand Flutter dependencies snippet

firebase_app_check: ^0.2.2+1

xVemu avatar Apr 12 '24 07:04 xVemu

@xVemu - Difficult to figure out what the issue is without any context or access to the project. Out of curiosity, have you test the app on internal, open or closed testing via Google play console to check that the app works with app check enforcement? i.e. you're able to use plugins where you have enforced app check?

russellwheatley avatar Apr 12 '24 08:04 russellwheatley

@xVemu - Difficult to figure out what the issue is without any context or access to the project. Out of curiosity, have you test the app on internal, open or closed testing via Google play console to check that the app works with app check enforcement? i.e. you're able to use plugins where you have enforced app check?

I'm using closed testing. The issue occurs only when Google performs their automated test on the app. Later, when I download it on my device, everything works fine.

xVemu avatar Apr 12 '24 08:04 xVemu

@xVemu - Could you ask Firebase support why it is failing and provide details from the pre-launch report? It appears to be a configuration issue that isn't solved by a fix on FlutterFire.

russellwheatley avatar Apr 12 '24 08:04 russellwheatley

Hey @xVemu. We need more information to resolve this issue but there hasn't been an update in 7 weekdays. I'm marking the issue as stale and if there are no new updates in the next 7 days I will close it automatically.

If you have more information that will help us get to the bottom of this, just add a comment!

google-oss-bot avatar Apr 23 '24 01:04 google-oss-bot

I've contacted Firebase support, and they told me to add signing key to SHA-256 certificate fingerprint, but it didn't work out. The same issue appears when running with Test Lab inside Firebase Console.

xVemu avatar Apr 24 '24 06:04 xVemu

Hey @xVemu. We need more information to resolve this issue but there hasn't been an update in 7 weekdays. I'm marking the issue as stale and if there are no new updates in the next 7 days I will close it automatically.

If you have more information that will help us get to the bottom of this, just add a comment!

google-oss-bot avatar May 13 '24 01:05 google-oss-bot

Since there haven't been any recent updates here, I am going to close this issue.

@xVemu if you're still experiencing this problem and want to continue the discussion just leave a comment here and we are happy to re-open this.

google-oss-bot avatar May 21 '24 01:05 google-oss-bot