https://github.com/zacksleo/flutter-ios-custom-keyboard-extension
create ios custom keyboard extension using flutter
https://github.com/zacksleo/flutter-ios-custom-keyboard-extension
Last synced: about 1 year ago
JSON representation
create ios custom keyboard extension using flutter
- Host: GitHub
- URL: https://github.com/zacksleo/flutter-ios-custom-keyboard-extension
- Owner: zacksleo
- Created: 2024-01-07T12:24:10.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-11T00:48:56.000Z (over 2 years ago)
- Last Synced: 2025-02-07T13:47:45.337Z (over 1 year ago)
- Language: Dart
- Size: 49.8 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# program_keyboard
## Warning
ios customkeybord has 40M memory limit,so can not use Flutter in this kind of extension.
```
Due to the memory limitations of app extensions, it is only recommended to use Flutter to build app extension UI for extension types that have memory limits larger than 100MB. For example, share extensions which have a 120MB memory limit.
In addition, Flutter uses extra memory in debug mode. Therefore, Flutter does not fully support running app extensions in debug mode on physical devices when used to build extension UI. As an alternative, use an iOS simulator to test your extension in debug mode.
```
So this code can only run in simulation, not in the real device.
## Refer Docs
- [Adding iOS app extensions](https://docs.flutter.dev/platform-integration/ios/app-extensions)
- [Adding a Home Screen widget to your Flutter App](https://codelabs.developers.google.com/flutter-home-screen-widgets#3)
- [Custom Keyboard](https://developer.apple.com/library/archive/documentation/General/Conceptual/ExtensibilityPG/CustomKeyboard.html#//apple_ref/doc/uid/TP40014214-CH16)
- [Creating a custom keyboard](https://developer.apple.com/documentation/uikit/keyboards_and_input/creating_a_custom_keyboard)
- [KeyboardKit](https://github.com/KeyboardKit/KeyboardKit)
- [第三方输入法App原理调研](https://juejin.cn/post/6962836883659456542c)
- [](https://developer.apple.com/documentation/uikit/keyboards_and_input/creating_a_custom_keyboard/handling_text_interactions_in_custom_keyboards)