fixed web_authentication_session_example
This commit is contained in:
parent
44189ae75c
commit
8955cd2433
|
@ -3,11 +3,11 @@
|
||||||
export "FLUTTER_ROOT=/Users/lorenzopichilli/fvm/versions/2.10.4"
|
export "FLUTTER_ROOT=/Users/lorenzopichilli/fvm/versions/2.10.4"
|
||||||
export "FLUTTER_APPLICATION_PATH=/Users/lorenzopichilli/Desktop/flutter_inappwebview/example"
|
export "FLUTTER_APPLICATION_PATH=/Users/lorenzopichilli/Desktop/flutter_inappwebview/example"
|
||||||
export "COCOAPODS_PARALLEL_CODE_SIGN=true"
|
export "COCOAPODS_PARALLEL_CODE_SIGN=true"
|
||||||
export "FLUTTER_TARGET=integration_test/webview_flutter_test.dart"
|
export "FLUTTER_TARGET=/Users/lorenzopichilli/Desktop/flutter_inappwebview/example/lib/main.dart"
|
||||||
export "FLUTTER_BUILD_DIR=build"
|
export "FLUTTER_BUILD_DIR=build"
|
||||||
export "FLUTTER_BUILD_NAME=1.0.0"
|
export "FLUTTER_BUILD_NAME=1.0.0"
|
||||||
export "FLUTTER_BUILD_NUMBER=1"
|
export "FLUTTER_BUILD_NUMBER=1"
|
||||||
export "DART_DEFINES=RkxVVFRFUl9XRUJfQVVUT19ERVRFQ1Q9dHJ1ZQ=="
|
export "DART_DEFINES=Zmx1dHRlci5pbnNwZWN0b3Iuc3RydWN0dXJlZEVycm9ycz10cnVl,RkxVVFRFUl9XRUJfQVVUT19ERVRFQ1Q9dHJ1ZQ=="
|
||||||
export "DART_OBFUSCATION=false"
|
export "DART_OBFUSCATION=false"
|
||||||
export "TRACK_WIDGET_CREATION=true"
|
export "TRACK_WIDGET_CREATION=true"
|
||||||
export "TREE_SHAKE_ICONS=false"
|
export "TREE_SHAKE_ICONS=false"
|
||||||
|
|
|
@ -52,7 +52,7 @@ class _WebAuthenticationSessionExampleScreenState
|
||||||
await WebAuthenticationSession.isAvailable()) {
|
await WebAuthenticationSession.isAvailable()) {
|
||||||
session = await WebAuthenticationSession.create(
|
session = await WebAuthenticationSession.create(
|
||||||
url: Uri.parse(
|
url: Uri.parse(
|
||||||
"http://localhost:8080/assets/web-auth.html"),
|
"http://localhost:8080/web-auth.html"),
|
||||||
callbackURLScheme: "test",
|
callbackURLScheme: "test",
|
||||||
onComplete: (url, error) async {
|
onComplete: (url, error) async {
|
||||||
if (url != null) {
|
if (url != null) {
|
||||||
|
|
Loading…
Reference in New Issue