里面的应用程序支持亚马逊和Android Market(谷歌播放)链接亚马逊、应用程序、里面、链接

2023-09-12 04:03:45 作者:习惯那些不曾习惯的习惯

所以,我的应用之一是从亚马逊的应用程序商店今天拒绝。究其原因是因为在我的应用程序,我联系到的应用程序的Andr​​oid市场的付费版本。令人失望的,但不管,我想每个人都希望自己的切...

所以,现在我留下不必修改应用程序来改变Android的市场链接到亚马逊的应用程序商店的链接。不是真的,除非现在如果我这样做,我留下了一个差异,当我想上传一个新版本回到Android市场一个大问题。毕竟,这是相当愚蠢的链接专人到亚马逊的应用程序商店,如果他们购买从Android市场的应用程序。

现在我们都知道,这是支持/管理多个版本的同一应用程序的痛苦。因此我的问题就变成了我怎么能在同一时间连接到两者兼而有之?有没有办法告诉那里的应用程序是从这样我就可以code两个链接到应用程序下载,因此自动指向用户一个或其他?其次,它是对亚马逊TOS给用户一个选择(比如我弹出一个对话框来代替,并要求用户从哪里下载)?

谢谢大家。

编辑:直接从亚马逊客服回复:连接到这两个市场(我希望审核的过程尽可能快,因为这些家伙):

  

对于目前而言,我们还需要什么   链接指向回亚马逊   只为市场联系苹果商店。   链接到你的网站是允许的,   只是没有其他市场。

     

当指向其他应用程序   你的应用程序中,包括向上销售,   购买完成后,必须从   亚马逊的Appstore。

解决方案

好消息! 显然的亚马逊商店的最新版本终于集PackageManager.getInstallerPackageName()以com.amazon.venezia来与谷歌Play的com.android.vending对比度。这将是确定您的应用程序是sideloaded,从亚马逊的安装,或者从谷歌安装最简单的方法。

亚马逊Android App Store或明日上线

So one of my applications was rejected from the Amazon app store today. The reason was because inside my app, I linked to the paid version of the app on the Android market. Disappointing, but whatever, I guess everyone wants their cut...

So now I'm left having to modify the application to change the Android market link to an Amazon app store link. Not really a big deal except for now if I do that I'm left with a discrepancy when I want to upload a newer version back to the Android market. After all, it would be rather dumb to link someone to the Amazon app store if they purchase the app from the Android market.

Now we all know that it is a pain supporting/managing multiple versions of the same app. Consequently my question becomes how can I link to both at the same time? Is there a way to tell where an app was downloaded from so I can code both links into the app and thus point the user automatically to one or the other? Secondly, is it against the Amazon TOS to give the user a choice (say I pop up a dialog instead and ask the user where to download from)?

Thanks all.

Edit: Direct from Amazon customer service "Re: Link to both markets" (I wish the approval process was as fast as these guys):

For the time being, we need any linking to point back to the Amazon Appstore only for market links. Linking to your website is allowed, just not other markets.

When pointing to other apps from within your app, including up-sells, completion of purchase must be from the Amazon Appstore.

解决方案

Good news! Apparently the latest version of the Amazon store finally sets PackageManager.getInstallerPackageName() to "com.amazon.venezia" to contrast with Google Play's "com.android.vending". This will be the easiest way to determine if your app is sideloaded, installed from Amazon, or installed from Google.