for iOS I remember waaay ago (talking ~10 years) there was an app to spoof GPS but you had to jailbreak the phone and install it from Cydia