Lockation is an Android application that automatically unlocks your apps based on your Location or WiFi.
To see screenshots or try the app, visit the Play Store page.
Important
Lockation was a hobby project made for learning Android Development. Bugs and security vulnerabilities may exist, so it should not be used to protect your apps.
This repo should only be used for learning and educational purposes.
- Monitors when an app opens to show the lock screen if necessary.
- Automatically unlocks your apps if you are within a certain area (
Safe Location
), or connected to a known WiFi (Safe WiFi
). - Conversely, automatically locks your apps if the device is not within a
Safe Location
or not connected to aSafe WiFi
. - Storing data in a local database using Room.
- Premium Subscription Management using Android Billing Client
Due to the nature of this app, it requires some special/sensitive permissions in order to work:
Location
- Required to get information about your current Location and connected WiFi to un/lock apps.Background Location
- Required to be able to monitor Location and WiFi changes to un/lock the apps.Notifications
- Required to inform you about the applock status and any important actions needed.Usage Stats
- Access to device's usage statistics is required to monitor when an app opens to show the lock screen if necessary.Overlay
- Required to show the lock screen, while Lockation is in the background, when you open a locked app.
- Java/Kotlin
- Jetpack Compose
- Gradle
- AndroidX Room Database
- Android Billing Client
- Clone the repository.
- Open the project in
Android Studio Iguana | 2023.2.1 Patch 1
or later. - Sync the Gradle files and build the project.
The project is available as open source under the terms of the MIT License.