signalapp / curve25519-java

Pure Java and JNI backed Curve25519 implementation.
GNU General Public License v3.0
232 stars 93 forks source link

Adds 'phone' permission #14

Open terhoraj opened 7 years ago

terhoraj commented 7 years ago

Why does this automatically adds permission to access 'phone'?

adriancretu commented 7 years ago

Just faced the same problem when my app suddenly received a warning on Play Store, that READ_PHONE requires a privacy policy. The permission is added automatically by the build tools because this library doesn't have a minSdkVersion set. All libraries with a minSdkVersion older than 4 will have this permission added.

EDIT: this is not the only permission automatically added. Lack of minSdkVersion also brings to the party access to external storage read/write.