Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feat] Improve mobile app version management #12479

Open
velocitysystems opened this issue Jan 22, 2025 · 0 comments
Open

[feat] Improve mobile app version management #12479

velocitysystems opened this issue Jan 22, 2025 · 0 comments

Comments

@velocitysystems
Copy link

Describe the problem

For iOS, Tauri synchronizes both CFBundleVersion and CFBundleShortVersionString with the version property in tauri.conf.json. A similiar issue exists for Android builds.

This means we cannot distinguish between the user-facing version visible in stores and the developer-facing build version. Expo for React Native handles this well by defining the following configuration properties:

Property Description
version The user-facing version visible in stores. On Android, it represents versionName name in android/app/build.gradle. On iOS, it represents CFBundleShortVersionString in Info.plist.
android.versionCode The developer-facing build version for Android. It represents versionCode in android/app/build.gradle.
ios.buildNumber The developer-facing build version for iOS. It represents CFBundleVersion in Info.plist.

Describe the solution you'd like

Implement a similiar approach in tauri.config.json for defining the developer-facing build version for Android/iOS.

Alternatives considered

N/A

Additional context

#10944.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant