Is it possible to check/prevent fake gps location


I want to develop an app for android/ios and since I’ve some experience with angular, ionic would be a good fit.

The user will have to check-in at different locations to win a challenge. So it’s critical for the purpose of the app that the user cannot just have a fake gps location for the checkin(or at least make sure it as complex as possible).

I’m checking the documentation, but I don’t see any option or metadata in the result that would allow me to know if it’s the real position or not.

Is there a way to check this? With android and iOS(the app will also be available on the web but the checkin will not be possible there.

Thank you very much