Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🚀 Feature: Add Content-Available Option for Push Notification Workflow Step #6285

Open
2 tasks done
gigo1980 opened this issue Aug 8, 2024 · 2 comments
Open
2 tasks done
Labels

Comments

@gigo1980
Copy link

gigo1980 commented Aug 8, 2024

🔖 Feature description

Add an option to set content-available flag for push notifications in the workflow step, specifically for iOS devices. This feature would allow specifying that the notification should cause the iOS app to start in the background to run a background task.

🎤 Why is this feature needed ?

This feature is crucial for iOS apps that need to perform background tasks upon receiving a push notification. It allows for more efficient handling of notifications and enables developers to implement features like:

  • Pre-fetching content before the user opens the app
  • Updating app content in the background
  • Performing time-sensitive tasks without user interaction

By implementing this feature, Novu would provide more flexibility and power to developers using the platform for push notifications, especially those targeting iOS devices.

✌️ How do you aim to achieve this?

Add a new boolean option in the push notification workflow step configuration, such as contentAvailable.
When set to true, include the content-available flag in the Apple Push Notification Service (APNs) or Expo Push Notification Service payload.

🔄️ Additional Information

This feature is specifically related to Apple Push Notification service (APNs) and is similar to the Expo property _contentAvailable. It's important to note that this feature only applies to iOS devices and will have no effect on Android or web push notifications.

👀 Have you spent some time to check if this feature request has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

Are you willing to submit PR?

None

Copy link

linear bot commented Aug 8, 2024

@github-actions github-actions bot added the triage label Aug 8, 2024
@hiteshwadhwani
Copy link

I would like to work on this feature

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants