feat(notifications): persist stable deviceId for FCM registration
Add getOrCreateDeviceId() backed by Capacitor Preferences so one UUID survives app restarts and token refreshes. Include deviceId in POST /notifications/register alongside fcmToken, platform, and testMode. Add @capacitor/preferences and lightweight DeviceId logs (no token/ID values).
This commit is contained in:
@@ -148,6 +148,7 @@
|
||||
"@capacitor/core": "^6.2.0",
|
||||
"@capacitor/filesystem": "^6.0.0",
|
||||
"@capacitor/ios": "^6.2.0",
|
||||
"@capacitor/preferences": "^6.0.4",
|
||||
"@capacitor/push-notifications": "^6.0.5",
|
||||
"@capacitor/share": "^6.0.3",
|
||||
"@capacitor/status-bar": "^6.0.2",
|
||||
|
||||
Reference in New Issue
Block a user