giraffine / Android-Project

Android App
31 stars 11 forks source link

Can't install a package from F-Droid when Dimmer is active. #11

Open vi opened 8 years ago

vi commented 8 years ago

I expect it to be security related. Probably description of Dimmer should include a notice about that.

JonnyTech commented 7 years ago

I have the same problem. If Dimmer's overlay is active then the install button in F-Droid is unclickable thus preventing me from installing any apps. Pausing or quitting Dimmer fixes this. Is this an intentional feature? If so can it be disabled?

vi commented 7 years ago

Alternative dimmer "Red Moon" contains warning and suggests to pause itself for package installation (F-Droid or any other).

Typically such dimmers work by overlaying half-transparent view atop of all content. This overlaying is not compatible with secure buttons like "Install this package".

JonnyTech commented 7 years ago

Thanks for the feedback, it makes perfect sense now.

Rudxain commented 1 year ago

@vi , please close this issue. This is an Android security feature. The "accessibility service" gives so many privileges to apps, that the system prevents them from installing arbitrary executables. If Android had a dedicated permission for full-screen overlays, that security feature wouldn't be needed

vi commented 1 year ago

The issue is indeed a duplicate of #7.

Maybe it should be re-tooled to ask for documenting the limitation? For example, in "Red moon" app I see "Turn off to install apks" text in the notification.

Rudxain commented 1 year ago

I agree. I'll add that note to my PR (#19)

vi commented 1 year ago

The project does not seem to be maintained, so a fork may be needed to update it in F-Droid.

Rudxain commented 1 year ago

The project does not seem to be maintained

It seems that's true. That's kinda sad :(

so a fork may be needed to update it in F-Droid.

I've never published apps to F-Droid (nor G Play Store, for that matter). And, AFAIK, only the original dev can update the description, unless we make a "community edition" and post it as a different app