question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Motion controls stopped working after Android System WebView 76 update

See original GitHub issue

Fun fact: Yoke was created as no phone-as-PC-gamepad app on the Play Store used to capture device movement.

onDeviceOrientation events are never fired now

Details: https://github.com/rmst/yoke/pull/38#issuecomment-521857892

If you are affected by this, please try downgrading ASW for now and describe your results here.

From Chrome DevTools (remote device inspection over ADB):

[Deprecation] The devicemotion event is deprecated on insecure origins and will be removed in M76, around July 2019. Event handlers can still be registered but are no longer invoked since M74, around April 2019. See https://www.chromestatus.com/feature/5688035094036480 for more details.

Suggestion from Google ~announcement~ “deprecation proposal”:

On a local network, you can test on your Android device using port forwarding to access a remote host as localhost.

… which sucks as phone would usually need to be connected over USB (ADB over Wifi is disabled by most vendor overlays).

Perhaps we could add a proxy server hosted on the phone (since localhost is a secure origin) but this seems like a lot of work. It would be a easier to download the files to the phone (I hope file:// is a secure origin, but am I right?).

Apparently we cannot unconditionally accept unsigned certs, even for LAN, since 2016, if we want the app to be on the Play Store (and, AFAIK, as it’s usually the case with Google, there is no appeal process where we could explain it’s LAN connection). Maybe we could add “certificate error” dialog that users would need to click through every time they open the app, just to satisfy Play Store algorithms.

Another option is to once again fetch orientation events in Java code and everything else in JS, but I’d like to avoid that.

Personally, I’d go for downloading files to phone storage, but I’d like to hear your opinions.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:13 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
pzmarzlycommented, Aug 25, 2019

a warning email

afaik it was a deprecation notice, and now apps are being rejected outright

0reactions
pzmarzlycommented, Oct 25, 2019
Read more comments on GitHub >

github_iconTop Results From Across the Web

SOLVED: Android System WebView Not Updating - YouTube
The Android System WebView won't update error is one of the irritating issues that a lot of Android users occasionally experience.
Read more >
WebView issue is affecting home assistant Android App
Last night my home assistant companion app would not open, and crash immediately. Just saw this post on r/android an then I connected...
Read more >
[ROM][PX5][PX6][PX30][Q][10] Hal9k Mod v5 for MTCx/HCTx ...
I am familiar with the problem of "Android System Webview". I have not updated "Android System Webview" on purpose.
Read more >
How to fix Android System WebView won't update issue?
Fix #1: Force Stop Webview App. · Open Settings app. · Tap Apps. · Tap the Filter button and select All. Make sure...
Read more >
What Is Android System WebView?
You can't uninstall the Android System WebView app from an Android device because it's a system app. You can disable it or uninstall...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found