react-native-push-notification / ios

React Native Push Notification API for iOS.
MIT License
741 stars 285 forks source link

[FEATURE QUESTION] Does this package has support for `criticalAlerts`? #225

Closed Roka20012 closed 3 years ago

Roka20012 commented 3 years ago

Check this link -> apple critical alerts

My question is, does this package support this feature?

Naturalclar commented 3 years ago

@Roka20012 Thanks for raising the issue. At the moment this package does not support apple critical alerts, but it would be nice to implement it for the future release. I'll look into it.

dan-lee commented 3 years ago

I tested critical alerts and they just work without any extra implementation.

The .entitlements file needed an extra key though:

  <key>com.apple.developer.usernotifications.critical-alerts</key>
  <true/>