Process Flow - Device token management
App starts
Request device token
Receive token from Firebase
Store token in database
Use token to send notifications
Token refresh event?
Yes→Get new token
Update token in database
End
The app requests a device token from Firebase, stores it, uses it for notifications, and updates it when refreshed.