Supporting multiple api keys for multiple apps
Hey,
Current implementation resolves fcm channel with the fcm key from the services config, which, at least within my knowledge with the framework, stops me from setting a custom api key (or an alias for that api key for that matter) for a specific notification.
What would be the best way to achieve supporting multiple api keys within a single laravel project?
That functionality currently doesn't exist with this package.
Any suggestions on a how-to?
If you store your key into services config, you can do this before creating the fcm instance (maybe in the notification constructor)
config(['services.fcm.key' => "NEW_KEY"]);
https://github.com/ankurk91/fcm-notification-channel