after two years I was back in programming and a lot of things had been changed mostly FCM notification, so tried to work with your example and I was faced with that error and I have no idea how to fix this or what it wants
help me understand how to send notifications in B4J and B4A
Dim Credentials As JavaObject = GoogleCredentials.RunMethodJO("fromStream", Array(File.OpenInput(FilePath, ""))).RunMethod("createScoped", Array(Array As String("https://www.googleapis.com/auth/firebase.messaging")))