Hey,
i found this code in the forum. The problem is that you should use the Threading Lib., isn't there a way to do this through the Wait For function?
or is there a better way to do this?
i found this code in the forum. The problem is that you should use the Threading Lib., isn't there a way to do this through the Wait For function?
FirebaseNotifications - unsubscribes all topics
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