Skip to main content

All Questions

0 votes
0 answers
62 views

Flutter open_filex plugin error: "dartPluginClass does not exist" — targeting iOS/Android only

I'm working on a Flutter project using: Flutter: 3.29.2 Dart SDK: 3.7.2 Platform: macOS (Apple Silicon) Target platforms: iOS and Android only My pubspec.yaml includes the following dependencies: ...
Philip Khoy's user avatar
0 votes
0 answers
43 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,530
0 votes
1 answer
46 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,530
0 votes
0 answers
25 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
194 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
5 votes
0 answers
285 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
0 votes
0 answers
590 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
1 vote
0 answers
95 views

Flutter plugin not shown on Development Pods

I am trying to edit a flutter plugin code for iOS (Swift). I read in the official documentation that you can edit the iOS plugin code using XCode itself. As mentioned there, I built the code first and ...
Shrijan Regmi's user avatar
3 votes
1 answer
537 views

Flutter Plugin - Example App - Only runs via Xcode, not by itself

I'm creating a flutter plugin and I just tried the example project that gets created by flutter it self. This example project is an app that shows the operation system and its version. If I start it ...
F.M.'s user avatar
  • 760
0 votes
1 answer
3k views

Flutter plugin - MethodChannel: .invokeMethod() from native iOS to Flutter never reaches Flutter part

I'm having an issue with Flutter plugin development, especially with invoking MethodChannel from native iOS side to trigger Flutter plugin code. On Android, identical (in terms of logic) code ...
kkaun's user avatar
  • 603
0 votes
0 answers
600 views

How to wrap a native library class that has both a view and methods in Flutter plugin

In my Flutter plugin project, I need to expose a class in custom native libraries to plugin users. This class is different from the others I worked on in that it contains both a view and some methods. ...
Wei Wen's user avatar
  • 423
0 votes
2 answers
918 views

Flutter plugin: No such module 'google_mobile_ads' in iOS native code

I create a Flutter plugin for Admob to reuse in my different projects for banner, interstitial, native ad and rewarded ads. I create it so that I can just add the plugin to other project's pubspec....
leegor's user avatar
  • 532
0 votes
0 answers
408 views

Can I have more than one lib classes in Flutter plugin

First of all, I am new to Flutter plugin. And I think there is not much documentation on it. Here is my question: I am building a Flutter plugin that include custom native Android and iOS libraries. ...
Wei Wen's user avatar
  • 423
1 vote
0 answers
284 views

Flutter plugin - ios vendored library linking errors

I'm having a lot of issues trying to implement a native ios library into a flutter plugin, this is the plugin podspec: Pod::Spec.new do |s| s.name = 'flpl' s.version ...
MaxiStarling's user avatar
7 votes
2 answers
3k views

Where and How to Include File Resources Within IOS component of Flutter Plugin?

Let's say you're writing the IOS component of a Flutter plugin in Swift. You have your MyFlutterPlugin.swift file open in XCode. So that we know what we're talking about the same thing, it's the file ...
Nerdy Bunz's user avatar
  • 7,554

15 30 50 per page