Questions tagged [flutter-native]
11 questions
5
votes
1 answer
Flutter share native objects between plugins
I am working on a couple plugins for streaming and recording video. In Android land it is generally not possible to have two things access the camera simultaneously.
The obvious solution is to merge the two plugins into one that marshals/shares the…

TheGwa
- 1,919
- 27
- 44
2
votes
1 answer
How to create native Android switches on Flutter?
The default switch for stock Android looks as follows:
However, on some Android flavors such as MIUI, the switch looks like this in their native apps:
How can I achieve this native behavior for all Android flavors (Samsung, MIUI, Huawei, Sony,…

Myzel394
- 1,155
- 3
- 16
- 40
1
vote
2 answers
Is there a way to use an embedded barcode reader in flutter?
I have to develop a mobile application using flutter. The application requires the user to scan barcode, not using the phone's camera, but using a barcode embedded on the top side of the phone. Is there a way to read the result of the scan using…

Simone Sesana
- 11
- 2
1
vote
0 answers
Flutter - Google Play OpenSSL 1.1.1h vulnerability warning
While publishing a new release of my app to the Google Playstore, I suddenly got a warning about my app using vulnerable OpenSSL versions (specifically 1.1.1h).
[✓] Flutter (Channel stable, 3.3.7, on macOS 13.0 22A380 darwin-arm, locale en-NL)
•…

M A
- 11
- 2
1
vote
2 answers
How to specify which OS build I wish to do
Flutter 3.0 is amazing !!
I can make a web app, android & iOS mobile app, and a native Mac app (and more) all from the one code base.
But now my problem is :
How do I specify which OS to build-for and run-on ?
When I do flutter run or debug>run in…

kris
- 11,868
- 9
- 88
- 110
0
votes
0 answers
When using the flutter native splash my image icon is not showing
Screenshot of code and result:
I'm trying to make a custom splash using flutter native splash screen but my image is not showing in the center of the splash screen just the background color changed.
I'm expecting the image to be displayed at the…

R21
- 1
- 2
0
votes
0 answers
Flutter AndroidView throws Unhandled Exception: PlatformException
Created native UI for Video calling using opentok library in. Flutter.
The UI is rendering successfully for the first time, But gives below exception when user. press the back button and again rejoins the call.
Unhandled Exception:…

Ritu Nambath
- 51
- 8
0
votes
0 answers
How can I send data as Stream from native kotlin to Flutter
How can I send data as a stream from native Kotlin code to Flutter?
I have implemented Method Channel, but they send only once, but I need a stream of data.
I have tried EventChannel but I'm getting error
"Type mismatch: inferred type is but…

Shehzad Raheem
- 111
- 6
0
votes
0 answers
Not getting data from native side to flutter using method channels in android
In my app I am using flutter_twilio package to get the incoming call from twilio. When user lift the call the package showing a call screen from native side. Now I want add a new button to call screen and based on button click I need to send data…

Harish Birlangi
- 1
- 2
0
votes
0 answers
Flutter cannot call result in native ios code
Good day, maybe someone can help me here. I have a SDK built into Flutter that I call via the ChannelMethod. There I enter a callback whose result I want to give back to flutter. The callback works but for some unknown reason the result function is…

F0rce
- 13
- 2
- 13
0
votes
1 answer
Flutter projects for native mobile and desktop web browser
Can someone list a few projects on github where a Flutter application is being used as both:
a mobile native application (not a PWA)
as well as a normal web app viewable by desktop browsers?
My goal is to create a single codebase where I can…

Vahid Pazirandeh
- 1,552
- 3
- 13
- 29