How to add dependencies to Flutter plugin

1,129

Currently you likely need to switch to CocoaPods.

Flutter does not support Swift Package Manager. See https://github.com/flutter/flutter/issues/33850

Share:
1,129
MARK
Author by

MARK

Updated on January 03, 2023

Comments

  • MARK
    MARK over 1 year

    I'm trying to implement new Flutter plugin to wrap my native SDKs and use my native SDK directly and return the result.

    I already finished the Android part by adding my library using maven and use it inside my Android module, but now I'm stuck on iOS part as the plugin code is just a pod that will be used at the end so how I can add my dependence via Swift Package Manager to the plugin pod and use it instead of going and add vendor frameworks. Is there any way to do that?