You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The latest React Native for Android can not import package.json (see #25645).
The current release will update app.json if the project is expo, but won't update it for normal apps. It would be great if the detection would update app.json if version exists in it regardless of the expo flag. This would allow us to work around the react-native issue without requiring a third-party lib.
The text was updated successfully, but these errors were encountered:
that will work too, wasn't aware of that. but if the app.json were being updated instead of being ignored, wouldn't have to use another library at all.
I understand, but I think it would make RNV unpredictable if it was updating values in places it shouldn't.
app.json is only updated for Expo apps because that's the only place Expo apps read version info. If the app is ejected (or non-Expo), RNV will default back to updating native code because in that case, that's the only place the version info can be read inside the app.
The latest React Native for Android can not import package.json (see #25645).
The current release will update app.json if the project is expo, but won't update it for normal apps. It would be great if the detection would update app.json if version exists in it regardless of the expo flag. This would allow us to work around the react-native issue without requiring a third-party lib.
The text was updated successfully, but these errors were encountered: