jahbini / researchPad

Cordova based app for iPad for gesture and BLE capture for medical research.
1 stars 0 forks source link

Reload the app upon a logout #232

Closed MrSniffer closed 4 years ago

MrSniffer commented 4 years ago

Whenever the user logs out from the app, please reload it from scratch.

jahbini commented 4 years ago

done in V3.1.40-test

MrSniffer commented 4 years ago

This did not appear to work.

I logged in, ran a NoSensors test. Went to huntingtest server, edited the version string in logon.js and saved it. Logged out. Logged in. Ran NoSensors again. Reviewed the Events. In both cases, the same original version string was recorded, not the edited version.

MrSniffer commented 4 years ago

I caused a complete reload by "sleeping" the iPad by turning it off and on (NOT a reboot...). This time the edited version string appeared, e.g. the app and logon.js was reloaded. But NOT on a logout by itself.

jahbini commented 4 years ago

Looks like there is a local cache I will look at the actual url and add a request attribute. That has taken care of this kind of failure.

I’ll put that in within the hour J-

Sent from my iPhone

On Mar 4, 2020, at 6:55 AM, Harry Saal notifications@github.com wrote:

 This did not appear to work.

I logged in, ran a NoSensors test. Went to huntingtest server, edited the version string in logon.js and saved it. Logged out. Logged in. Ran NoSensors again. Reviewed the Events. In both cases, the same original version string was recorded, not the edited version.

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub, or unsubscribe.

MrSniffer commented 4 years ago

Done.