拒绝对特定 library/module 的许可
Denying a permission to a specific library/module
我们在应用的 AndroidManifest
和 SDK 的 AndroidManifest
中都使用了 this SDK within our app. It's imported as its own module, and is packaged as a .AAR file. Last year, our app was removed from the Play Store multiple times for uploading contact information without displaying a prominent disclosure. This SDK was to blame for some of these removals. Our response was to remove all contact-related features from our app and to 。但是,现在我们正在重新实现这些与联系人相关的功能,因此我们无法再在我们应用的 AndroidManifest
中删除此权限。 我们需要我们的应用有这个权限,但是SDK不能有这个权限。
我的问题是:如果我们的应用程序有READ_CONTACTS
权限,那是否也将此权限授予SDK?或者 SDK 的 AndroidManifest
是否需要明确包含 READ_CONTACTS
权限才能使用它?
We need our app to have this permission, but the SDK must not have it.
抱歉,这不是问题。
if our app has READ_CONTACTS permission, does that also grant this permission to SDK?
是的。库和自己敲的代码没有区别。
我们在应用的 AndroidManifest
和 SDK 的 AndroidManifest
中都使用了 this SDK within our app. It's imported as its own module, and is packaged as a .AAR file. Last year, our app was removed from the Play Store multiple times for uploading contact information without displaying a prominent disclosure. This SDK was to blame for some of these removals. Our response was to remove all contact-related features from our app and to AndroidManifest
中删除此权限。 我们需要我们的应用有这个权限,但是SDK不能有这个权限。
我的问题是:如果我们的应用程序有READ_CONTACTS
权限,那是否也将此权限授予SDK?或者 SDK 的 AndroidManifest
是否需要明确包含 READ_CONTACTS
权限才能使用它?
We need our app to have this permission, but the SDK must not have it.
抱歉,这不是问题。
if our app has READ_CONTACTS permission, does that also grant this permission to SDK?
是的。库和自己敲的代码没有区别。