Firebase Instance ID provides a unique identifier for each app instance and a mechanism to authenticate and authorize actions (example: sending FCM messages). Instance ID is stable except when: App deletes Instance ID. App is restored on a new device. User uninstalls/reinstall the app.
Read moreHow do I use Firebase messaging service?
Set up a Firebase Cloud Messaging client app on Android
Read more