In this PR, we start supporting a way to handle push notifications when it arrives on a user's device, and the app is in the foreground. This feature already exists on Android, iOS and Web, but it was missing on FlutterSDK.
Usage
The client needs to implement a function that receives push notification content as a Map.
I updated pusher beam to the latest version and getting this error. @fbenevides
Unhandled Exception: type '_Map<Object?, Object?>' is not a subtype of type 'Map<String, dynamic>' in type cast
In this PR, we start supporting a way to handle push notifications when it arrives on a user's device, and the app is in the foreground. This feature already exists on Android, iOS and Web, but it was missing on FlutterSDK.
Usage
The client needs to implement a function that receives push notification content as a
Map
.Screenshot
Android / iOS working. ("Web" still missing). I've sent those messages using REST API just for testing.
Next steps