android - 如何在 google play store 的单个曲目中提供 2 个版本?
问题描述
我创建了 2 个版本;1 指向开发服务器,另一个指向生产服务器。
我想将它们都上传到一个曲目中,并且我希望它们都可以从 Play 商店中获得。
有什么办法可以做到这一点?我可以在内部测试轨道上上传 1 个构建版本,在 alpha 轨道上上传另一个,但是测试人员一次只能成为 1 个轨道的一部分,这再次成为一个问题。
在 iOS 中,我们有 Apple 支持的 Testflight,它可以一次处理多个构建。像这样的东西可以从Playstore实现吗?
解决方案
App center is a solution for your question
You can configure the app center to release build for every push to master. You need to create two product flavors one is for development another one is a production
Regarding Product flavors highly recommended going through below link for better understanding
- https://developer.android.com/studio/build/build-variants
- https://www.journaldev.com/21533/android-build-types-product-flavors
Once you successfully configured you need to create two separate apps in App center You need to configure a separate product flavor for each app and destination in the play store.
推荐阅读
- javascript - 多次调用reactjs组件
- google-apps-script - 如何使用 Stackdriver Logging API 获取日志
- javascript - 如何对以 const 和一堆 var 开头的 JavaScript 进行非混淆处理
- python - 使用 Selenium 向下滚动直到不可见元素变为可见
- python-3.x - 如何打印某个整数返回的次数之和?
- python - Python 诅咒 update_panels() 和 Panel.move() 问题
- python - 词向量的 np.average
- arrays - 删除第一列值重复的二维数组的元素(Swift)
- mysql - 如何将 QT 5.14.1 连接到 MYSQL 数据库?
- android - react-native hello world app - 在模拟器中工作但不在物理设备中