Skip to main content
Planned maintenance impacting Stack Overflow and all Stack Exchange sites is scheduled for Monday, September 16, 2024, 5:00 PM-10:00 PM EDT (Monday, September 16, 21:00 UTC- Tuesday, September 17, 2:00 UTC). The email/password authentication method will be unavailable for logging in and registering. Read more here
Filter by
Sorted by
Tagged with
0 votes
0 answers
26 views

Flutter plugin safer/proper setup to show various native screens

I'm working on a Flutter plugin that shows a few native screens but as the documentation for https://docs.flutter.dev/platform-integration/ios/platform-views nor https://docs.flutter.dev/platform-...
Vincenzo's user avatar
  • 6,148
0 votes
0 answers
16 views

An error occurred when importing java native modules directly into the flutter plugin project

Why can't I find mylibrary when I already have it in settings.gradle include? I tried to introduce it under the example->app project, which is normal. May I ask how to introduce it directly in the ...
he junhao's user avatar
0 votes
1 answer
29 views

FlutterError Optional("type \'_Map<Object?, Object?>\' is not a subtype of type \'Future<dynamic>\'") when using invokeMethod:argument:result from iOS

I'm creating a Flutter plugin with some native iOS ViewController from a native iOS app. In the native ViewController I setup a MethodChannel and a MethodCallHandler, same in the Flutter screen. I'm ...
Vincenzo's user avatar
  • 6,148
0 votes
0 answers
16 views

Get access to ComponentActivity inside Flutter Plugin

I need to get access to ComponentActivity to open ShopifyCheckoutSheetKit (Android) inside a Flutter Plugin. checkout-sheet-kit-android I am able to get access to Context and Activity via ...
Hamed Rezaee's user avatar
  • 7,162
0 votes
0 answers
30 views

Issue building my flutter project with gradlew: minSdkVersion 16 cannot be smaller than version 19

Im working in a CI/CD for a flutter project, i tried to add a gradle wrapper to start testing the project with lint, but im having the next issue when i try to start building the project with ./...
Edgar Arvayo's user avatar
-1 votes
0 answers
39 views

Make mssql_connection library work on iOS in a Flutter app?

I'm developing a Flutter app for both Android and iOS. I'm using the mssql_connection library to connect to my SQL Server database, which has a public IP. The library works fine on Android, but when ...
David Herrera's user avatar
0 votes
0 answers
25 views

How to automatically initialize the dart code of a flutter plugin?

I have a plugin which has both native and dart code. Currently there is an initialize method in the dart code which needs to be called and creates a method channel (android). A background engine is ...
Jonny Shanahan's user avatar
1 vote
1 answer
88 views
+50

Flutter plugins fail to load in a fragment

The flutter plugins are not loading when used with FlutterFragment. However, they are working fine when used with FlutterActivity. Ends up with the following exception for exception E [ERROR:flutter/...
Farooq Arshed's user avatar
0 votes
0 answers
58 views

how to add Shizuku-API dependency to flutter plugin?

I'm trying to implement Shizuku Api in my Flutter Plugin, i added this to my Android/ gradle def shizuku_version = 13.1.5 implementation "dev.rikka.shizuku:api:$shizuku_version" // Add this ...
Sniper 's user avatar
0 votes
0 answers
18 views

Theme doesn't change in iOS app with flutter

I'm building an framework with light and dark theme support , I am consuming the framework as local plugin inside the flutter project , when I'm trying to change the theme from light to dark the sdk ...
Katz's user avatar
  • 19
0 votes
0 answers
80 views

Adding a Flutter plugin dependency with native iOS SDK to both targets app and keyboard extension

I am building a Flutter plugin [MyPlugin] which depends on proprietary native SDKs (one for iOS one for Android). I then need to add this plugin as a dependency to a Flutter app I am also developing [...
Enea Ceolini's user avatar
0 votes
0 answers
50 views

How to remove the player control in media_kit flutter plugin

I want to remove the player control in media kit flutter plugin or maybe hover on the video but make it not show the control of the video. Because I try to create a custom player control on it but don'...
Nam Nhut's user avatar
0 votes
0 answers
78 views

How can I display a PPT file in Flutter?

I want to display a PPT file in my Flutter app. I'm receiving the PPT file URL from an API and need to display it. Currently, I'm using a WebView to achieve this because I haven't found any Flutter ...
Muhammed Sahal CP's user avatar
0 votes
0 answers
57 views

How to use Kotlin Flows in flutter plugin

What is the proper way to use kotlin flows in a flutter plugin? All the code i've seen references the view lifecycle, lifecycle scope, and view models, but none of those are available in a flutter ...
Josh Novak's user avatar
0 votes
2 answers
314 views

Detect whether Date & Time is set automatically or manually in Flutter

Is their any way or plugin available to detect whether the device Date & time is set automatically or user has entered manually i can get proper current Date time with await NTP.now(timeout: ...
Priyesh Sharma's user avatar
0 votes
1 answer
128 views

Flutter share: IllegalArgumentException: Failed to find configured root that contains 'Path'

I use share_plus to share a captured widget (Uint8List). The code below shows how I am saving the "image" to a temp directory, and then trying to share it (two ways, using XFile(path) and ...
Luca Nicoletti's user avatar
0 votes
0 answers
79 views

Where can i find all versions of the plugin "dev.flutter.flutter-plugin-loader"?

I am currently using the version 1.0.0 of dev.flutter.flutter-plugin-loader and I am wondering if exists other ones. settings.gradle: plugins { id "dev.flutter.flutter-plugin-loader" ...
Mastro's user avatar
  • 3
0 votes
1 answer
66 views

java.lang.ClassNotFoundException: Didn't find class "com.adyen.checkout.card.util.CardValidationUtils"

I am working on a Flutter app. In this app I am integrating Adyen payment gateway. To achieve this I have created a separate plugin to handle encrypting the card and other api calls to Adyen. In this ...
Code Hunter's user avatar
0 votes
0 answers
46 views

Flutter IOS plugin shows black screen

I created a simple view controller and its Xib File for my Flutter plugin on IOS platform. import UIKit class MyViewController: UIViewController { override func viewDidLoad() { super....
Cyrus the Great's user avatar
0 votes
0 answers
31 views

Flutter plugin development android src not opening after opening example

i am trying to make a flutter plugin for the first time i i ran into a problem. I followed this tutorial to set the project up, i opened the /example/android/build.gradle file in android studio and it ...
mikeee's user avatar
  • 1
0 votes
0 answers
37 views

Private native dependencies in Flutter plugin

For a Flutter plugin we're working on, we need to download a native dependency for both Android and iOS, which is hosted on a cloud service that requests a token in the URL specifying the dependency ...
Matteo Principe's user avatar
0 votes
0 answers
59 views

Changing colours of items in FortuneItem in FortuneBar the flutter_fortune_wheel not possible?

I have a flutter application and one of the things im using in it is the FortuneBar widget from the flutter_fortune_wheel plugin. The plugin supports direct customization of the FotuneBar using the &...
Furkan Smail's user avatar
0 votes
0 answers
20 views

How to set a property only in the Flutter package, but not in the parent application

My flutter package uses dataBinding. But it only works if my example application has it in the config buildFeatures { dataBinding true } Is it possible to set this property only inside the build....
Alexufo's user avatar
  • 1,793
1 vote
1 answer
263 views

my new flutter project failed to run on my device with exception

What went wrong: An exception occurred applying plugin request [id: 'dev.flutter.flutter-gradle-plugin', version: '1.0.0'] Failed to apply plugin 'dev.flutter.flutter-gradle-plugin'. No signature of ...
rAntor's user avatar
  • 11
0 votes
0 answers
36 views

Display a full screen app over another apps

I want to display a flutter app screen over another apps on a user device by selecting the apps from list of installed apps. How can I do so ? I've tried different plugins like flutter overlay over ...
Saurabh Kumar's user avatar
0 votes
0 answers
69 views

Overlay Flutter app over other installed apps

I'm creating an app lock using Flutter. I want the lock screen to overlay over other selected apps from the list of installed apps. I'm allowing display over other apps. But when I open the selected ...
Saurabh Kumar's user avatar
0 votes
0 answers
41 views

Could someone explain this build error to me?

We have a flutter app with a fluter-native plugin that we have written to host any native config code required for the mparticle flutter sdk. We've implemented the mparticle flutter SDK in the flutter ...
Dan Anderson's user avatar
0 votes
1 answer
153 views

How can I store the set pattern lock in flutter?

I want to set own pattern lock in my flutter app and want to open the app later with same lock . I'm using a pattern lock plugin to set the pattern. How can I store the pattern/pin lock ? I thought to ...
Saurabh Kumar's user avatar
0 votes
0 answers
91 views

flutter plugin: show IOS native dialog with custom view

I have this view : and this is its code : class CustomDialog: UIView { var vc: UIViewController! var view: UIView! @IBOutlet weak var titleLabel: UILabel! .... ...
Cyrus the Great's user avatar
0 votes
0 answers
133 views

Get error when run application with flutter but on android part application is ok

I am writing a Flutter plugin, On android part after finishing everything when I am running Android plugin with Android Studio, the plugin works correctly but when I am running my plugin on Flutter I ...
Cyrus the Great's user avatar
2 votes
0 answers
146 views

In Flutter Plugin template, how can I add Android dependency?

I created Flutter project with flutter create --platform=android --template=plugin flutter_tapjoy_sdk. I want to add TapjoySDK dependency to my plugin so users of my plugin can use it without adding ...
Hongseok Yoon's user avatar
1 vote
1 answer
87 views

Flutter Federated Plugins - Default Method Channel Implementation

I've been going over documentation and examples of federated plugins from the official flutter/packages repo on GitHub. I see several plugins implement a MethodChannel[Plugin]Platform implementation ...
Nico Spencer's user avatar
  • 1,170
0 votes
0 answers
38 views

Flutter plugin running fine when launched from Editor but giving an error when built in release app

I have written a Flutter plugin to implement ACS SmartCardReaders. All works fine when I build from VSCode to my device, but the plugin throws an error in the following function when I build a release ...
Benjamin's user avatar
  • 8,218
5 votes
0 answers
196 views

Shortcuts app for my appintent in flutter plugin?

I refer to having the App Intents looking like these widgets inside the Shortcuts app. Is that possible or only reserved for Flutter Plugin and Flutter Apps? Integrate Siri shortcuts AppIntents in ...
Hichem Romdhane's user avatar
1 vote
0 answers
72 views

I want to know if the channel established by the Flutter plugin is secure enough because I need to pass some sensitive information

I want to develop a cryptocurrency wallet that relies on the Flutter plugin channel for information transmission, but I'm unsure about the reliability of Flutter channel's security. I want to develop ...
lin leo leo's user avatar
0 votes
0 answers
216 views

Amazon's IVS Player implementation for Flutter

Im trying to do a basic implementation of IVS player for flutter given that it seems to be the lowest latency player for streaming. There seems to be a flutter package: https://pub.dev/packages/...
juan jose perez hernandez's user avatar
0 votes
1 answer
124 views

Flutter package with static ios framework and cloud_firestore package

I am working on Flutter package which depends on static ios framework as spec.dependency 'static-pod', '~> 1.0.0' in podspec When I'm using my package in project with use_modular_headers! ...
Andrii's user avatar
  • 13
0 votes
0 answers
120 views

Specific errors when running Flutter Build

I need someone with experience in Flutter/mobile to help me, since after a long look at documentation and StackOverflow and a few days of trying, I was unable to resolve the errors: Repository: https:/...
Guilherme Djrdjrjan Santos's user avatar
0 votes
0 answers
70 views

Android fails to Initiate APK Installation Despite Having Admin Permissions

Hello Stack Overflow Community, I am working on a Flutter Android plugin that is supposed to install an application on a device given the APK URL. Despite having set the app as the device admin and ...
Vofch's user avatar
  • 448
0 votes
0 answers
94 views

Where to place json file inside my flutter iOS plugin

I try to create iOS plugin for flutter. For that I want to use a json file, but I haven't managed to read it yet. I don't know if I've placed my json file correctly in my project : At the root of ios ...
Juliettead's user avatar
0 votes
0 answers
197 views

Best practice for including 3rd party vendor native SDKs into a flutter app

We have a complex business application and interacts with several native SDK's. Many of these currently the provide Android and iOS SDKs but they are not going to provide Flutter SDKs as of yet. What ...
satyajit's user avatar
  • 1,550
1 vote
0 answers
105 views

Flutter Plugin project could not find C++ libraries

TL;DR; Flutter Plugin project which uses .framework as iOS library, could not locate some of cpp libraries such as <list> I am working on a Flutter Application which contains platform native ...
top's user avatar
  • 11
1 vote
0 answers
201 views

Flutter plugin as a binary or library

Is it possible to make flutter plugin as a library,so that it can be used and add as a dependency to another flutter app? I have created a flutter plugin,that plugin uses jar file as a dependency,and ...
Santosh Korada's user avatar
0 votes
0 answers
125 views

Flutter plugin development: Receiving calls from method channel when application using the plugin is terminated

I am developing a flutter plugin that utilizes the method channels to communicate with the native mobile platforms. I have a problem with receiving calls from both native sides when the application ...
Szymon Oczowiński's user avatar
0 votes
0 answers
415 views

Create a native SDK using Flutter

I'm with a task but I don't know how to start this I searched a lot, there are very few articles about that, but none of then worked I need to create a SDK (library aar, framework) in flutter to be ...
Lucas Bordini's user avatar
0 votes
0 answers
114 views

Can we export our flutter package in our another project without exposing our code?

In android, I can create two application one is parent and another one is child. In child app I just want use only for library(.aar). this library I can invoke in my parent application and this ...
Surajit Roy's user avatar
36 votes
4 answers
33k views

Unable to get list of installed Simulator runtimes

I am using macOS and I am installing flutter. When I run to 'flutter doctor' I take a error like Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel stable, 3.13.5, on ...
Ebuzer SARIYERLİOĞLU's user avatar
1 vote
0 answers
108 views

url_strategy stops caching using Workbox Service Worker

I am developing a PWA using Flutter. To cache assets, I am using Workbox. When I use the url_strategy package, it cleans the hash (#) from the urls. e.g. ( http://localhost:400/homepage ). But the ...
vkjinx's user avatar
  • 11
2 votes
1 answer
2k views

java.lang.SecurityException: Permission Denial: starting Intent when trying to ask for bluetooth permission

I'm working in a Flutter android plugin and I'm not well familiar with Android development environment. I'm facing an issue that seems to be "popular", but all the solutions I tried didn't ...
GGirotto's user avatar
  • 1,015
0 votes
1 answer
1k views

Flutter_background_service: how to communicate between UI and background thread

The title says almost all - I'm not sure how to call invoke and on methods from the Flutter_background_service plugin, so that UI will be able to receive messages from the background and vice-versa? ...
May's user avatar
  • 127

1
2 3 4 5
11