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

Add @zemble/push-expo and support provider strategies #91

Merged
merged 7 commits into from
May 26, 2024

Conversation

robertherber
Copy link
Member

@robertherber robertherber commented May 19, 2024

Adds @zemble/push-expo as a first push notification library as a first. @zemble/push-apple (or maybe @zemble/push-onesignal) is next up to support native iOS apps and extensions. It is provided with a common interface to make it easy to interact with.

For this we need provider strategies which are configured on app level, so a first implementation of this has been added, with the following options:

  • last (default, the last configured provider will be used)
  • all (all providers will be used - if we for example have an app supporting both apple and expo push notifications)
  • failover (the last provider will be used - but if it fails the others will be attempted in LIFO order, good for avoiding single-point-of-failures for system-critical providers)
  • round-robin (if you want to distribute usage across multiple provider implementations, for example to reduce load)

Copy link

changeset-bot bot commented May 19, 2024

🦋 Changeset detected

Latest commit: d17b6f3

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 32 packages
Name Type
@zemble/auth Patch
@zemble/core Patch
create-zemble-plugin Patch
@zemble/logger-graphql Patch
@zemble/mongodb Patch
@zemble/pino Patch
@zemble/push-expo Patch
@zemble/utils Patch
@zemble/auth-anonymous Patch
@zemble/auth-api-token Patch
@zemble/auth-apple Patch
@zemble/auth-otp Patch
@zemble/bull Patch
@zemble/cms-users Patch
@zemble/cms Patch
@zemble/debug Patch
@zemble/firebase-auth Patch
@zemble/supabase Patch
@zemble/todo Patch
minimal Patch
@zemble/apple-app-site-association Patch
@zemble/bun Patch
@zemble/email-resend Patch
@zemble/email-sendgrid Patch
@zemble/graphql Patch
@zemble/ignite Patch
@zemble/kv Patch
@zemble/migrations Patch
@zemble/node Patch
@zemble/routes Patch
supplement-stack Patch
todo-app-with-auth-backend Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@robertherber robertherber merged commit 17be554 into main May 26, 2024
15 checks passed
@robertherber robertherber deleted the expo-push-and-multiproviders branch May 26, 2024 10:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant