Skip to content
This repository has been archived by the owner on Oct 28, 2024. It is now read-only.

[Bug] No push notifications after reinstalling #969

Open
Leah96xxx opened this issue Jan 16, 2024 · 7 comments
Open

[Bug] No push notifications after reinstalling #969

Leah96xxx opened this issue Jan 16, 2024 · 7 comments
Labels
bug Something isn't working

Comments

@Leah96xxx
Copy link

Describe the bug

After reinstalling Megalodon to troubleshoot #964 and #965, Megalodon is no longer sending push notifications. I have ensured that the app has notification permission, ensured notifications are enabled in the app, and have reinstalled several times, but the issue persists. I am still getting push notifications from the official Mastodon app, but not Megalodon. Even without Mastodon installed to prevent conflicts, I still don't get push notifications from Megalodon.

Given that this occurred after a reinstall, I'm wondering if this is related to #965.

To reproduce

Steps to reproduce the behavior:

  1. Reinstall Megalodon
  2. Allow notification permission and check they're enabled in-app
  3. Dont get push notifications

Does this happen in the official app?

Does this issue also occur with the respective upstream release?

No (Mastodon Play Store latest)

Screenshots and screen recordings

N/A

Version

Megalodon version: 2.1.6+fork.110 (110) (Play Store latest)

Crash log

N/A

@Leah96xxx Leah96xxx added the bug Something isn't working label Jan 16, 2024
@PurpleStephyr
Copy link

PurpleStephyr commented Jan 27, 2024

I think I'm also seeing this bug (or something similar). After migrating data to a new phone, push notifications didn't work. I've tried uninstalling, reinstalling, etc, but haven't been able to get them working.

@PurpleStephyr
Copy link

Another datapoint here is that I can't reproduce this issue when building from source and running via android-studio. I don't hit #965 doing this either, which leads me to believe the two bugs are probably related somehow. Some data is probably being saved somewhere it shouldn't be, which is causing the app to misbehave on reinstall.

@Leah96xxx
Copy link
Author

I tried installing from F-Droid just to test, and I can confirm that notifications still don't work. I don't encounter #965 when installing from F-Droid though.

@PurpleStephyr
Copy link

I may have found another way to reproduce this bug (or maybe it's a separate issue, not sure), which is to enable and disable unified push. Specifically, what I did was:

Install ntfy
Enable unified push
Uninstall ntfy (seems to have automatically disabled unified push setting)

Hopefully I'll have some time this weekend to experiment with it.

@DeepBlueBubble
Copy link

DeepBlueBubble commented Mar 19, 2024

Same here, this bug happens to me started few versions ago. Reinstalling, clean data, switch over to unified push, nothing works.

@teatwig
Copy link

teatwig commented Mar 19, 2024

Funnily enough push notifications suddenly started working again for me last week after being broken for ~3 months.
I didn't change anything and since there was no update I'm not quite sure what could've fixed it.

@Leah96xxx
Copy link
Author

Leah96xxx commented Jun 1, 2024

I finally got round to setting up a Unified Push system, and confirmed that notifications from Megalodon still don't work even with that. Unified Push works, but Megalodon doesn't.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants