Skip to content

Instantly share code, notes, and snippets.

@PeterHdd
Created May 4, 2021 15:07
Show Gist options
  • Save PeterHdd/0d2bd2719a227703579afc364448c5c2 to your computer and use it in GitHub Desktop.
Save PeterHdd/0d2bd2719a227703579afc364448c5c2 to your computer and use it in GitHub Desktop.
FirebaseMessaging.onMessage.listen((RemoteMessage event) {
print("message recieved");
print(event.notification!.body);
print(event.data.values);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment