Antoinegtir / background-remover

First Flutter package that remove background from selfie using Google ML Kit
https://pub.dev/packages/background_remover
Apache License 2.0
20 stars 9 forks source link

MissingPluginException #1

Open nicomelnyk opened 10 months ago

nicomelnyk commented 10 months ago

Hi! I want to try this package. Looks amazing and promising. Getting this error while im calling removeBackground() method: "MissingPluginException(No implementation found for method removeBackground on channel background_remover)" What could the problem be? I am using chrome as emulator

nicomelnyk commented 10 months ago

It works when I use a phone as emulator. Seems like a web related problem

Antoinegtir commented 10 months ago

It works when I use a phone as emulator. Seems like a web related problem

As said on the pub dev website the package is currently aivailable only for android

nicomelnyk commented 10 months ago

didnt see it, my bad works great on android. cheers mate

Antoinegtir commented 10 months ago

didnt see it, my bad

works great on android. cheers mate

Thanks maybe it will be deploy on others platform in the future 🤷‍♂️

Kaizodo commented 4 months ago

run flutter clean then rebuilt the app it will work

Veere6 commented 4 months ago

[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: MissingPluginException(No implementation found for method removeBackground on channel background_remover)

0 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:332:7)

#1 BackgroundRemover.removeBackground (package:background_remover/src/background_remover_platform.dart:8:12) #2 removeBackground (package:background_remover/background_remover.dart:7:10) #3 _ResultViewState._removeBackground (package:wardrobe/view/result_view.dart:352:20) . working fine in android but in ios i am facing this issue