You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I currently have a legacy implementation on the backend for using Firebase for web push notifications. It uses the old legacy FCM API, and Google IID service. These are deprecated now and I'm planning to migrate my project away from using them.
However, the migration guides and documentation now state that using the Firebase SDK in the client (browser) is required. Currently, I am not using it. The client is simply subscribing for push notifications in a generic way, using the Web Push Protocol. It then sends the subscription info from that to the backend which uses IID to register it. Only the backend knows about Firebase.
I prefer this approach and would like to preserve it. It allows front to be agnostic as to what backend service is being used, and it reduces dependency bloat, bundle size, etc.
So I'm asking if there is any way to accomplish this migration without radically changing what I'm doing on front. Thank you!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I currently have a legacy implementation on the backend for using Firebase for web push notifications. It uses the old legacy FCM API, and Google IID service. These are deprecated now and I'm planning to migrate my project away from using them.
However, the migration guides and documentation now state that using the Firebase SDK in the client (browser) is required. Currently, I am not using it. The client is simply subscribing for push notifications in a generic way, using the Web Push Protocol. It then sends the subscription info from that to the backend which uses IID to register it. Only the backend knows about Firebase.
I prefer this approach and would like to preserve it. It allows front to be agnostic as to what backend service is being used, and it reduces dependency bloat, bundle size, etc.
So I'm asking if there is any way to accomplish this migration without radically changing what I'm doing on front. Thank you!
Beta Was this translation helpful? Give feedback.
All reactions