Italian [B4A]Firebase notifiche in ForegroundQualche consiglio

zenlab

Member
Licensed User
Longtime User
Ciao, ho questo mistero:
in FirebaseMessaging ho inserito questo codice:
B4X:
Sub fm_MessageArrived (message As RemoteMessage)
    Sleep(0)
    Return
End Sub
se l'app è aperta, quando invio un messaggio fa esattamente quello che mi aspetto ovvero: niente
se l'app è in background (Foreground) mi genera una notifica!!
il problema è che non so più cosa fare per gestire le notifiche quanto l'app è avviata ma in foreground...
 
Top