Push notification overview
The Flutter SDK wraps push parameter configuration APIs. Push notification functionality relies on the native Android and iOS push capabilities.
Integrate push
Refer to the native platform push documentation. Android currently follows the native Push 2.0 integration flow and supports Huawei Push and FCM in Nexconn. Configure the native Android project as described in the Android push documentation; the Flutter layer does not need to configure vendor push switches.
iOS push
Prerequisites
See iOS Push.
Request push permission
Request notification authorization in AppDelegate. Register for remote notifications to obtain the device token.
Set the device token
The Flutter SDK internally calls the native iOS SDK setDeviceToken method. No manual call is needed.