Closed mortenmo closed 6 months ago
@mortenmo Good idea, getting this working for the web should be easy. For react-native / expo as long as a deviceToken and deviceType are set it should work with Parse.Push
out of the box.
@mortenmo I added Push notification for web support if you want to check it out
https://github.com/parse-community/parse-server-push-adapter/pull/239
@dplewis nice! looking forward to try it out. I'm using Expo push (https://docs.expo.dev/push-notifications/sending-notifications/) on React Native/Expo for mobile so I'll migrate my custom notification code to use the push adapter there too when this all merges.
New Feature / Enhancement Checklist
Current Limitation
Other Parse SDKs (Swift/Kotlin, etc) supports the
Installation
object to handle push notifications etc. There seems in the JS SDK there is just a minimal implementation.Feature / Enhancement Description
Similar to the phone SDKs, handle maintaining the Installation object per installation. Things like device type, tokens etc could be handled in similar ways probably relying on react native libraries for react native at least.
This isn't really asking for new functionality beyond what is available in other SDKs.
Alternatives / Workarounds
You could probably handle this all manually today.
3rd Party References
In the other SDKs built for Mobile.