Skip to content

Commit

Permalink
- Minor changes in sample project dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
luis901101 committed Oct 28, 2022
1 parent 449d2c9 commit 952225a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions example/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ apply plugin: 'kotlin-android'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"

android {
compileSdkVersion 31
compileSdkVersion 33

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
Expand All @@ -45,7 +45,7 @@ android {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "com.example.example"
minSdkVersion 21
targetSdkVersion 31
targetSdkVersion 33
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
}
Expand Down
2 changes: 1 addition & 1 deletion example/android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
buildscript {
ext.kotlin_version = '1.5.20'
ext.kotlin_version = '1.7.10'
repositories {
google()
mavenCentral()
Expand Down
3 changes: 2 additions & 1 deletion lib/src/base/mixin/base_oauth_flow_mixin.dart
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ mixin BaseOAuthFlowMixin on BaseFlowMixin {
responseRedirect = responseRedirect.trim().replaceAll('#', '');
final parameters = Uri.dataFromString(responseRedirect).queryParameters;

if (parameters.isEmpty && (baseUrl?.isNotEmpty ?? false) &&
if (parameters.isEmpty &&
(baseUrl?.isNotEmpty ?? false) &&
responseRedirect.startsWith(baseUrl!)) {
return onCancel();
}
Expand Down

0 comments on commit 952225a

Please sign in to comment.