Closed lilioque closed 3 years ago
You can try running the app locally with expo run:android to get access to better debugging tooling.
You can try running the app locally with expo run:android to get access to better debugging tooling.
Unfortunately, it throws an error ""run:android" is not an expo command -- did you mean build:android?" Earlier I tried ejecting to bare workflow and launching the app in the Android Studio emulator, text elements were normal, without opacity. I also have tried "expo start --no-dev --minify" - no issues either.
It seems that the issue only occurs in the production *.aab. I have downloaded a universal APK generated from the app bundle from Play Console and have launched it in the Android Studio emulator - yes, opacity appears, but I have no idea how to localize the issue in this case.
When I used "expo build" instead of "eas build" there was no such issue, so it is probably something that happens during the "eas build". Unfortunately, I can't return to "expo build", because my app is targeted at younger children and the Play Store rejects the build made by "expo build" because of the Facebook's Ad SDK.
Please upgrade your copy of expo-cli, run:android and run:ios are new commands, I'd also recommend removing "expo-cli": "^4.4.6",
from your project dependencies.
Please upgrade your copy of expo-cli, run:android and run:ios are new commands, I'd also recommend removing
"expo-cli": "^4.4.6",
from your project dependencies.
Thank you!
The problem happened to be because of inconsistency between text color in Expo Go and bare template on Android (https://github.com/expo/expo/issues/13118).
If someone needs a temporary solution - the problem can be fixed by explicitly assigning color property to Text elements.
Platform: Android
Since I started building my app using EAS build, text in some of my components has become semi-transparent. Everything looks OK when I launch the app in Expo Go and everything was OK when I used 'expo build' command.
My dependencies from package.json:
Example of the affected component (it appears in a parent component inside ScrollView with contentContainerStyle={styles.dialogueContainer} :
Styles for that component and the parent ScrollView:
What I've tried so far to fix the issue:
Nothing helps.
Another affected component also consists of View and Text elements and uses styling. In addition, it has Linking from expo-linking.
Some other components, that use ListItem from React Native Elements and FlatList are OK.
UPD: I've attached screenshots for the app downloaded from Google Play (text on white background is semi-transparent) and launched in Expo Go.