Questions tagged [flutter-plugin]

Use this tag for questions related to the creation or modification of plugins in flutter. For the use of, or issues with, plugins as dependencies, use [flutter-dependencies] instead.

Flutter plugins make the functionality of native code available to Flutter. This can be done through the use of platform channels.

See Developing plugin packages for more information.

492 questions
2
votes
0 answers

How to add platform-specific plugin to flutter

I've add apple_sign_in plugin to my existing flutter projects. I see that this plugin only support iOS, thus now when I build the project for android I get the following error. Plugin project :sign_in_apple not found. Please update…
Kardo Aziz
  • 125
  • 8
2
votes
2 answers

How to send a file to specific contact in whatsapp using url launcher - Flutter

We can able to send a text message directly to specific contact, but I want to send a file to whatsapp contact using url launcher. How to achieve this in flutter. Below is my code for sending only message. String message = "sample text"; String…
2
votes
1 answer

How to change background color of notification flutter_local_notification?

I am using the flutter_local_notification package for showing the notification. For example, I want to change the background color of notifications to blue, but using the color property in notification detail changes the text color of the App name…
2
votes
2 answers

Flutter platform channels pass "multi-data" to windows function

I am testing the Platform-Channels with the windows visual studio 2022. I can pass the single value from the flutter UI while I get the battery value, but I want to send multi-data from flutter to the windows code. Here is mine test code which I…
2
votes
1 answer

How to use AR Flutter Plugin with different 3D object?

I am trying to use ar_flutter_plugin. In the flutter example on pub.dev they are using a gltb file as 3D Object named Chicken_01.gltb which is working correctly. But when I tried other gltb files after downloading from internet, they are not…
2
votes
1 answer

pub.dev - my package not showing platforms correctly (web missing)

I developed a flutter package multi_image_picker_view: https://pub.dev/packages/multi_image_picker_view This package depends on file_picker and flutter_reorderable_grid_view, they both support the Web. But in my package, web option is not visible in…
2
votes
2 answers

How to use some flutter plugin as a dependency to a flutter package and use this package in my flutter app?

I am trying to make a single package for dealing with permissions and data flow for this I have used different plugins and packages as a dependency on this package. But some plugins throw errors of . Does anyone know the reason behind it? It's…
2
votes
1 answer

Flutter video_player is taking too much time to load video from firbase

Hi I am creating a video player which lists all videos from Firebase storage and play it. I used cache_video_player plugin to play video. This is similar to video_player plugin with cache service. This plugin takes too much time to initialize and…
user7160306
  • 49
  • 11
2
votes
1 answer

Flutter federated android plugin - only see interface method

Running the simplest example in a flutter android plugin(federated), I keep getting: MissingPluginException(No implementation found for method getPlatformVersion on channel plugins.mydomain.com/my_package) It is like it only sees the interface, and…
Chris G.
  • 23,930
  • 48
  • 177
  • 302
2
votes
0 answers

Flutter plugin instance with parameters

I am trying to make a plugin for authentication. It will act like a "wrapper" (but with additional functionality for each plugin) for different already existing packages for different platforms. By the additional functionality I mean Web…
TheSpixxyQ
  • 744
  • 1
  • 6
  • 16
2
votes
2 answers

Rendering to CVPixelBuffer on iOS

I have a flutter plugin where I need do to some basic 3D rendering on iOS. I decided to go with the Metal API because the OpenGL ES is deprecated on the platform. Before implementing a plugin I implemented rendering in the iOS application. There…
Cezary Butler
  • 807
  • 7
  • 21
2
votes
2 answers

Audio not looping in the background

My implementation loops in the foreground. It also works in the background. The issue is it does NOT loop in the background. The issue happens only on iOS physical device (not on Simulator, nor Android). I'm using…
Tomas Baran
  • 1,570
  • 2
  • 20
  • 37
2
votes
0 answers

prevent flutter plugin screenshot

I have used and tried Flutter window manager and Also added secure flags in the Main activity. It prevents the screenshot in the rest of the app, but when I open Epub files using epub_viewer, Inside the epub viewer, screenshots are working. How can…
Dhruvbhati
  • 307
  • 1
  • 13
2
votes
1 answer

Why does Apple payment sheet pop up twice?

Ok, I have this issue 90% of times. The user clicks the CTA button in the app Apple payment button is shown The user subscribes Then it seems everything has gone OK I get no error in the console, no report — nothing then the Apple payment button…
Tomas Baran
  • 1,570
  • 2
  • 20
  • 37
2
votes
2 answers

Is it possible to use OneSignal with Flutter-Web?

Calling any of the OneSignal functions works fine on android but on web it throws the following exception. Note that the subscription part is working, I had my appId set in the index.html, I uploaded the service worker js files and I received the…
elbehairy
  • 51
  • 6