-
Notifications
You must be signed in to change notification settings - Fork 549
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
Implied READ_PHONE_STATE permission #1234
Comments
Hi @chris6647 Thank you for reporting this bug. Would you be able to try building from the new PR #1239 to see if your issue is resolved? |
Hello @raphkim |
You would have needed to clone the repo and build the aar file yourself to be able to use it. However, this will be available in 2.16.2 release in the near future to be taken directly from maven if you would prefer to test it then. |
That's exactly what I did - fetched the repo, and built the aar myself. But as I said, that didn't change anything as the previous release also worked like that. It only doesn't work when fetched from maven for some reason. I'll hold out for the 2.16.2 release and test it properly then. |
Any updates on this? |
Due to this issue: eclipse-paho/paho.mqtt.java#633 I had to rollback the aws iot version to 2.16.0, since from 2.16.1 the paho version was upgraded to 1.2.2. However now I'd like to fix this issue here. Any suggestions to work around it in the meantime? EDIT: I managed to remove the permission with:
On my |
Thanks for posting a workaround! This is fixed in new versions and we will have that Paho issue addressed shortly. Closing for now. |
I am experiencing the same issue as #380
Having upgraded from
com.amazonaws:aws-android-sdk-iot:2.6.18
tocom.amazonaws:aws-android-sdk-iot:2.16.1@aar
I now find the permission READ_PHONE_STATE having been added, as the merge report states:
When I tried to include the source code from release_v2.16.1 and its dependant modules, as new modules in my app, the merge report didn't mention this implied permission.
After this update, I also find that the native platforms of my final apk has been restricted to:
arm64-v8a, armeabi-v8a, x86, x86_64
from none, though I'm not 100% sure this is related yet.
I hope you're able to advise!
Thanks in advance.
The text was updated successfully, but these errors were encountered: