Is it possible to integrate native libraries/ Mobile SDKs with Flutter? - android

I am developing a Flutter application and I need to implement a Payment SDK which is available in my country. They have Android SDK and iOS SDK, then Javascript, etc SDKs, but not Flutter.
My question is, is it possible for us to implement native SDKs in Flutter? In this case, I will have to integrate both Android and iOS SDKs. Is this is supported, then How can I do this?

You will have to create a platform channel that will call a method that passes the handling to the native side. On the native side, you can use your PaymentSDK specific code. This way you will be able to use native code from SDK depending upon your platform but your flutter code base won't have to worry about platform, at it will be calling the same platform channel method.
Check out here:
https://flutter.dev/docs/development/platform-integration/platform-channels

Related

Can I use same flutter app for both android and ios apps?

Let's say I have an app that is both native android and ios.
If I want to change one of the features using flutter, can I write with flutter only once for both android and ios?
The current method: add-to-app, I think only works for one app, either ios or android.
Yes, you can, if you know dart language you can use it to write your application in Flutter. According to your use case, you want to run the application on Android & ios. Use those packages that are available for both Android & IOS.
More details - https://flutter.dev/multi-platform
You can also use the same source code to generate mobile, web and desktop builds.
If you use dart language with flutter , it will be uses both Operating system (Android & IOS). make sure app code will be written with dart language

can we use android/ios sdk in crossplatforms like react native/flutter/ionic

mapmyindia(mmi) provides map sdks for android and for ios and map apis for web
Sdks are free to use but APIs aren't
But what about hybrid
Can i use android or ios sdks of mmi(not api) in ionic/flutter/react native(it will b a great help if u mention if its possible for these all 3 cases,bcse according to that I'll b choosing my framework)
If so how, they didn't provide documentation for hybrid apps.
below is ios sdk link of mmi:
https://www.mapmyindia.com/api/advanced-maps/ios/vector-map-sdk
and android:
https://www.mapmyindia.com/api/advanced-maps/android/vector-maps-sdk
For Flutter Read Detailed example at https://blog.usejournal.com/integrating-native-third-party-sdk-in-flutter-8aab03afa9da
This can be achieved using Platform Channels.

Voip using sip from android app to web app

I want to integrate voice and video call feature in my android as well as web app using sip.The scenario is like the end user can call from android app or web app to my support team which would be on web app.The scenario is similar to a call center where user call from app to support team.I did some research on found lot of javascript and android sdks available but they don't provide cross platform functionality.Is there any open source library which could be used to achieve cross platform functionality and flexibility to use our own sip server.
Please have a look at the Restcomm platform
It contains Android SDK that uses SIP, Web SDK (that uses sip over websockets) and a Telephony Application SIP Server called Restcomm-Connect that allows you to build applications very easily through HTTP APIs or Visual Designer
TBH, the only thing I found till now is Linphone. They use an LibLinPhone SDK to implement things, but it is open sourced under GNU. I am still looking for other SDK alternatives, as they don't have the best documentation in the world.

Dart with native mobile libraries calls

I'm considering to start project using Dart for the front-end development on the mobile platform. Basic idea is to use it for the UI and develop platform specific solutions using native mobile sdks. So it leads me to the several questions:
Can Dart with StageXL provide good performance for the UI components on the mobile platform ?
Is it possible to make external functions call to the custom mobile framework ?
Sharing of any hands-on experience highly appreciated.
What do you mean by custom mobile frameworks? You can make calls to JavaScript if that is what you want. You can create Chrome-packaged-apps
Maybe this is what you are looking for:
Getting Started With Dart and Cordova From Scratch on iOS
Rikulo - Build Native Mobile Application

Convert android app to IOS using phonegap?

I developed an android application with Phonegap and I want to convert it to iOS as well. Before starting my project I heard that we are able to convert same project with multiple platforms using phone gap. But now I don't know how to convert my project to IOS. Can any one suggest good tutorial OR examples to do it.
And also mention what are all prerequisites to convert my android application to IOS using phone gap.
Suggest me some tutorials with examples.
With phongap you can target all platforms including iOS, android and windows etc. using HTML 5, avoiding each mobile platforms' native development language. Code base remains same for every platform. Applications execute within wrappers targeted to each platform, and rely on standards-compliant API bindings to access each device's sensors, data, and network status. refer docs http://docs.phonegap.com/en/3.2.0/guide_overview_index.md.html#Overview
Phonegap is not for converting one build to another.. Using phonegap you can develope for all platforms using phonegap framework, you can generate .apk,.ipa,ota, etc as you wish using sdk in your pc or using phonegap build service. You can read here(phonegap authentic doc) how can you do it for different plaforms.
Nb:Phonegap provides complete documents in their site itself, you can go through and understand, it is helpfull.
You can build on each platform. If you don't want to do that, they offer a Build service that build your app on each platform for you. See https://build.phonegap.com/ for more info.
With phonegap you can create all platform application with same package just you need to clear yourself that for IOS you need certificates to build it. Otherwise same package you are using for android can use for IOS also.

Categories

Resources