Jasonette / JASONETTE-iOS

📡 Native App over HTTP, on iOS
https://www.jasonette.com
MIT License
5.27k stars 352 forks source link

switch is somewhat broken in iOS #299

Closed cpg closed 6 years ago

cpg commented 6 years ago

the switch appears to remember its setting even when reloading a view:

https://jasonbase.com/things/Aq00

Note: the current version of Jason in the apple ios app store does not seem to have switches. I'm on develop.

gliechtenstein commented 6 years ago

Fixed with https://github.com/Jasonette/JASONETTE-iOS/commit/7a9f4f8de1a2d838b9f6312f83c92672f1b7c724

More demos: https://jasonbase.com/things/WxM2

darenr commented 6 years ago

any chance of getting a new iOS and Android Jason app out with these latest changes compiled in? For playing with the new stuff which you're creating it would be great to have an up to date develop-based app in the store(s).

cpg commented 6 years ago

So, actually, I was hoping that changing the variable associated with the switch would change the appearance of it on the screen. Any chance that could be implemented?

At the moment, I hooked the error from an alert where the user cancels it to $reload, which causes a network request. Much less efficient than changing the value of the switch.