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

Multiple Configuration / Clients by @apemaia99 #47

Open
MihaelIsaev opened this issue Jun 14, 2024 · 1 comment
Open

Multiple Configuration / Clients by @apemaia99 #47

MihaelIsaev opened this issue Jun 14, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@MihaelIsaev
Copy link
Owner

The original idea is by @apemaia99 in #42:

  • Now is possible to load multiple configurations, this is essential in order to send push notifications to different apps.
  • Multiple clients are instantiated based on different configuration provided.
  • FCM.ID is a convenience struct for identifying a specific client with a specific configuration.

Going to publish it in the next major version. For now, it is available in multiple-clients branch.

Thanks @apemaia99, great job!

@MihaelIsaev MihaelIsaev self-assigned this Jun 14, 2024
@MihaelIsaev MihaelIsaev added the enhancement New feature or request label Jun 14, 2024
@MihaelIsaev MihaelIsaev added this to the Version 3.0 milestone Jun 14, 2024
@apemaia99
Copy link

Thanks @MihaelIsaev, as soon as I have some time you will receive another PR to adapt FCM to the new Vapor concurrency standards with Async Lifecycle.

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

When branches are created from issues, their pull requests are automatically linked.

2 participants