In this Repository you will find a small Android app that shows how to retrieve the current keyboard identifier of an Android phone. This identifier can be used to allow/disallow specific keyboards. You may want to use this in a context, where privacy is of uttermost importance.
- Get Keyboard Identifier: Retrieve the current identifier
- Validate Keyboard: Check if the identifier is contained in a list of allowed keyboards
Since there are no additional dependencies required, the installation is straightforward.
- Clone the repository
- Open it in Android Studio (or your desired IDE)
- Run (or build) the app
Using a Pixel 7 Pro Simulator you should see the following screen when running the app:
The code of this project is used in the following article on Medium Privacy Secure Android Keyboards. Please check out the article for more information on the topic of privacy in the context of Android keyboards. A Flutter version can also be found under GitHub: secure-keyboards-flutter
This project is licensed under the MIT License - read the LICENSE file for more details.