My team and I are planning to migrate to flutter from native development. We currently have Android and iOS apps and we use local native SDKs for our apps to work. I have to develop a package/SDK which has to be a wrapper around native SDKs so that it can be used in our existing native apps and let us develop our new flutter app with the same package/SDK. I figured out that the plugin works as a wrapper for native SDKs and the flutter module can be used in native apps. IS there any way I can use directly use the plugin in the native apps or import the plugin into a flutter module and then use the module in native apps? Please let me know if anyone has suggestions for this situation or any other work arounds. Thanks in advance.
SUMMARY: I should be able to use that wrapper package in native android and iOS apps as well as the new flutter app.
Am 10. Dezember 2021 um 16:33:32, Aman Masipeddi (aman.ma...@gmail.com) schrieb:
My team and I are planning to migrate to flutter from native development. We currently have Android and iOS apps and we use local native SDKs for our apps to work. I have to develop a package/SDK which has to be a wrapper around native SDKs so that it can be used in our existing native apps and let us develop our new flutter app with the same package/SDK. I figured out that the plugin works as a wrapper for native SDKs and the flutter module can be used in native apps. IS there any way I can use directly use the plugin in the native apps or import the plugin into a flutter module and then use the module in native apps? Please let me know if anyone has suggestions for this situation or any other work arounds. Thanks in advance.
SUMMARY: I should be able to use that wrapper package in native android and iOS apps as well as the new flutter app.
--
You received this message because you are subscribed to the Google Groups "Flutter Development (flutter-dev)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/flutter-dev/5d4f9327-586d-485d-b4e9-8345ea8b9c63n%40googlegroups.com.
Thank you for your reply. If I go with plugins, then can I use that plugin in native apps too?
No :-(
But you can create an Android / iOS dependency and use it for Android, iOS, and Flutter.
Use https://jitpack.io/ and https://cocoapods.org/ to create a dependency of your native lib.
Then add these dependencies to your Android, iOS, and Flutter projects.
Ralph
Am 10. Dezember 2021 um 23:11:56, Aman Masipeddi (aman.ma...@gmail.com) schrieb:
If I create a dependency, that means anyone can access it right?