Hi
Im trying to get Erels Firemabase example ( As in the his guide )
https://www.b4x.com/android/forum/t...ions-push-messages-server-not-required.68645/
I can compile the code in Erels Hosted Hosted builder .
i have also tested with my own Local Builder.
The example copiles without error.
If i run the the app in the Simulator and on my LocalBuilder it works as it should.
I get the msgbox and i can click okey.
But when i run debug mode or if i make an ReleasApp it wont work .
In debug i can se that i get "FCMConnected" in the log
Im using Erels Sendserver (B4J code ) and the logg says ok.
I dont get any errors when compiling
I have been thrue the Guide a couple of times and i have also done new Provisoning / certification files
But no luck
So how can i findout whats my problem .
I have been reading and testing some of the issues that i could find here in the forum .
But i still have not found out my problem
I have been reading the different files in my keys library and i can se that my project name are there , but with a"1" added on the end
i have called it se.XXX.announcer and in some files i can find that string but then it is se.XXX.announcer1
can that be the problem ?
br
Nizze
Im trying to get Erels Firemabase example ( As in the his guide )
https://www.b4x.com/android/forum/t...ions-push-messages-server-not-required.68645/
I can compile the code in Erels Hosted Hosted builder .
i have also tested with my own Local Builder.
The example copiles without error.
If i run the the app in the Simulator and on my LocalBuilder it works as it should.
I get the msgbox and i can click okey.
But when i run debug mode or if i make an ReleasApp it wont work .
In debug i can se that i get "FCMConnected" in the log
B4X:
Private Sub fm_FCMConnected
Log("FCMConnected")
'here we can subscribe and unsubscribe from topics
fm.SubscribeToTopic("ios_general") 'add ios_ prefix to all topics
End Sub
Im using Erels Sendserver (B4J code ) and the logg says ok.
I dont get any errors when compiling
[jobname=fcm, success=true, username=
, password=, errormessage=, target=class b4j.example.main
, taskid=1, req=anywheresoftware.b4h.okhttp.OkHttpClientWrapper$OkHttpRequest@77afea7d, tag=java.lang.Object@161cd475
, httputils2service=null]
{"message_id":6907713988700167137}
I have been thrue the Guide a couple of times and i have also done new Provisoning / certification files
But no luck
So how can i findout whats my problem .
I have been reading and testing some of the issues that i could find here in the forum .
But i still have not found out my problem
I have been reading the different files in my keys library and i can se that my project name are there , but with a"1" added on the end
i have called it se.XXX.announcer and in some files i can find that string but then it is se.XXX.announcer1
can that be the problem ?
br
Nizze