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
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…