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.

android9.0 Chrash

See original GitHub issue
  @ReactProp(name = "androidHardwareAccelerationDisabled")
  public void setHardwareAccelerationDisabled(WebView view, boolean disabled) {
    if (disabled) {
      view.setLayerType(View.LAYER_TYPE_SOFTWARE, null);
    } else {
      view.setLayerType(View.LAYER_TYPE_NONE, null);
    }
  }

The tracking code is because the hardware acceleration is not enabled and the setting on the JS side is invalid.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:19 (8 by maintainers)

github_iconTop GitHub Comments

5reactions
vkozineccommented, Jul 16, 2019

Please use react-native-webview with fixed height in your component and check whether the issue exists.

When using AutoHeightWebView with fixed width from style, crash is NOT happening.

For now, we have disabled animations in WIX navigation on screens where we are using AutoHeightWebView without height hardcoded and it works.

Also when using AutoHeightWebView with flex:1 and using whole screen, there is no crash.

0reactions
iou90commented, Sep 29, 2019
Read more comments on GitHub >

github_iconTop Results From Across the Web

Mobile App crashes when using phone with Android 9.0
When using a phone running android 9.0 (such as Pixel 2 or Pixel XL), the RE Mobile App will not load and immediately...
Read more >
Google app crash - Android 9.0.9 - OnePlus Community
There is a bug associated with Parallel apps, that cause Google app to crash at opening, still no solution to it!
Read more >
Recent crashes in Android x86 9.0 r2, probably due to ... - Reddit
Version 10.0.92 was recently crashing in 32 bit Android x86 9.0 r2. The crashes seem to be connected with inbox checking in the...
Read more >
Android 9.0 x86 apps keep crashing - no native bridge
I recently installed Android 9 x86 on a Linx 1010b tablet (Intel processor), and I have had many problems launching certain apps that...
Read more >
Why does this code only crash on 9.0 Pie? - android
Reduce the allocated ram size of pixel 2 xl emulator and increase its internal space by going inside adv manager then restart the...
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