0xf104a / NextcloudServices

Android app to send notifications from Nextcloud without using GCM(Google cloud messaging)
GNU General Public License v3.0
64 stars 11 forks source link

Issue with GraheneOS ? #78

Closed NablaMetal closed 5 months ago

NablaMetal commented 6 months ago

Hello, I don't know why but with my Pixel 7 on GrapheneOS (latest build 2024040900 - Android 14), the last working release of NextcloudServices was 1.0-beta17. 1.0-beta18 crashes instantaneously. 1.0-beta19 just don't display notifications.

Except the reply for talk/spreed notifications, 1.0-beta17 do work (login through the Nextcloud app). Is it possible I misconfigured something ?

thiswillbeyourgithub commented 6 months ago

Hi, also on grapheneos here. Discovered this app recently so I only rester 1.0-beta19 and indeed I never received any notification.

0xf104a commented 6 months ago

Hello, sorry for long response. I would try installing GrapheneOS on my currently unused Pixel 8 and testing app there. Though it would be great if you would be able to provide some logs, if possible

thiswillbeyourgithub commented 6 months ago

Thanks!

I don't see anything relevant but there you go: Nextcloud Services log 9bcdedc4a03b.txt

freeflyk commented 5 months ago

Hi 0x50f13. I'm on LineageOS 21 (Android 14) and have the same problem. I had a look into it and found that the problem lies within the mutable pending intents, for which handling has changed in Android 14 (https://developer.android.com/about/versions/14/behavior-changes-14?hl=en#safer-intents). I implemented a fix which works for my LOS21 and created a pull request.

0xf104a commented 5 months ago

Closed in PR #79

NablaMetal commented 5 months ago

@thiswillbeyourgithub @0x50f13 @freeflyk thanks a lot !

thiswillbeyourgithub commented 5 months ago

Thanks a lot for the fix!

Is there an apk available with this fix? I don't have a compiling setup ready

freeflyk commented 5 months ago

@thiswillbeyourgithub : you can download the automatically generated apk from the actions section oft this repo. You have to be logged in to see the download button...

thiswillbeyourgithub commented 5 months ago

Dear god after years and years on github I shomehow never knew that, thank you so sososo much! The fix works great btw