[firebase_app_check]: Firebase AppCheck Token Retrieval Issue on iOS #13438
Labels
blocked: customer-response
Waiting for customer response, e.g. more information was requested.
closed-by-bot
platform: ios
Issues / PRs which are specifically for iOS.
plugin: app_check
Stale
Issue with no recent activity
type: question
A question where further information is requested
Is there an existing issue for this?
Which plugins are affected?
App Check
Which platforms are affected?
iOS
Description
We are experiencing significant delays in retrieving Firebase AppCheck tokens on iOS devices. The token retrieval process is taking between 300ms to 500ms, which seems unusually slow compared to the performance on Android devices. This delay occurs consistently, even when retrieving cached tokens.
Reproducing the issue
Implement Firebase AppCheck in an iOS application.
Measure the time taken to retrieve an AppCheck token.
Repeat the token retrieval process multiple times.
Compare the results with the same process on an Android device.
Observations:
iOS devices (both simulator and real devices in release mode) consistently show 300-500ms retrieval times.
Android devices show an initial delay, but subsequent retrievals are much faster (1-10ms).
The slow retrieval on iOS persists even when fetching the same (presumably cached) token.
Test Environment:
iOS Version: 18.0
Tested on both iOS simulator and real devices in release mode
Firebase Core version
3.6.0
Flutter Version
3.24.3
Relevant Log Output
IOS
ANDROID
The text was updated successfully, but these errors were encountered: