Hi, I’m using inAppBrowser with Capacitor in an Android application, everything works perfectly, except the session issue.
When I close the application, if I had logged in, it doesn’t recover it, so I have to log in every time I close the app.
I’ve read somewhere that it’s a cookie issue with the _blank parameter… can it be?
any solution?
I leave my dependencies in case it is a problem that comes from there.
"@angular/common": "~13.2.2",
"@angular/core": "~13.2.2",
"@angular/forms": "~13.2.2",
"@angular/platform-browser": "~13.2.2",
"@angular/platform-browser-dynamic": "~13.2.2",
"@angular/router": "~13.2.2",
"@awesome-cordova-plugins/core": "^5.40.0",
"@awesome-cordova-plugins/in-app-browser": "^5.40.0",
"@capacitor/android": "^3.6.0",
"@capacitor/app": "1.1.1",
"@capacitor/core": "3.4.3",
"@capacitor/haptics": "1.1.4",
"@capacitor/keyboard": "1.2.2",
"@capacitor/status-bar": "1.0.8",
"@ionic-native/in-app-browser": "^5.36.0",
"@ionic/angular": "^6.0.0",
"cordova-plugin-inappbrowser": "^5.0.0",
"rxjs": "~6.6.0",
"tslib": "^2.2.0",
"zone.js": "~0.11.4"
and my Angular code:
browser = this.iab.create('https://www.myapplication.com.ar/ingreso/?next=/','_blank',{
hideurlbar: 'yes',
hidenavigationbuttons : 'yes',
toolbar: 'no',
clearcache: 'no',
clearsessioncache: 'no',
location: 'no'
});
thanks