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
Not all installed Apps are displayed #2
Comments
I am having the same issue. Previously, I was using vanilla gadgetbridge and I saw all the apps. I checked permissions. Specifically, I enabled all app permission in app info and allowed notification access. Also disabled battery optimization, but that's probably unrelated. Any other permissions I could check? |
I can confirm the same issue running LineageOS 18.1 / Android 11. |
Ok, just to be clear we're talking about Android Apps in
Is it possible that the apps only get shown in that list when they actually create a notification? I guess I'm wondering whether the normal Gadgetbridge works exactly the same way, but that you just didn't notice because by the time you'd looked in the menu, enough apps had created notifications? |
Yup.
I'm missing many apps in the list that regularly create notifications.
As far as I remember the list in the regular Gadgetbridge app is complete and shows all apps on the device, even without them having created any notifications. I could do a clean install of the normal Gadgetbrigde app and confirm if you want, but I'm pretty sure that was the case. I've seen talk that this might be a permissions issue, and if so it might be related to another problem I've seen with the Bangle.js Gadgetbrigde: it doesn't ask for permissions on first start. The regular app does this without problems, but with the Bangle.js app I (and I've seen others report the same) need to go into Android settings and enable all the permissions manually. I'll open a separate issue for that soon. |
Does it pop up a dialog saying it's going to ask? That's something I had to add specifically for the Play Store, and I just tested and it seems to work ok here. Specifically you get sent to somewhere where you have to give it |
Yes, giving notification access works as it should. It's just all the regular Android permissions (Calendar, call logs, etc) that aren't asked for on the Bangle.js app but works without issue on the regular GB app. |
Do you still get a dialog asking you? But just when you click 'ok' nothing happens? |
No dialog at all. |
Ok, well that's interesting then. It'd be really helpful if you or someone else who has this issue could try and step through the code in ControlCenterv2 (specifically checkAndRequestPermissions) and try and figure out what's going wrong then, because this works for me. In my case, it all seems fine however after I click Ok on the dialog, ... but if you don't get a dialog it's either because it's not the first time you started, or somehow Gadgetbridge thinks it already has all the permissions it needs |
Just noticed something odd here too. I wasn't getting Looks suspiciously like the change from SDK 29 to SDK 30 might be the issue: https://stackoverflow.com/questions/34709873/packagemanager-namenotfoundexception/69925975#69925975 I'd stupidly thought that just bumping the SDK was fine but it seems it breaks it! I'll see if I can push a new build that uses SDK 29 |
Well this sucks. Looks like I have to submit to the play store with SDK 30 :( However I can request QUERY_ALL_PACKAGES permission which seems to fix this. I'll try and get this in the next release |
Ok, 0.67.1b-banglejs is now rolled out so should update on Google Play soon. Pretty sure this is fixed now, but please reopen if it's not :) |
Can confirm that 0.67.1b-banglejs shows all installed apps. |
Before reporting a bug, please confirm the following:
I got Gadgetbridge from:
Your issue is:
If possible, please attach logs! that might help identifying the problem.
Click to see my log under this fold
Your wearable device is:
Bangle js 2 v14
Your Android version/manufacturer flavor is:
Samsung Galaxy A50, Android 11
Gadgetbridge Version
0.67.1a-banglejs
Commit 6fb22b9
When installing the Bangle.js Gadgetbridge app from the Playstore, the list of all Apps does not contain all Apps. (feels like only the default installed one.)
i gave the app every permission i could find in the Android settings.
Incoming notifications from Apps that are not listed are always shown, but does not have the right icons. The absent of the notification is then allways "messages"
After a few days, some of the Apps are available in the list. Mainly these apps with a lot of notifications triggerd.
I don't have any idea why this could be the case or how to solve it, but i would like to get this out of the long discussion from the forum: http://forum.espruino.com/conversations/370708/
The text was updated successfully, but these errors were encountered: