covidshots.in helps you find, and book vaccination slots in India. You can set it to automatically book new slots, or just to monitor for new slots and sound alarm.
Because of this our code tries to find user details from g_persistent_vars.g_booking_state_users_details_get().
We are not clearing user details so im not sure why his would be an issue. would have to debug more.
The essence of the issue is that once a new mobile number is used it causes issues with older cached data.
We can fix this issue in one of the two ways.
Make details stored with mobile number, ie. objects referenced with mobile numbers
Clear mobile number specific info when a new mobile number is seen.
Login with mobile number 1, set auto book settings
logout
login with another mobile number. set auto book settings for some other user, and run autobook.
You will see older autobook cached info causing issues in code.
Because of this our code tries to find user details from g_persistent_vars.g_booking_state_users_details_get(). We are not clearing user details so im not sure why his would be an issue. would have to debug more. The essence of the issue is that once a new mobile number is used it causes issues with older cached data. We can fix this issue in one of the two ways.
2 is easier to implement and will go with it.