Open Tom3652 opened 2 months ago
Hi @Tom3652 , Did the upgrade resolve this issue?
Hi ! Unfortunately not i am afraid :/
Can you provide a sample code and steps to reproduce this issue?
Well in my production app i only have this code :
FirebaseAppCheck.instance.activate(
appleProvider:
!kReleaseMode ? AppleProvider.debug : AppleProvider.appAttest,
androidProvider: !kReleaseMode
? AndroidProvider.debug
: AndroidProvider.playIntegrity);
in main.dart
after initializing firebase app, and i am calling :
try {
appCheckToken = await FirebaseAppCheck.instance.getToken() ?? "";
} catch (error) {
AnalyticsAPI.logError(error, reason: "Could not fetch app check token");
}
Where AnalyticsAPI.logError
is my function that records the error in Crashlytics.
Note : i have no swift code or any custom native classes.
Getting the same issues here, not all users but enough.
firebase_app_check: ^0.3.1+2
Hey @Foxsterc is it also only on iOS 18 for your users ?
Is there an existing issue for this?
Which plugins are affected?
App Check
Which platforms are affected?
iOS
Description
I am getting this crashlytics log on my live app since my users have upgraded to iOS 18 :
It seems that the code is unable to use the
App Attest key
to create ablock of data
.I have seen some existing issues in the Firebase iOS SDK but it doesn't seem to be exactly the same as mine (per the function name and the iOS 17 users).
For me it working fine until iOS 18 since i monitor my live app more or less every day.
Reproducing the issue
I could not reproduce it locally even on my iOS 18 app in debug mode, but in release mode i have more or less 50 logs in Crashlytics since the iOS 18 release
Firebase Core version
3.4.0
Flutter Version
3.24.3
Relevant Log Output
Additional context and comments
I also see that i am using the
3.4.0
instead of3.5.0
but i am not sure if this change includes the solution for App Check... In any case i will upgrade for my next release today and see if it's still happening