alexziskind1 / nativescript-oauth

Other
35 stars 53 forks source link

iOs 13 - Webview issue #100

Open lsowmya opened 5 years ago

lsowmya commented 5 years ago

iOS 13 Webview is breaking, we are using a auth-helper-custom.ts where we have Two Factor Authentication, URL is generated opens after enter credentials => opens Two Factor Authentication frame after authenticating it gives success message and gets freezes there. it is not navigating to getOAuthAccessToken where it should fetch new tokens after authentication was successful. Facing same issue in nativescript-oauth and even in nativescript-oauth2.

Package.json: { "name": "*", "version": "1.0.0", "description": "A NativeScript-built iOS and Android app", "nativescript": { "id": "*****", "tns-android": { "version": "4.2.0" }, "tns-ios": { "version": "4.2.0" } }, "scripts": { "tslint": "tslint -p tsconfig.json", "ns-bundle": "ns-bundle", "start-android-bundle": "npm run ns-bundle --android --run-app", "start-ios-bundle": "npm run ns-bundle --ios --run-app", "build-android-bundle": "npm run ns-bundle --android --build-app", "build-ios-bundle": "npm run ns-bundle --ios --build-app", "publish-ios-bundle": "npm run ns-bundle --ios --publish-app", "generate-android-snapshot": "generate-android-snapshot --targetArchs arm,arm64,ia32 --install", "e2e": "tsc -p e2e && mocha --opts ./e2e/config/mocha.opts", "watch-tests": "tsc -p e2e --watch", "update-app-ng-deps": "update-app-ng-deps", "ns-verify-bundle": "ns-verify-bundle", "update-ns-webpack": "update-ns-webpack" }, "dependencies": { "@angular/common": "~6.1.0", "@angular/compiler": "~6.1.0", "@angular/core": "~6.1.0", "@angular/forms": "~6.1.0", "@angular/http": "~6.1.0", "@angular/platform-browser": "~6.1.0", "@angular/platform-browser-dynamic": "~6.1.0", "@angular/router": "~6.1.0", "email-validator": "^1.0.7", "leo-profanity": "^1.2.5", "nativescript-angular": "~6.1.0", "nativescript-appavailability": "^1.3.1", "nativescript-bottombar": "^3.0.8", "nativescript-cardview": "^3.1.1", "nativescript-checkbox": "^3.0.3", "nativescript-clipboard": "^1.1.7", "nativescript-drop-down": "^4.0.1", "nativescript-fingerprint-auth": "^6.1.0", "nativescript-floatingactionbutton": "^4.1.4", "nativescript-gif": "^4.0.1", "nativescript-grid-view": "^4.1.1", "nativescript-iqkeyboardmanager": "~1.2.0", "nativescript-loading-indicator": "^2.4.0", "nativescript-ngx-slides": "^6.1.0", "nativescript-oauth": "./nativescript-oauth", // 2.1.7 [tried with 2.1.8 same issue] "nativescript-open-app": "^0.2.0", "nativescript-pulltorefresh": "^2.1.1", "nativescript-social-share": "~1.4.0", "nativescript-speech-recognition": "1.5.0", "nativescript-texttospeech": "./nativescript-texttospeech", "nativescript-themes": "^1.9.9", "nativescript-ui-chart": "^3.9.0", "nativescript-ui-listview": "^3.7.1", "nativescript-ui-sidedrawer": "^4.3.1", "nativescript-unit-test-runner": "^0.3.3", "reflect-metadata": "~0.1.8", "rxjs": "~6.1.0", "tns-core-modules": "~4.2.0", "zone.js": "^0.8.26" }, "devDependencies": { "@angular/compiler-cli": "~6.1.0", "@ngtools/webpack": "~6.2.0", "babel-traverse": "6.24.1", "babel-types": "6.24.1", "babylon": "6.17.0", "codelyzer": "^3.0.1", "filewalker": "^0.1.3", "jasmine-core": "^2.6.2", "karma": "^1.7.0", "karma-jasmine": "^1.0.2", "karma-nativescript-launcher": "^0.4.0", "lazy": "1.0.11", "nativescript-css-loader": "~0.26.0", "nativescript-dev-appium": "~4.0.6", "nativescript-dev-typescript": "~0.7.4", "nativescript-dev-webpack": "^0.16.2", "tns-platform-declarations": "^5.4.1", "tslint": "^5.11.0", "typescript": "~2.7.2", "@types/chai": "~4.1.3", "@types/mocha": "~5.2.1", "@types/node": "^7.0.5" } } Any suggestion would greatly help.

Thanks in advance. iOS13_Issue