katayama8000 / expo-push-notification-client-rust

Official Expo Push Notification Client for Rust
https://crates.io/crates/expo_push_notification_client
Apache License 2.0
24 stars 4 forks source link

add _contentAvailable to request #128

Closed saman3d closed 1 month ago

saman3d commented 1 month ago

When this is set to true, the notification will cause the iOS app to start in the background to run a [background task](https://docs.expo.dev/versions/unversioned/sdk/notifications#background-notifications). we need this field to wake the app up when its in background or closed.

saman3d commented 1 month ago

Additionally, fields are defined in snake_case in Rust, which contradicts the documentation and the Node.js implementation by Expo (as seen in this code), where they are in camelCase