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

New permissions #14

Closed
logos88 opened this issue Jun 14, 2015 · 2 comments
Closed

New permissions #14

logos88 opened this issue Jun 14, 2015 · 2 comments
Labels

Comments

@logos88
Copy link

logos88 commented Jun 14, 2015

Hello. I was going to update facebook lite and I have noticed that new permissions are required. What are they needed for? why does it need the identity of the phone? One of the coolest things of this app was that it needs a lot of less permissions than the original facebook app

@indywidualny
Copy link
Owner

Hi, let me explain new permissions.

"Why does it need the identity of the phone?" - it actually doesn't. I have no idea why it's listed during instalation. All the permissions are definied in the file below. I suppose it's because of ACCESS_NETWORK_STATE but the app really don't need and don't use the identity of the phone.

https://github.com/indywidualny/FacebookLite/blob/master/app/src/main/AndroidManifest.xml

  • android.permission.INTERNET
  • android.permission.ACCESS_NETWORK_STATE
  • android.permission.WRITE_EXTERNAL_STORAGE
  • android.permission.RECEIVE_BOOT_COMPLETED
  • android.permission.VIBRATE

INTERNET is obvious, we need access to the Internet to do anything.

ACCESS_NETWORK_STATE is needed to check if there is access to the Internet and it makes possible to determine connection type (mobile or Wi-Fi). It helps to decide when to use Facebook Zero. It's basically checking the state of the network.

WRITE_EXTERNAL_STORAGE is for saving camera photos and it also grants access to files during photo upload.

RECEIVE_BOOT_COMPLETED is for auto-starting notifications service after booting the device if the service was configured and activated before.

VIBRATE is for enabling vibrations for notifications.

@logos88
Copy link
Author

logos88 commented Jun 14, 2015

Oks, thanks for the explanation! :)

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

No branches or pull requests

2 participants