Midhet, I think for real-time updates you will need to use some external service like Firebase or PubNub. If you want to do it with REST, then you will need to call the API let's say after 10ms and compare your previous location state to the new location state. Here you can set a margin of some decimal places, after which you will send a call to your views to update the state. Other than that web sockets can also be used for the same purpose. I am not clear about iOS Native specific things, but this is how we can do it in JavaScript.
iOS Developer by profession. Interested in UX Design, AI and Robotics. I also enjoy watching random YouTube videos, reading, going out for walks and doing some graphic design on the side.
Thanks for the reply Saeed. Really appreciate it. I am not very familiar with how it would work in the backend so just needed a third party library to complete the side project I have been working on. I am using Firebase's Cloud store as a database, so as to not have any dependency. I have found a solution in the form of an SDK which will support my purpose. The link to GeoSpark if anyone needs it. :)
No problem. Yes, third party libraries are easy to use but their SDKs have certain limitations. That's why most devs prefer their own REST APIs or sockets for this purpose.
Midhet, I think for real-time updates you will need to use some external service like Firebase or PubNub. If you want to do it with REST, then you will need to call the API let's say after 10ms and compare your previous location state to the new location state. Here you can set a margin of some decimal places, after which you will send a call to your views to update the state. Other than that web sockets can also be used for the same purpose. I am not clear about iOS Native specific things, but this is how we can do it in JavaScript.
Thanks for the reply Saeed. Really appreciate it. I am not very familiar with how it would work in the backend so just needed a third party library to complete the side project I have been working on. I am using Firebase's Cloud store as a database, so as to not have any dependency. I have found a solution in the form of an SDK which will support my purpose. The link to GeoSpark if anyone needs it. :)
No problem. Yes, third party libraries are easy to use but their SDKs have certain limitations. That's why most devs prefer their own REST APIs or sockets for this purpose.
Hey @midhetfatema94 we've rebranded as Roam.ai; Check us out!