Skip to content

Commit 88b75d4

Browse files
authored
Merge pull request #335 from auth0/fix-queries
Add support for Android 11 new privacy settings
2 parents 7ec76fb + 4177dce commit 88b75d4

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

auth0/src/main/AndroidManifest.xml

+9
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222
~ THE SOFTWARE.
2323
-->
2424

25+
<!--Ignore rule required due to the 'queries' tag, fix only available for targetSdk=30 -->
26+
<!--suppress AndroidElementNotAllowed -->
2527
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2628
xmlns:tools="http://schemas.android.com/tools"
2729
package="com.auth0.android.auth0">
@@ -54,5 +56,12 @@
5456

5557
<activity android:name="com.auth0.android.provider.WebAuthActivity" />
5658
</application>
59+
<queries>
60+
<intent>
61+
<action android:name="android.intent.action.VIEW" />
62+
<category android:name="android.intent.category.BROWSABLE" />
63+
<data android:scheme="https" />
64+
</intent>
65+
</queries>
5766

5867
</manifest>

build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ buildscript {
99
google()
1010
}
1111
dependencies {
12-
classpath 'com.android.tools.build:gradle:3.4.2'
12+
classpath 'com.android.tools.build:gradle:3.4.3'
1313
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.8.4'
1414
}
1515
}

0 commit comments

Comments
 (0)