A Flutter-based Android app for mocking/spoofing GPS locations on your device. Select any location on the map, and your device will report that position to all other apps. πΊοΈ
IMPORTANT: Please read before using this app
This application is intended for educational and testing purposes only. GPS mocking/spoofing can be used for:
- Testing location-based apps during development
- Privacy protection in controlled scenarios
- Educational demonstrations
- Using GPS mocking to deceive or defraud others is illegal in many jurisdictions
- Many apps and services have terms of service that prohibit location spoofing
- Violating these terms may result in account suspension or legal consequences
- Some uses (e.g., gaming, ride-sharing fraud, location-based dating deception) may be unethical and/or illegal
Use this app responsibly and in accordance with all applicable laws and terms of service.
- πΊοΈ Interactive Map: Use Google Maps to select your desired mock location by panning and zooming
- π Location Search: Search for any address or place and jump directly to it
- β Favorites: Save frequently used locations for quick access
- β‘ Real-time Mocking: Start/stop GPS mocking with a single tap
- π¨ Material Design 3: Modern dark-themed UI built with Flutter
Before using GPS Mock, you need to:
-
π§ Enable Developer Options on your Android device:
- Go to Settings > About Phone
- Tap Build Number 7 times to enable Developer Options
-
π± Set GPS Mock as the Mock Location App:
- Go to Settings > Developer Options
- Find Select mock location app
- Select GPS Mock
Download the latest APK from the Releases page.
- Flutter SDK (3.5.0 or higher)
- Android Studio or VS Code with Flutter extension
- Android SDK
- Google Maps API Key
-
Clone the repository:
git clone https://github.com/Sriharan-S/gps-mock.git cd gps-mock -
Get dependencies:
flutter pub get
-
Add your Google Maps API Key:
- In
android/app/src/main/AndroidManifest.xml, replaceAPI_KEY_PLACEHOLDERwith your API key - In
lib/utils/constants.dart, replaceAPI_KEY_PLACEHOLDERwith your API key
- In
-
Run the app:
flutter run
-
Build release APK:
flutter build apk --release
- π± Launch the app and grant location permissions when prompted
- π Enable mock location by tapping "Open Settings" in the dialog (or manually set it in Developer Options)
- π Select a location by panning/zooming the map or using the search bar
βΆοΈ Tap START to begin mocking your GPS location- βΉοΈ Tap STOP to return to your real GPS location
- Navigate to your desired location
- Tap the β€οΈ heart icon in the control panel
- Enter a name for the location
- Tap Save
Access your saved locations by tapping the π list icon in the search bar.
GPS Mock is open source software released under the MIT License. You are free to use, modify, and distribute this software. β¨
We welcome contributions from the community! Here's how you can help:
- π Report Bugs: Found a bug? Open an issue with details about the problem
- π Suggest Features: Have an idea? Open an issue to discuss it
- π§ Submit Pull Requests: Fix bugs or add features by submitting a PR
- Fork the repository
- Create a new branch for your feature or fix:
git checkout -b feature/your-feature-name
- Make your changes and commit them:
git commit -m "Add your descriptive commit message" - Push to your fork:
git push origin feature/your-feature-name
- Open a Pull Request against the
mainbranch
- Follow the existing code style and conventions
- Write clear commit messages
- Test your changes before submitting
- Update documentation if needed
This project is open source and available under the MIT License.
- Built with Flutter
- Maps provided by Google Maps Platform
- Geocoding by geocoding package