My team are developing an app that will involve some on device ML model that are in onnx format. Currently we considering Flutter & React Native. I prefer Flutter but couldn't find any plugin that support running on device onnx model. in RN we could use onnx.js from Microsoft.
I think there is no Flutter Plugin to do this but you only need to create one in your project (link) and take implement Android version and iOS version. The plugin will make the wrapper and you can use it in your Flutter code. Depending of the phone OS, flutter will execute Android or iOS code.
Related
We are building an application in Flutter, which is composed of an SDK (no UI Code) and a Flutter UI, using the SDK.We have now the requirement to provide the SDK for other, native target platforms (iOS, Android, Web, JVM) and use it in existing applications. As far as we have understood this is possible for iOS and Android. But is this also possible (or planned) for Web and JVM? We simply want to minimise the effort to build the similar SDK in various platform specific technologies.
Thank you!
You can build your Flutter app targeting web https://docs.flutter.dev/development/platform-integration/web/faq#is-the-web-version-of-flutter-ready-for-production
If you want to target the Desktop then check https://docs.flutter.dev/development/platform-integration/desktop to see if it meets your requirements.
I was trying out flutter platform to create a multipage website with android and ios responsiveness using single codebase for my flutter app. I've already tried some single page samples in flutter which are following,
Flutter web, android & ios using Stacked architecture & Responsive_builder
Flutter web, android & ios using MVVM & Responsive_Framework
Flutter web, android & ios using simple Getx package.
All of them are working fine, but what I want is to collect your opinions who have already created a production ready app in flutter web.
Should we consider using Navigator 2.0 for flutter web responsiveness?
Does responsive_framework package work fine if we have complex designs because I'm not confident about the font size and styling application using it?
Can we use any other app architecture, responsive package, design pattern or any other concepts for multipage production level use cases.
Any suggestions would be appreciated.
Thanks.
I'm planning to make an application that uses barcode scanning to scan UPC barcodes and maybe other barcode standards, I will be using firebase for database, I would like to have suggestions on which framework/tool for Mobile Development that I should use?
What I need in the framework is :
JS Libraries and packages support(NPM support would be Nice)
Community and tutorial Support(StackOverflow,github..etc)
CSS Libraries and icons support
Access to native features
I'll be developing for android but maybe I'll try to make it cross-platform later
I know about a few frameworks/tools Like ionic3, React Native, Android studio but I'm not sure which I should use?
I am currently developing an app in Ionic and I used the native barcode-scanner plugin. For me it was easy to implement and works great. Ionic makes use of Cordova.
https://ionicframework.com/docs/native/barcode-scanner
This plugin supports UPC_A and UPC_E barcodes.
Ionic has enough documentation and a start guide.
Ionic icons: ionicons
Access to native features: yes
Ionic can build to Android, IOS and windows.
I am developing a mobile application with Flutter framework and I want to scan bill bar-code and extract its code, so I need a bar-code scanner library for my app. Actually I've googled and found some libraries and SDKs, but they are not written in Dart and I have to import and implement them separately for Android and iOS directories, also it has lots of effort for me to import native codes to a Flutter project. Now I have following questions:
Is there any Dart written and Flutter compatible package, library, SDk, API or ... to use in Flutter project?
Hasn't Google made Flutter version of its ML-KIT or Google-Vision SDKs for its own multi platform framework?
Thanks in advance for helping me.
There are no direct flutter widgets available which supports Barcode reading as of now.
Anyway you can use firebase_ml_vision plugin which pretty straight forward and easy to integrate.
https://pub.dartlang.org/packages/firebase_ml_vision
There is, but I haven't ever used it myself. Just searched it on here: https://pub.dartlang.org/flutter
https://pub.dartlang.org/packages/barcode_scan or maybe this https://pub.dartlang.org/packages/barcode_flutter
When an external component such as a Camera or File picker is needed, the Flutter for Android Developers documentation (currently in the works) states that we would have to build a native platform integration.
I currently have a device that has a built-in barcode reader with a manufacturer-provided Android API. So, for that I would need to pursue this native platform integration method - or even for playing videos or using the camera for that matter I would think.
Is there an example repo that demonstrates how a well-integrated app should be? ..a project that integrated ExoPlayer for example?
You can use platform channels to call native APIs that aren't exposed by the Flutter platform.
There is an example in the Writing custom platform-specific code docs:
The full, runnable source-code for this example is available in /examples/platform_channel/ for Android with Java and iOS with Objective-C.
If you want to make your code reusable by others, you can publish it as a package, but this is optional. There is a repo of plugins maintained by the Flutter team that you can use for inspiration.