cordova-plugin-safariviewcontroller icon indicating copy to clipboard operation
cordova-plugin-safariviewcontroller copied to clipboard

How to destroy a SafariViewController instance?

Open ollyjohn opened this issue 7 years ago • 6 comments

I am trying to integrate Auth0 with my Ionic 3 application but when you hit the Done button or call hide(), it does only hide the SVC instance, so when you attempt to authenticate again the new session conflicts with the hidden one.

Is there a way to completely destroy the instance to stop this issue, or is there a better way?

ollyjohn avatar Dec 01 '17 14:12 ollyjohn

We have the same issue using Keycloak and need a way to invalidate the session. I'm happy to help with a PR if we can agree on a way to solve this @EddyVerbruggen 👍

elsesiy avatar Jan 02 '18 16:01 elsesiy

I have the same issue. Someone have a solution for this problem?

Daniele-Muheim avatar Feb 21 '18 09:02 Daniele-Muheim

Seems to be when a tab is set to hidden, I've added a fix for that in #104 This might be slightly unrelated to what you are asking, but its better than nothing I guess.

larssn avatar Mar 06 '18 18:03 larssn

The above fix doesn't fix the problem with the Hide button, I'll fix that when I have time to investigate.

larssn avatar Mar 15 '18 18:03 larssn

any news?

WuglyakBolgoink avatar May 07 '18 19:05 WuglyakBolgoink

any news? :(

WuglyakBolgoink avatar Sep 09 '19 09:09 WuglyakBolgoink