Remove need for unused permissions and add Play Store link

This commit is contained in:
Tanner Collin 2017-02-09 01:51:01 -07:00
parent 4314ea8bed
commit 3b68728339
4 changed files with 17 additions and 2 deletions

View File

@ -23,6 +23,8 @@ Demo Video: https://www.youtube.com/watch?v=FazQK4teZ5o
Please install Exact Resistor Calculator from the Google Play Store on your Android phone for free. Please install Exact Resistor Calculator from the Google Play Store on your Android phone for free.
https://play.google.com/store/apps/details?id=com.exactresistorcalculator
## Source Code ## Source Code
### License ### License

View File

@ -91,8 +91,8 @@ android {
applicationId "com.exactresistorcalculator" applicationId "com.exactresistorcalculator"
minSdkVersion 16 minSdkVersion 16
targetSdkVersion 22 targetSdkVersion 22
versionCode 1 versionCode 4
versionName "1.0" versionName "1.0.0"
ndk { ndk {
abiFilters "armeabi-v7a", "x86" abiFilters "armeabi-v7a", "x86"
} }

View File

@ -1,10 +1,12 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="com.exactresistorcalculator" package="com.exactresistorcalculator"
android:versionCode="1" android:versionCode="1"
android:versionName="1.0"> android:versionName="1.0">
<uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/> <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
<uses-permission android:name="android.permission.READ_PHONE_STATE" tools:node="remove" />
<uses-sdk <uses-sdk
android:minSdkVersion="16" android:minSdkVersion="16"

View File

@ -0,0 +1,11 @@
<manifest
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
>
<!-- These are added by React Native for debug mode, but actually aren't needed in releasemode -->
<uses-permission tools:node="remove" android:name="android.permission.SYSTEM_ALERT_WINDOW" />
<uses-permission tools:node="remove" android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission tools:node="remove" android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission tools:node="remove" android:name="android.permission.INTERNET" />
</manifest>