Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No Redirect on IOS #8

Open
SheppardX opened this issue Jun 25, 2020 · 1 comment
Open

No Redirect on IOS #8

SheppardX opened this issue Jun 25, 2020 · 1 comment

Comments

@SheppardX
Copy link

SheppardX commented Jun 25, 2020

I'm submitting a ... (check one with "x")
[X] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/

Current behavior:
its just do nothing after i logged in succesfull in keycloak, i can click done but nothing happens.
i created in the app an listener
App.addListener('appUrlOpen', (url) => { console.log('appUrlOpen', url); });
and i get following in the app console

⚡️ TO JS {"iosSourceApplication":"com.apple.SafariViewService","iosOpenInPlace":"","url":"myapp:\/\/app\/capacitor:\/localhost\/properties?pathAfterAuth=properties&socialLogin=false&isSearching=null#state=*SOME_STATE*&session_state=9... ⚡️ [log] - appUrlOpen

Expected behavior:
that the IOS BrowserTab close and that the AuthToken obj is in localstorage to get me logged in in my app

BrowserTab is not reacting on this.browsertab.close i think or cause the app is call via "appUrlOpen"

@SheppardX
Copy link
Author

i have tested something in the appUrlOpen listener i added this.browserTab.close and it worked
sooo something is not working with this framework on IOS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant