Requirement :Develop a module using Open Street Map such that location can be detected.
User Story: I am a user of an android mobile app X. I want to track the location of my employee/s who are using the android mobile app Y. In my mobile app X, there shall be Open Street Map indicating the current location of the respective employee.
When using the app X , there shall a map in app X and web portal (ABC) , which would indicate the current location of the employee using app Y.
There shall be an API exposed from the module that would be developed. API can be called from mobile app X and at the same time it can be called from web portal ( ABC).
API calling to detect the location shall be decided by user of Mobile App X and Web portal (ABC) which includes starting and stopping of the detection mechanism.
Module shall work independently based on API calling and shall have no dependency on the core system logic which in this case are app X and web portal ABC
When API is called , it shall return at least one unique id to indicate the core system that location tracking have started. However, there shall not be any dependency on the usage of the unique id by the core systems in terms of location detection.
Module shall be able to integrate with Native Android app components and core php , my sql running on Ubuntu and apache web server.
There shall be secure handshake ( authentication and authorization ) between the core systems and location detection module such that if any external entity tries to access the module directly, it shall be declined.
Module shall be properly tested in terms of functionality , integration and performance to minimize rework.
Documentation – There shall be sufficient documentation so as to enable integration with core systems which herein refers to mobile app X and web portal ABC
Notes: There is no requirement to ask permission while detecting location of employee using mobile app Y , cause mobile app Y while installing will ask permission to detect location.