Android Question FCM (problem or not)

Status
Not open for further replies.

stanks

Active Member
Licensed User
Longtime User
hi

i was playing with notifications and i noticed one problem (or not). When i put "n.Notify(1)" as last line of code in fm_MessageArrived, app does not crashes. when i put it before "n.SetInfo(Message.GetData.Get("title"), Message.GetData.Get("body"), Main)" (which is now last line of code), app crashes.
is this normal behaviour?

thanks
 

DonManfred

Expert
Licensed User
Longtime User
Upvote 0

stanks

Active Member
Licensed User
Longtime User
yeah i read that few times here on forum but last line of code is n.Notify(1) and not n.SetInfo...
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
Setinfo should be the last BEFORE the Notify

On the other hand it is REALLY HARD to help with this less Info you provide! You say your app crashes, you do not post the full error and you do not provide an example project which shows the issue.
 
Upvote 0
Status
Not open for further replies.
Top