Hello, How can I do to unsubscribe all topics? It seems to me to use the deleteInstanceId method, but I do not know how to do it. Can you help me? Regards.
www.b4x.com
B4X:
Dim jo As JavaObject
Try
jo = jo.InitializeStatic("com.google.firebase.iid.FirebaseInstanceId").RunMethod("getInstance", Null)
jo.RunMethod("deleteInstanceId", Null)
Catch
Log(LastException)
End Try