Best practice for including 3rd party vendor native SDKs into a flutter app

131 views Asked by At

We have a complex business application and interacts with several native SDK's. Many of these currently the provide Android and iOS SDKs but they are not going to provide Flutter SDKs as of yet.

What is the best practice for including them into our flutter project? Flutter plugin package seems like the obvious choice but

Should we create flutter plugin and wrap the native SDKs with method channels? Now should we do this for each native package (say we have more than 5). This means that we will have 5 pubspec.yml, build.gradle, xcworkspaces etc. Manage the code, dependencies, tests in 3 stacks?

Or should we wrap all the SDKs into one giant plugin? Is there any other way to doing this elegantly.

0

There are 0 answers