iOS Question Firebase push msg problem

tufanv

Expert
Licensed User
Longtime User
hello

I am having a problem with firebase push messages.

First of all, i tried uninstalling and reinstalling app but the app still does not ask for permission at first start.

Secondly the push mesaages not coming without launching the app. In another app, i use the b4j solution with a server and when i send a push message, when the app is in background, notification comes with a sound. But in firebase no notification comes , only when i launch the app i can see the msg in msgbox( what i want is, message comes to my main screen as a notification with sound) in server aolution i dont have any problem with this but with firebase i cant send any notification with sound.
 

tufanv

Expert
Licensed User
Longtime User
Are you calling:
B4X:
App.RegisterUserNotifications(True, True, True)
App.RegisterForRemoteNotifications
?

Are you sending the message with the B4J sending tool?
Does the topic name start with ios_ ?

Yes I am using b4j tool and the topicname starts with ios_ ( I also verify this with the ifrebase console there is a topic ios_general)

I am NOT calling

B4X:
App.RegisterUserNotifications(True, True, True)
App.RegisterForRemoteNotifications

Are you sure it is in the tutorial because i cant see it , maybe i am missing it.
 
Upvote 0
Top