Skip to content

Conversation

v0l
Copy link

@v0l v0l commented May 21, 2025

Adds FCM support and makes APNS and FCM both optional backends while defaulting (at registration) to APNS.

closes #18

Also includes refactoring for the url routing to use matchit

@v0l
Copy link
Author

v0l commented May 21, 2025

I dont have a way to test APNS, please test that first

@jb55
Copy link
Contributor

jb55 commented May 21, 2025

is there a way to test this?

@v0l
Copy link
Author

v0l commented May 21, 2025

You mean the FCM part? I did some tests locally with the zap-stream-flutter app.

To test it you need a Firebase account, its probably just as awkward as testing APNS.

I was going to write some instructions here but its pretty involved...

@v0l
Copy link
Author

v0l commented May 21, 2025

I did a test with a simple p tagged kind 1 post using nak:

nak event -k 1 -t p=46f5797187ff5cf4dddb33828fb4e1296a7fd0ce666a3f24cdd454329e201480 -c "Testing from NAK" ws://localhost:8000

Screenshot_1747846644

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature Request] FCM

2 participants