You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With some recent testing over iOS, I found the device token generated at the start of the Flutter App instance is getting stored in the device's filesystem, in the Cache.db database inside the application sandbox, in an unencrypted format.
token={{token_value}}
Is there any way to avoid it ?
Reproducing the issue
Run a flutter app, having push notification service using FCM enabled.
After the app runs successfully, go the path
~/Data/Application/<APP ID>/Library/Caches/<PACKAGE ID : com.myapp...>/Cache.db
Open the Cache.db file with any SQL DB viewer software, I have used SQLite.
Under the tables, you can see some data like : token={{token_value}}
Firebase SDK Version
10.29.0
Xcode Version
16.2
Installation Method
CocoaPods
Firebase Product(s)
Messaging, AB Testing, Analytics, App Distribution, Crashlytics, DynamicLinks, Performance
Targeted Platforms
iOS
Relevant Log Output
If using Swift Package Manager, the project's Package.resolved
Expand Package.resolved snippet
Replace this line with the contents of your Package.resolved.
If using CocoaPods, the project's Podfile.lock
Expand Podfile.lock snippet
Replace this line with the contents of your Podfile.lock!
The text was updated successfully, but these errors were encountered:
Description
With some recent testing over iOS, I found the device token generated at the start of the Flutter App instance is getting stored in the device's filesystem, in the Cache.db database inside the application sandbox, in an unencrypted format.
token={{token_value}}
Is there any way to avoid it ?
Reproducing the issue
~/Data/Application/<APP ID>/Library/Caches/<PACKAGE ID : com.myapp...>/Cache.db
Firebase SDK Version
10.29.0
Xcode Version
16.2
Installation Method
CocoaPods
Firebase Product(s)
Messaging, AB Testing, Analytics, App Distribution, Crashlytics, DynamicLinks, Performance
Targeted Platforms
iOS
Relevant Log Output
If using Swift Package Manager, the project's Package.resolved
Expand
Package.resolved
snippetReplace this line with the contents of your Package.resolved.
If using CocoaPods, the project's Podfile.lock
Expand
Podfile.lock
snippetReplace this line with the contents of your Podfile.lock!
The text was updated successfully, but these errors were encountered: