How to distribute apk to limited users. And they cannot re-distribute to others?

时光毁灭记忆、已成空白 提交于 2020-01-23 18:26:45

问题


How to distribute apk to limited users. And they cannot re-distribute to others?

  • One way to do is get device IMEI number and post to server to check valid user or not. But I am trying to limit in android code itself to avoid server communication.
  • Also as I will not publish app on google play,I am not able to add Google Play Licence Verification library.

回答1:


Hard code the list of IMEI or device IDs in the app. On launch check the device ID against your white list and either launch or kill the app depending on the result.




回答2:


Use Beta-Testing section from Play Store, after uploading your apk on Play Store. You can create a group of user from Google+ and add them in testing section. Follow this :

Create an App

Log into the Developer Console and upload an APK. No need to publish it yet.

Check out the ‘Beta’ tab now, which should show this handy message:

Upload Beta APK

Click the Beta tab and upload the APK again. Publishing from this tab will not push it to the store, but there is a handy button that allows you to promote apps from Alpha to Beta to Prod, which is neat.

Create a Test Group

Using your developer account (it must be the primary google developer account), create a Google+ Community. Public or private, doesn’t matter. (You could use a Google Group too, but Google+ is a pretty good medium for wrangling a beta team, so I’ll recommend it here.)

Add your Community to the list of testers by clicking “Manage list of testers” and pasting the Community’s URL.

Invite Users to Test

Click publish in the Beta tab. Click again on “Manage list of testers” and there you will find a URL to share with your Community. When they go to that URL, they’ll get a signup prompt (later, a play store link). Roll outs will take anywhere from a minute to a couple hours to propagate, as with anything on the store.




回答3:


You can roll out a version to a limited amount of users through the play store.

Just have to create a google Group or a Google+ group and follow the instructions here:

https://support.google.com/googleplay/android-developer/answer/3131213?hl=en



来源:https://stackoverflow.com/questions/17857157/how-to-distribute-apk-to-limited-users-and-they-cannot-re-distribute-to-others

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!