Welcome! Log In Create A New Profile


[WM25] Lock certain menu usage at certain hours?

Posted by RobertLeo 
[WM25] Lock certain menu usage at certain hours?
May 02, 2023 08:47AM
Greetings everyone,

I am trying to add a lock to one of the menus in my application, in which the user will be unable to open the menu for purchasing prior to 10AM, I was able to achieve this by making a code that gives the message "Shop is unavailable below 10AM", however with the current code I use it would follow the clock on the mobile device, and the aforementioned menu will be available if the user changes time to 10AM manually.

Hence my question is, is it possible to make the app check on the internet time as opposed to the device's time?
renko allard
Re: [WM25] Lock certain menu usage at certain hours?
May 13, 2023 01:43AM
yes . use a webservice call to the time on your server. use that time instead

Your Email:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.