Class FirebaseInstanceId


  • public class FirebaseInstanceId
    extends java.lang.Object
    Use it like https://firebase.google.com/docs/reference/android/com/google/firebase/iid/FirebaseInstanceId In the enabled device, it will search for the default FirebaseApp name that TotalCross uses and return it's FirebaseInstanceId instance token. If in a device that is not enabled Firebase (be it lack of configuration file or not yet binded with TotalCross), it will return null. If you are going to deliver a unicast push message, you must retrieve the must recent token and use it. Currently suported platforms:
    • Android
    • Method Detail

      • getToken

        public java.lang.String getToken()