Skip to content

Unhandled Exception: MissingPluginException #105

Closed
@mateusz-grzegorzek

Description

@mateusz-grzegorzek

Hello,

I was trying to run simple application with url_launcher plugin and it crashed with following exception:

[ERROR:engine/src/flutter/lib/ui/ui_dart_state.cc(177)] Unhandled Exception: MissingPluginException(No implementation found for method canLaunch on channel plugins.flutter.io/url_launcher)
#0      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:157:7)
<asynchronous suspension>
#1      MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:332:12)
#2      MethodChannelUrlLauncher.canLaunch (package:url_launcher_platform_interface/method_channel_url_launcher.dart:18:21)

In README I found:

You can now theoretically run every flutter app you want using flutter-pi, including apps using extensions & plugins, 
just that you'd have to build the platform side of the plugins you'd like to use yourself.

So how can I build this platform side of the plugin and then use it with flutter-pi?
I see that url_launcher have linux platform code, so I need to somehow port this code to RPi?

Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions