A Ionic Framework 1 application with WKWEBVIEW newly installed.
We have problems maintaining the persistence of the $ _SESSION variable after a 302 redirect.
The app has an iframe to [url removed, login to view], where you login and depending on the type of user is redirected to one address or another. By doing this redirection the user data stored in the session is lost.
It would fix this bug or problem.
I just upload a session example for user email@example.com
1. Login in the App
2. App hits API and get a token
3. App opens an iframe with url: https://app.colindar.es/session/loginWithToken/___token___
4.- In this url it is loaded necessary session variables and redirected to https://app.colindar.es/dashboard
In Android everything works well, in iOS with UIWebView it works regular, there are errors.
We have installed WKwebview and now we have another problem, the $ _SESSION variable is lost after a redirect.
That is, in point 4 (https://app.colindar.es/dashboard) does not load correctly because the user's session information has been lost and detected as if it had not been logged.
We need the session to be persistent after a redirect.
You can use web browser ionic, you have to use an emulated iphone or a real device
maybe, for build you have to have this:
cli packages: (/usr/local/lib/node_modules)
@ionic/cli-utils : 1.19.0
ionic (Ionic CLI) : 3.19.0
cordova (Cordova CLI) : 6.5.0
Cordova Platforms : android 6.2.3 ios 4.4.0
Ionic Framework : ionic1 1.3.1
ios-deploy : 1.9.2
Node : v8.9.1
npm : 2.15.12
OS : macOS High Sierra
Xcode : Xcode 9.2 Build version 9C40b
ANDROID_HOME : not set
backend : pro
And, for add platform:
ionic cordova platform add firstname.lastname@example.org
5 freelancere byder i gennemsnit €26 på dette job
Glad to come across this job posting. I would be more than happy to assist you with the project. Let's get connected on Skype for further discussion. Thanks, Shrestha Tripathi