These are chat archives for angular/angular-2-ionic-2

20th
Mar 2018
FiReBlUe
@FiReBlUe45
Mar 20 2018 10:15
or how share cookie between default browser and inappbrowser
Owen Melbourne
@OwenMelbz
Mar 20 2018 12:14
maybe not possible, what are you trying to achieve?
FiReBlUe
@FiReBlUe45
Mar 20 2018 12:15
I would like to share session cookies because I have to login via the default browser and when I go back to my application I launch InAppBrowser with this cookie.
I try browser tab but no event as loadStart etc and not possible hidden url bar
Owen Melbourne
@OwenMelbz
Mar 20 2018 12:18

my initial guess is that its not possible, as could be considered a security risk - as it would mean that you could be logged into all browsers on your computer/phone at once, and if its shared etc would not be possible.

If you can set up your app to handle protocol links e.g "YourApp://login:cookie-information-here" then when you login via the browser, it could redirect them to the app, with the cookie information, you can then inject that cookie information into the in app browser

FiReBlUe
@FiReBlUe45
Mar 20 2018 12:30
i use deeplink for open my app after login on default browser
with "browser tab" it s work but i need get event emit when change url for example