-
Notifications
You must be signed in to change notification settings - Fork 119
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
Add support for new UnifiedPush specifications, and fallback to the previous ones. #98
base: main
Are you sure you want to change the base?
Conversation
And fallback to AND_2
Note that in order for BRING_TO_FOREGROUND to work in modern Android without being blocked by PackageManager, you need this in the
Otherwise the receiving app is never visible, and it will never end up calling the Service :) |
Indeed, that explain why it failed sometimes. Surprisingly:
<queries>
<intent>
<action android:name="org.unifiedpush.android.connector.NEW_ENDPOINT" />
</intent>
</queries> |
In my case it was blocking actions from ntfy to the app, I'm not sure exactly why this specific intent was blocked while the others were fine. Unfortunately PackageManager doesn't explain itself when it blocks :D |
@binwiederhier mayb its time to finally update ntfy and ntfy server? |
The specifications where updated recently: https://codeberg.org/UnifiedPush/specifications/pulls/1
Mainly it adds