如何将apk分发给受限用户.他们不能重新分配给其他人吗? [英] How to distribute apk to limited users. And they cannot re-distribute to others?

查看:65
本文介绍了如何将apk分发给受限用户.他们不能重新分配给其他人吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何将APK分发给受限用户.他们不能重新分配给其他人吗?

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

  • 一种方法是获取设备的IMEI编号并将其发布到服务器以检查有效用户.但是我试图限制android代码本身以避免服务器通信.
  • 由于我不会在Google Play上发布应用,因此我无法添加Google Play许可验证库.

推荐答案

对应用中的IMEI或设备ID列表进行硬编码.启动时,根据您的白名单检查设备ID,然后根据结果启动或终止该应用.

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.

这篇关于如何将apk分发给受限用户.他们不能重新分配给其他人吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆