Closed EchoEllet closed 2 months ago
If you have suggestions or thoughts regarding this PR, I'm open to hearing them.
For the plugin name, I would go for quill_platform_bridge
or quill_native_bridge
.
flutter_
prefix from the plugin name to make it a bit shorter.quill_plugin
since it might not be clear that it's a platform plugin for accessing platform API.
Description
Remove
device_info_plus
and create aquill_native_bridge
plugin for accessing platform-specific APIsCurrently, we have
device_info_plus
as a dependency to fix a bug on iOS simulator (See #652) by check if the device is an iOS simulator, removing the plugin and addquill_native_bridge
which currently can only check if the platform is iOS simulator, we might expand it in the future since we need platform-specific APIs in some areas such as accessing the clipboard and spell checker system service.This PR doesn't make
flutter_quill
a plugin, instead, it creates a new plugin and requires it as a dependency influtter_quill
.Moving packages into their own directory
We might consider moving the packages into their own directory (
packages
) however there are some places that need to be manually updated first:flutter_quill
in the other packages (likeflutter_quill_extensions
)quill_native_bridge/ios/quill_native_bridge.podspec
We will discuss it in a different issue later.
Related Issues
Type of Change