Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ldarren/expo-disable-third-party-keyboard
expo-disable-third-party-keyboard
https://github.com/ldarren/expo-disable-third-party-keyboard
Last synced: about 2 months ago
JSON representation
expo-disable-third-party-keyboard
- Host: GitHub
- URL: https://github.com/ldarren/expo-disable-third-party-keyboard
- Owner: ldarren
- License: mit
- Created: 2024-05-09T03:13:08.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-05-13T03:46:31.000Z (9 months ago)
- Last Synced: 2024-10-29T01:18:46.684Z (3 months ago)
- Language: JavaScript
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Expo Disable Third-Party Keyboard Plugin
This Expo Config Plugin helps enhance your app's security by disabling third-party keyboards, which could potentially pose a security risk.
## Installation
1. Install the plugin using npm or Yarn:
```sh
npm install expo-disable-third-party-keyboard-plugin
or
yarn add expo-disable-third-party-keyboard-plugin
```2. Add the plugin to your app.json or app.config.js
```json
{
"expo": {
"plugins": [
["expo-disable-third-party-keyboard-plugin", { "isEnabled": true }]
]
}
}
```
## Options
- `isEnabled`: A boolean to toggle the plugin on or off. Default is `true`.## Notes
- This plugin is designed for iOS apps and modifies the `AppDelegate.m` file.
- Ensure to test your app thoroughly after applying this plugin.## Contributing
Contributions are welcome! Please open an issue or submit a pull request with improvements.### Enhancements and Considerations
- Error Handling: Ensure your plugin checks for possible errors, such as the absence of the AppDelegate.m file or the @end keyword.
- Configuration Options: While this plugin currently has a simple boolean option, consider adding more configurability as needed. For example, the ability to disable the plugin for certain screens only.
- Platform Checks: If expanding the plugin's scope, include checks to only apply iOS-specific modifications when the app is being run on an iOS device.