tateisu / SubwayTooter

Mastodon client app for Android
Apache License 2.0
235 stars 23 forks source link

[Sharkey] Push notifications do not trigger #262

Open fossmanjack opened 5 months ago

fossmanjack commented 5 months ago

Version: 5.545 Device: Motorola Moto G Stylus 5G Android: 13

Behavior

Notifications received by a Sharkey account do not trigger push notifications.

Expected Behavior

Notifications received should trigger push notifications.

tateisu commented 5 months ago

please try "update push subscription" in account serting , then read massage.

2024年4月21日(日) 14:20 Jack Meyers @.***>:

Version: 5.545 Device: Motorola Moto G Stylus 5G Android: 13 Behavior

Notifications received by a Sharkey account do not trigger push notifications. Expected Behavior

Notifications received should trigger push notifications.

— Reply to this email directly, view it on GitHub https://github.com/tateisu/SubwayTooter/issues/262, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACRQ6FAMTDHHVMBFQTNDO3Y6NEABAVCNFSM6AAAAABGRCMEQSVHI2DSMVQWIX3LMV43ASLTON2WKOZSGI2TIOJQG44DOMQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

fossmanjack commented 5 months ago

Result of "update push subscription":

push-notification-error

It would seem Sharkey uses a different API endpoint to subscribe to push notifications.

Pull notifications do work, albeit not as immediately.

tateisu commented 5 months ago

please consider api compatibility issue to your server.

2024年4月23日(火) 3:07 Jack Meyers @.***>:

Result of "update push subscription":

push-notification-error.png (view on web) https://github.com/tateisu/SubwayTooter/assets/102872197/9cd5432c-73e0-44ab-9743-8f15b4fa087e

It would seem Sharkey uses a different API endpoint to subscribe to push notifications.

Pull notifications do work, albeit not as immediately.

— Reply to this email directly, view it on GitHub https://github.com/tateisu/SubwayTooter/issues/262#issuecomment-2070481882, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACRQ6H7S6BJAS3UD4CIMJTY6VGW7AVCNFSM6AAAAABGRCMEQSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZQGQ4DCOBYGI . You are receiving this because you commented.Message ID: @.***>

fossmanjack commented 5 months ago

Something occurred to me -- Sharkey software is a Misskey fork that implements the Mastodon API, not a Mastodon fork, but ST seems to recognize Sharkey as Mastodon (it won't permit checking of Social timeline or Antennas, for example). Could that be responsible for some of these issues?

tateisu commented 5 months ago

ST's misskey support is deprecated.

2024年4月23日(火) 15:29 Jack Meyers @.***>:

Something occurred to me -- Sharkey software is a Misskey fork that implements the Mastodon API, not a Mastodon fork, but ST seems to recognize Sharkey as Mastodon (it won't permit checking of Social timeline or Antennas, for example). Could that be responsible for some of these issues?

— Reply to this email directly, view it on GitHub https://github.com/tateisu/SubwayTooter/issues/262#issuecomment-2071503360, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACRQ6EIFU66HY3VY4AFH6TY6X5VNAVCNFSM6AAAAABGRCMEQSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZRGUYDGMZWGA . You are receiving this because you commented.Message ID: @.***>