应用程序需要 NFC,没有 NFC 的用户是否可以看到它?
NFC REQUIRED on app, is it going to be visible to users who dont have it?
假设我的应用程序需要 NFC(在清单上设置),我的应用程序是否会显示在 google 播放给设备上没有 NFC 的用户?
否,因为 Google 过滤商店中的应用程序:
有关 Google 如何过滤的更多信息:Filters on Google Play
<uses-feature android:name="android.hardware.nfc" android:required="true" />
如果您已将必需的属性设置为 true
,那么 Google Play 将过滤该应用程序,它只会显示给具有 NFC 功能的设备。
如果您的应用不仅依赖 NFC 并动态检查该功能,则 false
将其设为
if (getPackageManager().hasSystemFeature(PackageManager.FEATURE_NFC)) {
// has NFC. Use NFC feature here
}
假设我的应用程序需要 NFC(在清单上设置),我的应用程序是否会显示在 google 播放给设备上没有 NFC 的用户?
否,因为 Google 过滤商店中的应用程序:
有关 Google 如何过滤的更多信息:Filters on Google Play
<uses-feature android:name="android.hardware.nfc" android:required="true" />
如果您已将必需的属性设置为 true
,那么 Google Play 将过滤该应用程序,它只会显示给具有 NFC 功能的设备。
如果您的应用不仅依赖 NFC 并动态检查该功能,则 false
将其设为
if (getPackageManager().hasSystemFeature(PackageManager.FEATURE_NFC)) {
// has NFC. Use NFC feature here
}