简体   繁体   English

在tiapp.xml中定义平台特定的应用程序ID?

[英]Define platform specific app ID in tiapp.xml?

I am completely rebuilding an old Titanium app for my company in the Alloy MVC framework and distributing to iOS & Android. 我将在Alloy MVC框架中为我的公司完全重建一个旧的Titanium应用程序,并分发到iOS和Android。 The app IDs are different for each respective platforms' marketplace for some reason and I want to use the same, old IDs so that current users of the old app will get notified of a new version. 由于某些原因,各个平台的市场上的应用程序ID有所不同,我想使用相同的旧ID,以便旧应用程序的当前用户将收到新版本的通知。 I'm getting closer to distribution and wanted to know if I am able to specify a different app ID to use in the tiapp.xml of my project for each platform? 我越来越接近发行版,想知道是否能够在每个平台的项目的tiapp.xml中使用不同的应用程序ID?

Simply NO, you cannot specify platform specific app id in single build. 完全不能,您不能在单个版本中指定平台特定的应用程序ID。 Recently I had also faced exact same situation, and the only solution was to change the app id while building for each platform... 最近,我也面临着完全相同的情况,唯一的解决方案是在为每个平台构建时更改应用程序ID。

OR 要么

Dump your old app & create a new one if you don't care about previous app id much, but as you said that users should be notify of the newer version, then your only option is what I mentioned above. 如果您不太关心以前的应用程序ID,则转储旧应用程序并创建一个新应用程序,但是正如您所说的,应该将新版本通知用户,那么您唯一的选择就是我上面提到的。 After all, it's a very small task to change app id before creating distribution builds. 毕竟,在创建发行版本之前,更改应用程序ID是一项非常小的任务。

Good Luck! 祝好运!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM