shogo82148 / androidbinary

Android binary file parser written in golang
MIT License
253 stars 82 forks source link

is there any way i can get uses-permissions? #38

Closed Treagzhao closed 3 years ago

Treagzhao commented 4 years ago

hi,thx for your package.It`s really helpful , but i still have a problem,is there any way i can get uses-permissions of an apk file?

shogo82148 commented 4 years ago

You can get the permissions from Application.Permission. https://github.com/shogo82148/androidbinary/blob/c5189dc5c59d9d423308e0475d7d72fa2f1687b9/apk/apkxml.go#L71

If it doesn't work, please send me your apk or android manifest.

Treagzhao commented 4 years ago

You can get the permissions from Application.Permission. https://github.com/shogo82148/androidbinary/blob/c5189dc5c59d9d423308e0475d7d72fa2f1687b9/apk/apkxml.go#L71

If it doesn't work, please send me your apk or android manifest.

thx for your reply,but what i need is 'uses-permission',and i already fork your repository and find a way out ,thank you

tonywang commented 3 years ago

Hi @shogo82148 , I create a pull request #46 for support the uses-permission. If you have time, please help me review it.

shogo82148 commented 3 years ago

closed by #46 thanks @tonywang !