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).
14 KiB
14 KiB