为 ios 和 android 动态更新应用构建版本 - React Native

Dynamically update app build version for both ios and android - React Native

现在我正在分别从 xcode 和 android studio 更新构建版本,我也想在应用程序中显示应用程序版本。有什么办法可以让我在项目内的单个点更新版本,并且 ios 和 android 版本都得到更新?

您可以使用此库动态更新它react-native-version