Ask for READ_SMS permission on launch

This commit is contained in:
Moez Bhatti
2017-05-27 18:48:41 -04:00
parent 0aea3390ab
commit 01996f0e91
3 changed files with 41 additions and 4 deletions
+13 -4
View File
@@ -1,15 +1,24 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest package="com.moez.QKSMS" xmlns:android="http://schemas.android.com/apk/res/android">
<manifest package="com.moez.QKSMS"
xmlns:android="http://schemas.android.com/apk/res/android">
<uses-permission android:name="android.permission.READ_SMS" />
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<application android:allowBackup="true" android:icon="@mipmap/ic_launcher" android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round" android:supportsRtl="true" android:theme="@style/AppTheme">
<activity android:name=".MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>