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.

Dynamic maskElement does not update on Android

See original GitHub issue

Summary

I found a bug on Android where the maskElement does not update when its contents are changed. I do not see the bug on iOS.

Snack

I’ve replicated the bug in this Snack: https://snack.expo.dev/@bcwalk14/dynamic-mask-element.

The maskElement updates to count the seconds on iOS, but it is frozen on Android.

Versions

@react-native-masked-view/masked-view: 0.2.4 Expo: v42.0.0

(I was still able to reproduce the error with 0.2.5 and 0.2.6 of @react-native-masked-view/masked-view)

Additional Context

When I change the Expo version back to v41.0.0, I no longer see the bug where the maskElement is frozen. So, this is a regression. However, it seems like there’s something in the Expo update from v41.0.0 -> v42.0.0 that’s breaking the masked-view on Android rather than a breaking change that was recently committed to the masked-view codebase.

It looks like this same bug has been reported and resolved previously in issues https://github.com/react-native-masked-view/masked-view/issues/67 and https://github.com/react-native-masked-view/masked-view/issues/19.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:3
  • Comments:9

github_iconTop GitHub Comments

1reaction
MariusCatanoiucommented, Jul 8, 2022

For me is working for android on v0.2.6 with androidRenderingMode=‘software’ as a prop. no issue on iOS

Read more comments on GitHub >

github_iconTop Results From Across the Web

Dynamic System Updates (DSU) - Android Developers
Dynamic System Updates (DSU) is a system feature introduced in Android 10 that does the following: Downloads a new GSI (or other Android...
Read more >
Dynamic Island - dynamicSpot - Apps on Google Play
With dynamicSpot you can easily get the iPhone 14 Pro's Dynamic Island notification feature from iOS on your android device! dynamicSpot enables a...
Read more >
View not updating dynamically - android - Stack Overflow
In this project,i want to update the value of textview tv in the main class.The value is changing actually,but not getting visible on...
Read more >
<mask> - SVG: Scalable Vector Graphics - MDN Web Docs
The <mask> element defines an alpha mask for compositing the current object into the background. A mask is used/referenced using the mask ...
Read more >
Unity QA - LTS Releases - Unity
These updates will only cover fixes aimed at improving the stability of the ... Unity 2020.3 is now the legacy LTS; it will...
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