Samuel
@samuel.fm
And whatever expo-notifications uses for iOS. I don’t even know
1However I do have a backend set up so if I had to that it wouldn’t be the end of the world
1 1Am looking into that as well. What endpoint are you registering device tokens against? At least on iOS you cannot register decices against the official bsky backend because of differing signing keys (app, backend).
1 1Could you generate a FCM Registration Token and register that instead? I believe it then connects to APNs through FCM firebase.google.com/docs/cloud-m...
There's a APNs authentication key but maybe their backend accepts any push token?
1 2Even if you connect your FCM to your APNS account (which is possible), how are you getting the notifications from Bluesky to YOUR FCM instance?
2 2By Bluesky I mean the bsky backend „Servers“
1 2✨expo-notifications✨
1 1As far as I understand the library it only handles the client-side of push notifications. The issue I have is that i don’t see a way to enable bsky to push notifications to firebase/apns that then get delivered to 3rd party apps. For that to work bsky would need the 3rd party‘s push certificate.
1Hmm not sure. The way the official app works is that it gets the device push token and sends it to bsky
2 1Yeah and then bsky sends the push notifications using that token and a shared certificate (shared btw app and backend). APNS checks if the app it sends the notifications to has a matching certificate. That’s the problem I see. 3rd party apps have their own push credentials.
1 2Ah I see. @ansh.bsky.team how's this supposed to work then?
1 2There was a thread about this on discord on which they essentially said you need to setup your own backend and work the firehose :(
1 1I believe they just connect your token to their instance and you should receive the notifications from the SDK listeners (I'm just thinking here, haven't implemented notifications either but there's a lexicon github.com/bluesky-soci...
https://github.com/bluesky-social/atproto/blob/main/lexicons/app/bsky/notification/registerPush.json
github.com
@mozzius.dev have you gotten this lexicon to run and are you using it? I looked into it, but it seems to me that this is bsky app internal.
1 2