-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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 disabled due to depedencies on proprietary Google Play Services #2301
Comments
Hmmm ... how did you login? You need to login using login flow in order to have push. |
I logged in the only way I thought was possible. Still doesn't explain the error message though which gives the impression that Google Play services are missing, which is not the case. The code there doesn't really make much sense to me. The string resource is obviously not empty so the string object will only be empty if context is null, which is still no indication that Google Play services is missing. Bear in mind I only briefly glanced over the code so there might be some obscure logic to this that I've missed :) |
You're right. @tobiasKaminsky is the latest release gplay flavour? |
I realize now that the
A bit confused as to how you've designed this. |
It's designed this way in order to support building both push-enabled Google Play release and push-disabled F-Droid release. Anyway, let's wait to see what @tobiasKaminsky says if he built a gplay release. |
@tobiasKaminsky You're probably correct then. I think we can mark this as a duplicate of #2335 for sure. |
Hmm. While thinking about this, it seems to be independent for me. Have you installed the app from google play store? |
Hello, |
This request did not receive an update in the last 4 weeks. Please take a look again and update the issue with new details, otherwise the issue will be automatically closed in 2 weeks. Thank you! |
When I launch the Notifications Activity a persistent SnackBar appears at the bottom saying that Push notifications are disabled due to dependencies on proprietary Google Play Services.
Looking at the code, the message is triggered here in NotificationsActivity line 154.
The push_server_url string is hardcoded as
https://push-notifications.nextcloud.com
so I cant quite see the connection between the actual error, the pushUrl string being empty or null, and the snackbar error message.Seeing this on a Pixel 2 XL running Android 8.1 with Google Play services installed.
The text was updated successfully, but these errors were encountered: