In any case you are using the app user location (while respecting the user privacy off course) , please notice that you can easily detect mock (fake) locations using the Android Platform APIs:
/**
For Build.VERSION.SDK_INT >= 18 i.e. JELLY_BEAN_MR2
Check if the location recorded is a mocked location or not
@param location Pass Location object received from the OS's onLocationChanged() callback
@return Returns a boolean indicating if the received location is mocked
*/
public static boolean isMockLocation(Location location) {
return Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR2 && location != null && location.isFromMockProvider();
}
/**
For Build.VERSION.SDK_INT < 18 i.e. JELLY_BEAN_MR2
Check if MockLocation setting is enabled or not
@param context Pass Context object as parameter
@return Returns a boolean indicating if MockLocation is enabled
*/
public static Boolean isMockLocationEnabled(Context context) {
return !Settings.Secure.getString(context.getContentResolver(), Settings.Secure.ALLOW_MOCK_LOCATION).equals("0");
}
At the Reactoffline.db data base at the IntersectingSick table there is the 'name' column.
I was afraid that it might reveal the name of the sick person in a case of an intersecting sick person. I Have noticed that it is left empty.
Does the above ‘name’ field have a usage?
Might it under any use case reveal the name of the sick person?