capacitor-community / privacy-screen

⚡️ Capacitor plugin that protects your app from displaying a screenshot in Recents screen/App Switcher.
MIT License
88 stars 23 forks source link

bug: Pixel 5 not firing #43

Closed danielehrhardt closed 2 years ago

danielehrhardt commented 2 years ago

Plugin version:

2.1.1

Platform(s): Android Pixel 5 API 32 You can use the Android Simulator to reproduce. image

Current behavior: Should fire when the App go into pause. On other Android Phones this fires when i press the square on Android or when i move the App up to see all open Apps.

Expected behavior: The Privacy Screen should fire when you move the App up hold 1-2 Seconds to see the open Apps.

Steps to reproduce: Move the App up hold 1-2 Seconds to see the open Apps.

robingenz commented 2 years ago

Hi @danielehrhardt, i cannot reproduce the problem:

grafik

If you look in the code you will see that I am just setting a simple flag. Maybe the behavior has changed with API 32. But there is nothing I can do about that.

robingenz commented 2 years ago

I close the issue due to inactivity.