Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Push notifications - Token: undefined #134

Open
KayTX opened this issue Jan 16, 2025 · 2 comments
Open

Push notifications - Token: undefined #134

KayTX opened this issue Jan 16, 2025 · 2 comments
Labels

Comments

@KayTX
Copy link

KayTX commented Jan 16, 2025

Settings menu shows under the "Push notifications" entry:

"Token undefined"

Toggling off/on makes no difference.

Notifications seem to be broken.

@minibits-cash
Copy link
Owner

Notifications are delivered over Firebase messaging so they require at least sandboxed Google Play services (e.g. on Graphene OS) to work. Token undefined means, that device token can not be retrieved and thus push notifications + data push messages necessary for Nostr Wallet Connect won't work.

@AttaInsularis
Copy link

data push messages necessary for Nostr Wallet Connect won't work.

Noticed that app ended up after installing with App Battery Usage: Optimized and therefore restricting background activity unless explicitly whitelisted (afaik that is OK for installation).

But noticed that NWC does not succeed at all (no notification is shown for minutes..) unless I do that manually.
(The NWC request originating in one profile and Minibits installed in another one for FMC to work with.)

Will be great if there is more explicit info letting user know - pushing him to do this whitelisting (switching for Unrestricted).

There is sort of a hint but it's hidden behind 'Show more'.

Image

Would like to have this seamless as possible so do not care about battery drain.

Maybe this will help with experience as well (in my case it's must have otherwise with defaults - no zap get through).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants