Bassir Ahmad
Bassir Ahmad

Reputation: 75

Including a native SDK (for IOS and Android) into flutter

i am currently facing the following problem and I hope someone can help me out:

I want to write an app in Flutter (yes I already compared this framework to others like React Native and Ionic) but i need to include the motiontag SDK and here is where the problem starts. The Motion Tag SDK is only available for native App descreptive native programming language (Java/Kotlin, Swift).

Is there a way to include the SDK anyway to flutter?? Like some workaround!

Thanks for helping me out!

Upvotes: 2

Views: 2130

Answers (2)

kian
kian

Reputation: 53

I'm a developer from MotionTag. The question is from 3 years ago, but we do have a flutter plugin;

https://github.com/MOTIONTAG/motiontag-sdk-flutter

Upvotes: 0

RegularGuy
RegularGuy

Reputation: 3676

Flutter does have communication with native via Platform Channels, so if the sdk is just function calls you could call the function from flutter/dart , and then let the platform channel handle the call to the native function with arguments. If the sdk it's about rendering UI inside flutter then it's more complicated but it's possible as long as you use the boundaries of PlatformView . All the native plugins developed for flutter use this two methods to handle native code/UI

Upvotes: 1

Related Questions