Skip to content

Commit

Permalink
remove redundant android setup step on setting queries (#351)
Browse files Browse the repository at this point in the history
  • Loading branch information
MaikuB authored Jul 14, 2022
1 parent 32cbc3b commit 939b141
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 20 deletions.
7 changes: 6 additions & 1 deletion flutter_appauth/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
## 4.1.0+1

* Added missing credit to 4.1.0 changelog entry
* Updated readme to remove Android setup step for setting `queries` in `AndroidManifest.xml` as that is now handled directly with the AppAuth Android SDK

## 4.1.0

* Added ability to specify the `nonce` as part of requests
* Added ability to specify the `nonce` as part of requests. Thanks to the PR from [Tiernan](https://github.com/nvx)

## 4.0.1

Expand Down
18 changes: 0 additions & 18 deletions flutter_appauth/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,24 +131,6 @@ Attribute application@name at AndroidManifest.xml:5:9-42 requires a placeholder

If you see this error then update your `build.gradle` to use `+=` instead.

If your app is target API 30 or above (i.e. Android 11 or newer), make sure to add the following to your `AndroidManifest.xml` file a level underneath the `<manifest>` element


```xml
<queries>
<intent>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="https" />
</intent>
<intent>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.APP_BROWSER" />
<data android:scheme="https" />
</intent>
</queries>
```

## iOS/macOS setup

Go to the `Info.plist` for your iOS/macOS app to specify the custom scheme so that there should be a section in it that look similar to the following but replace `<your_custom_scheme>` with the desired value
Expand Down
2 changes: 1 addition & 1 deletion flutter_appauth/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: flutter_appauth
description: This plugin provides an abstraction around the Android and iOS AppAuth SDKs so it can be used to communicate with OAuth 2.0 and OpenID Connect providers
version: 4.1.0
version: 4.1.0+1
homepage: https://github.com/MaikuB/flutter_appauth/tree/master/flutter_appauth

environment:
Expand Down

0 comments on commit 939b141

Please sign in to comment.