Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

There is a problem in obtaining permission_module #993

Open
firmianay opened this issue Jan 25, 2024 · 2 comments
Open

There is a problem in obtaining permission_module #993

firmianay opened this issue Jan 25, 2024 · 2 comments

Comments

@firmianay
Copy link

I have an App with compileSdkVersion="31" and targetSdkVersion="30", but the declared permissions include the new permissions in 31 and even the new permissions in 33, so I think it is wrong to obtain permission_module through targetSdkVersion. This also resulted in a lot of aosp permissions being mixed up when I called get_requested_third_party_permissions()

        self.permission_module = androconf.load_api_specific_resource_module(
            "aosp_permissions", self.get_target_sdk_version())
        self.permission_module_min_sdk = androconf.load_api_specific_resource_module(
            "aosp_permissions", self.get_min_sdk_version())
android.permission.BLUETOOTH_SCAN
android.permission.READ_MEDIA_IMAGES
@erev0s
Copy link
Collaborator

erev0s commented Jan 27, 2024

could you please share an example apk to test this?

@firmianay
Copy link
Author

could you please share an example apk to test this?

You can download the sample apk from here: https://os-android.liqucn.com/rj/1175293.shtml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants