Description
Issue description.
Currently, the paystack_flutter_sdk
plugin supports only Swift Package Manager (SPM) for iOS integration. However, Flutter's SPM support is still under development and not fully stable. This limitation poses challenges for developers, as they encounter errors like:
Plugin paystack_flutter_sdk is only Swift Package Manager compatible. Try enabling Swift Package Manager by running "flutter config --enable-swift-package-manager" or remove the plugin as a dependency.
Even after enabling SPM, issues persist, hindering seamless integration.
The solution
Introduce CocoaPods support alongside SPM for the paystack_flutter_sdk
plugin. This dual support would ensure broader compatibility across various development environments and cater to developers who rely on CocoaPods for iOS dependency management.
Alternatives
- Continuing with SPM-only support, but this restricts the plugin's usability due to Flutter's incomplete SPM integration.
- Manually modifying the plugin to support CocoaPods, which is not ideal for maintainability and consistency.
Additional context
- Flutter's official documentation indicates that SPM support is still under development and recommends maintaining CocoaPods support for broader compatibility.
- CocoaPods remains a widely used dependency manager in the iOS ecosystem, and supporting it would align the plugin with common practices.
Implementing CocoaPods support would enhance the plugin's accessibility and reliability for the Flutter community.