Skip to content

Applock for android that automatically unlocks your apps based on your current Location/WiFi

License

Notifications You must be signed in to change notification settings

HusnainTaj/Lockation

Repository files navigation

lockation wide

Lockation

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.

Features

  • 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 a Safe WiFi.
  • Storing data in a local database using Room.
  • Premium Subscription Management using Android Billing Client

Permissions Required

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.

Technologies and Services used

  • Java/Kotlin
  • Jetpack Compose
  • Gradle
  • AndroidX Room Database
  • Android Billing Client

Building the Project

  1. Clone the repository.
  2. Open the project in Android Studio Iguana | 2023.2.1 Patch 1 or later.
  3. Sync the Gradle files and build the project.

License

The project is available as open source under the terms of the MIT License.

About

Applock for android that automatically unlocks your apps based on your current Location/WiFi

Topics

Resources

License

Stars

Watchers

Forks