LibreShift / red-moon

Android screen filter app for night time phone use.
GNU General Public License v3.0
653 stars 82 forks source link

Red Moon prevents Google 2FA login confirmation being clicked #293

Open austinhuang0131 opened 3 years ago

austinhuang0131 commented 3 years ago

Steps To Reproduce

  1. I have Google Play Services. I also have a Google account that requires login confirmation in the form of a phone notification.
  2. Log into Google on some other device.
  3. Notification comes up telling me to select Yes or No.
  4. Click "Yes" or "No".

Expected behavior: Click gets recognized

Actual behavior: Click does not get recognized (pausing Red Moon does mitigate it)

Additional description/details (optional)

Device info:

smichel17 commented 3 years ago

This is expected -- read the explanation under "Pause in excluded apps". Google 2FA login is one such app.

114 is about making this explanation more obvious (amongst other things), but also see #281.

If you can gather some information about the Google 2FA login app, then I can add it to the list of apps where Red Moon excluded from filtering by default. If you are able to get a log, Red Moon logs the info I would need if you enable the "Pause in excluded apps" feature. Look for a line starting with "Current app is:". If you don't know how to get a log, I can find instructions to link you to (or maybe you can; I'm pretty sure I have explained in other issues on this repo. Search term: logcat).

austinhuang0131 commented 3 years ago

I tried adb logcat but it does not return such line.

I think it's com.google.android.gms, but also for the affected view, the back button (on the top-left in the MenuBar edit: ActionBar) does work, just not the two buttons in the view (it seems to be WebView?) below

austinhuang0131 commented 3 years ago
05-17 09:23:03.550 18936 18996 I Whitelist: On WL? null -- app: App(packageName=com.google.android.gms, className=com.google.android.gms.octarine.ui.OctarineWebviewActivity)