Forum Replies Created
-
AuthorPosts
-
SamerKeymasterAh, that’s a good point. Thank you for your bringing it to my attention. I will see if this is something I can quickly add back in a future update.
Thank you!
SamerKeymasterThat’s exciting! Thank you so much for verifying!
I will get this pushed to production soon.
SamerKeymasterPlease try the latest beta which is approved and available here:
https://play.google.com/apps/testing/com.albahra.sprinklers
Please let me know how 2.3.3 goes!
Thank you!
SamerKeymasterAh, now I understand what you mean with the backup/restore. Thank you for letting me know!
Just to let you know 2.3.3 will still clear out settings if you are updating from 2.3.0 unfortunately as the way the webview/app works has changed in this version (same reasons explained in the first post above). However, if you are on 2.3.0, I suggests you turn on cloud sync first before upgrading as that should allow you to quickly restore your site data including images.
For the images, it will be fixed in 2.3.3 which will allow you to attach images now unlike 2.3.2.
Regarding the beta, I am still waiting for Google to review the changes but anticipate that will happen soon. Once approved the link above will allow you to sign up for the beta.
Thank you!
SamerKeymasterHi Regdone,
Thank you for the feedback! Regarding version 2.3.2, were you able to restore your back using that version?
Regarding the images, this was a known issue with 2.3.2 and as mentioned in this post is mostly fixed. For Android, it will allow you to attach images that are already taken.
Regarding the beta, I just moved the beta to open pending review from Google. Once the app is approved you will be able to start using it by visiting this link:
https://play.google.com/store/apps/details?id=com.albahra.sprinklers
Thank you again!
Samer
SamerKeymasterRace, I would first suggest you try to access the device from the browser using the IP address on the local network to rule out other issues. Please let us know how that goes first.
Thank you,
Samer
SamerKeymasterThank you for the follow up Gregor and hope you are able to find another solution that gives you control to add the headers needed.
All the modern mobile OSes seem to require all of the added security which makes sense but makes this more complicated. As an aside, we do now have an OpenThings Cloud that might help with this and provide SSL between the app and our server.
Thanks and best wishes!
SamerKeymasterIf you are willing to share your information with me to try, please open a support ticket and let’s discuss your specific setup there. Maybe we can setup a temp password I can try.
Let me know.
Thank you,
Samer
SamerKeymasterI found this post from the 2.2.2 iOS update which also had CORS changes and suggest looking into it for the Android app as well:
https://opensprinkler.com/forums/topic/ios-app-currently-not-working/#post-70047
Thank you,
Samer
SamerKeymasterYou are getting back a 401 which indicates a bad user/pass. Can you validate the user/pass is correct using Postman or something other than the application please?
SamerKeymasterHello,
It appears Android webview is now enforcing CORS and the error is not due to SSL but rather due to the basic auth. As you can see here:
CORS policy: Request header field authorization is not allowed by Access-Control-Allow-Headers in preflight response.
In order to resolve this, you will need to add this CORS header to your reverse proxy setup. Something like:
Access-Control-Allow-Headers: *
orAccess-Control-Allow-Headers: Authorization
should do the trick.This does not require an app update but please let me know if you are able to add this header what the result is.
Thanks again,
Samer
SamerKeymasterThank you for reporting this issue. Unfortunately, Android introduces breaking changes with every single version and matters are more complicated when using Cordova as the abstraction.
I am going to dig into this today and will hopefully have an update soon.
Thank you again!
SamerKeymasterI believe we forgot to push out 2.2.5 to the App Store. This is now fixed and 2.2.5 is now available for iOS, macOS and Android.
Thank you!
June 12, 2022 at 12:33 pm in reply to: Apple App Store appears to be providing version 2.2.4 from a year ago, not 2.2.5 #73004
SamerKeymasterI believe we forgot to push out 2.2.5 to the App Store. This is now fixed and 2.2.5 is now available for iOS, macOS and Android.
Thank you!
SamerKeymasterApologies for the long delay!
This is a fantastic idea and I will add it to the todo list. I am quite busy at the moment and I can’t promise when I will get a chance to add it. With that, I welcome any pull requests / code changes for this if anyone would like to contribute towards it.
Thank you and hope to follow up soon!
SamerKeymasterBecause the program preview is actually a simulation stepping through time to discover what will be run based on the rules/constraints provided.
You can view the code for this here: https://github.com/OpenSprinkler/OpenSprinkler-App/blob/master/www/js/main.js#L6776-L7049
SamerKeymasterI believe another user just designed a two column UI for larger screens. I have asked them to submit a pull request so others could also benefit from his work: https://opensprinkler.com/forums/topic/stations-view-in-two-rows/
SamerKeymasterNo problem! If you need anything else please don’t hesitate to ask.
April 23, 2021 at 10:06 pm in reply to: iOS app version 2.2.2 possibly losing saved sites on update #69884
SamerKeymasterThank you all for the follow up! I think we are stable now and will do our best to avoid anything like this past issue from occurring again.
SamerKeymasterLooks great, if you would be okay with it we could include this in the main repo. If you are interested please submit a pull request.
Thank you!
April 12, 2021 at 2:37 pm in reply to: iOS app version 2.2.2 possibly losing saved sites on update #69755
SamerKeymasterApologizes for the lost data. This was not intended! The app stores data using local storage which is bound to the domain. When we updated the app the file:// protocol stopped working properly due to security issues and this was changed to ionic:// protocol. As a result, the data is not found.
I apologize for the inconvenience. If you use the cloud sync you can just login and it should restore all your sites.
In regard to the basic auth not working, I will investigate and reply back ASAP.
Thank you for your understanding!
SamerKeymasterThere’s many methods to accomplish this many of which are fully automated. For us, after we build the web app using Grunt as the task runner, we use the Cordova CLI to build our applications (APK and IPA). Once you do that, you just have to upload it to the store. For Apple, we use Transporter which allows you to drag and drop an IPA for upload. For Google, we upload the APK to their website.
If you have any specific questions please let me know.
Thank you!
SamerKeymasterI have added this and pushed it to the beta UI end point. After some further testing I will push this to production. This includes the time as the footer status bar would have.
Thank you!
SamerKeymasterThank you for the feedback! I wanted to run my idea by you before implementing this to help with this issue. First my plan is to add a small icon (https://material.io/resources/icons/?search=time&icon=timelapse&style=baseline) next to the weather information which will indicate a rain delay is active. If clicked or if opening the weather diagnosis modal, it will display details about the rain delay.
How does this sound?
SamerKeymasterPlease clone the repository from our repository here:
https://github.com/opensprinkler/opensprinkler-app
The Gruntfile is present there along with the package.json with all dependencies.
-
AuthorPosts