peterathans Posted March 28, 2023 Posted March 28, 2023 So I set up a Geofence with simple Enter and Exit commands, but the Enter command doesn't seem to work. I want to set the value of a state variable to 1 when I enter, and set it to 0 when I exit. But for some reason UD Mobile doesn't allow me to enter the correct value for config. Steps I followed: Edit the Geofence Click on Command Value, brings up popup Click on Value Click on value 0 to bring up value entry window Click on the existing 0, change it to 1, click Save Window now shows Value 1, click Save Click Save in upper right corner Back to Geofence screen, under Enter Commands it shows "SET Value, Value = 0 ()". I click Save anyway. Now when I exit and enter the geofence, the value never changes to 1. I can manually set the state var to 1 and it changes to 0 when I leave, but never changes to 1 when I enter Just for kicks, if I go back to the Enter Commands selection to look at the value, the window shows 0 still - don't know if this is supposed to represent a default or show the current value. Anyway, this seems like a UD Mobile Geofence setup bug?
Javi Posted March 28, 2023 Posted March 28, 2023 14 minutes ago, peterathans said: So I set up a Geofence with simple Enter and Exit commands, but the Enter command doesn't seem to work. I want to set the value of a state variable to 1 when I enter, and set it to 0 when I exit. But for some reason UD Mobile doesn't allow me to enter the correct value for config. Steps I followed: Edit the Geofence Click on Command Value, brings up popup Click on Value Click on value 0 to bring up value entry window Click on the existing 0, change it to 1, click Save Window now shows Value 1, click Save Click Save in upper right corner Back to Geofence screen, under Enter Commands it shows "SET Value, Value = 0 ()". I click Save anyway. Now when I exit and enter the geofence, the value never changes to 1. I can manually set the state var to 1 and it changes to 0 when I leave, but never changes to 1 when I enter Just for kicks, if I go back to the Enter Commands selection to look at the value, the window shows 0 still - don't know if this is supposed to represent a default or show the current value. Anyway, this seems like a UD Mobile Geofence setup bug? Hi @peterathans, I cannot replicate this behavior so please first verify you have the latest app version as I believe there was an edit bug in an initial release. Then try synchronization in case anything has changed with the system. If that does not work: Is this iOS or Android? State or integer variable?
peterathans Posted March 28, 2023 Author Posted March 28, 2023 I'm running 1.0.24. Running iOS 16.3, modifying a state variable.
Javi Posted March 28, 2023 Posted March 28, 2023 Can you verify synchronization was done? The values for enter and exit commands are the commands sent. Just tested and I can set and edit both Enter and Exit commands for State variables, can you share a screen shot of the same screen?
peterathans Posted March 28, 2023 Author Posted March 28, 2023 (edited) Yeah that's the problem, the first arrow you show "Value = 1 ()" I can never get to show anything but "Value = 0 ()". Maybe I'm not entering the value correctly? Shouldn't be much room for error with a simple value dialog box. And yes synchronization was done, because this is a new state variable that I added just for testing UD Mobile geofence. I added it using the admin console then did a synchronize at UD Mobile to get the variable to show up. Edited March 28, 2023 by peterathans Added second paragraph
Javi Posted March 28, 2023 Posted March 28, 2023 Sorry to keep pressing this, but have you synchronized? If that does not work please open a ticket and include a zipped copy of the App's Backup file or Send the file to me via Private Message and I'll try to replicate.
peterathans Posted March 28, 2023 Author Posted March 28, 2023 Yeah the first thing I did was add a new state var and synchronize - I PM'd the backup file just now.
Recommended Posts