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?
Notification object rewritten to work with targetSdkVersion 26. In most cases you don't need to change anything. Notification.SetInfo or Notification.SetInfo2 should be the last calls before you show the notification.
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.