Quantcast
Channel: Active questions tagged react-native+android - Stack Overflow
Viewing all articles
Browse latest Browse all 30347

React Native, Expo Android Build: Error While Updating Property X in shadow node of type RCTY

$
0
0

I built an app using React Native through Expo SDK 36 and built an apk and an aab for Android on SDK 29 (Android 10).The build worked perfectly on Expo Simulator (Android and iOS).

The android build is currently on the app store and it works for devices such as Samsung S10 and Xiaomi (tested so far), however, it doesn't work on my Google Pixel 4 with Android 10.

Issue from Android Stack Trace:

RuntimeException: Expo encountered a fatal error: Error while updating property 'allowFontScaling' in shadow node of type: RCTText. https://i.stack.imgur.com/nkA51.png

I have sometimes also seen:

RuntimeException: Expo encountered a fatal error: Error while updating property 'height' in shadow node of type: RCTView.

After downloading the app from the app store onto an emulated Pixel 2 with Android 10, the same issue persists. Works on Android 9 though.

Question: I have read several posts on the issue I'm having, and most of them say that property X is being set to a string instead of an int, or some type mismatch. However, I have searched my whole code-base and didn't find anything where there is a parameter type mismatch. Furthermore, it works on most devices, except a few (Android 10 and 8). Does anyone have any suggestions on what I can do? I think it might have to do with some react depreciation that changed types. Really not sure where to start. This app will help facilitate lines at my school's career fair :)

If you're willing to look at my code (or try the app), it is linked. Password 000000 if the app works.

Link to app on appstore: https://play.google.com/store/apps/details?id=com.Sanbert.Queue Link to github: https://github.com/SanchitSinghUW/Queue [code is inside Queue/components]


Viewing all articles
Browse latest Browse all 30347

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>