In this Repository you will find a small Flutter 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
To run or build this app you need to have a working Flutter installation. You can follow the instructions under docs.flutter.dev to install Flutter on your machine. We recommend to use the latest stable version of Flutter. This app was tested using Flutter 3.19.1.
When you have a working Flutter installation, running this project will be easy.
- 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. An Android version can also be found under GitHub: secure-keyboards-android
This project is licensed under the MIT License - read the LICENSE file for more details.