Giter Club home page Giter Club logo

Comments (14)

lejard-h avatar lejard-h commented on August 24, 2024 1

It's like you did get the updated dart code but not the iOS/Android one.
Can you try to remove pubspec.lock and .pub then redo a flutter packages get ?

from flutter_webview_plugin.

responilla07 avatar responilla07 commented on August 24, 2024 1

@arnoldparge @Kumuda123

I just fixed the issue on my side right now. I stop first the app then;

flutter clean
flutter clean cached --all
then ctrl + s in pubspec.yaml

in my pubspec i have this, 'flutter_webview_plugin:' and my flutter version is 1.17.5

from flutter_webview_plugin.

imtoori avatar imtoori commented on August 24, 2024

Did you solve in some way? I'm having the same error

from flutter_webview_plugin.

IanDarwin avatar IanDarwin commented on August 24, 2024

I was having the same problem but it went away on its own, probably something wasn't clean. Restarted my Mac on Monday morning, rebuild and reloaded everything and my Help route via WebView is working fine on both platforms.

from flutter_webview_plugin.

zoechi avatar zoechi commented on August 24, 2024

flutter clean might help. I have this occasionally recently that some changes don't take effect.

from flutter_webview_plugin.

IanDarwin avatar IanDarwin commented on August 24, 2024

Yes, that's what I meant by "rebuilt and reloaded everything", flutter clean run forces it to rebuild everything in sight. Is now my go-to first thing to try when changes don't appear in a "hot reload"

from flutter_webview_plugin.

tiagosito avatar tiagosito commented on August 24, 2024

@lejard-h and others devs...
I have already performed the procedures of [Restart mac, flutter clean] and still it continues with error below for iOS..... and for Android the project can not be built

ERROR:
[VERBOSE-2: dart_error.cc (16)] Unhandled exception:
MissingPluginException (No implementation found for method launch on channel flutter_webview_plugin)

0 MethodChannel.invokeMethod (package: flutter / src / services / platform_channel.dart: 278: 7)

1 FlutterWebviewPlugin.launch (package: blablabla / webview / base.dart: 103: 20)

2 _WebviewScaffoldState.build (package:blablabla/ webview_scaffold.dart: 62:24)

from flutter_webview_plugin.

siyukok avatar siyukok commented on August 24, 2024

If you use the AS, please check the file - > project structure - > modules - > dependences, maybe could solve the problem

from flutter_webview_plugin.

Kumuda123 avatar Kumuda123 commented on August 24, 2024

Hey I am having the same problem. Did you find a solution ?

from flutter_webview_plugin.

manondidi avatar manondidi commented on August 24, 2024

Hey I am having the same problem. Did you find a solution ?

i have same issue,did you fix ?

from flutter_webview_plugin.

Kumuda123 avatar Kumuda123 commented on August 24, 2024

No i did not fix the issue !

from flutter_webview_plugin.

manondidi avatar manondidi commented on August 24, 2024

No i did not fix the issue !

it work fine in single flutter project but not in a exiting project add into flutter
what about you?

if cant fix ,what should we do? give up flutter in this function,use native develop it?

from flutter_webview_plugin.

manondidi avatar manondidi commented on August 24, 2024

No i did not fix the issue !

hey my friend ,i am so exited to share you my way to fix it, yes, i fixed it, maybe it is a bug

  1. it's happend in a exiting project add into flutter
  2. i add into flutter by offical wiki but i didnt use flutterview or flutterfragment

i create a activity class ShopActivity : FlutterFragmentActivity()
then
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
GeneratedPluginRegistrant.registerWith(this)
....}
when i use flutter-webview-plugin logcat print "MissingPluginException(No implementation found for method close on channel flutter_webview_plugin) "

i think flutter-webview-plugin maybe not register successfully
so i add " FlutterWebviewPlugin.registerWith(this.registrarFor("com.flutter_webview_plugin.FlutterWebviewPlugin"))"

override fun onCreate(savedInstanceState: Bundle?) {
    super.onCreate(savedInstanceState)

    GeneratedPluginRegistrant.registerWith(this)
    FlutterWebviewPlugin.registerWith(this.registrarFor("com.flutter_webview_plugin.FlutterWebviewPlugin"))

}

then success, that maybe a flutter bug in a exiting project add into flutter
我只是用取巧的方式绕过了这个问题,希望官方可以重视修复

from flutter_webview_plugin.

ankit-tyagi123 avatar ankit-tyagi123 commented on August 24, 2024

I am also having same issue. Stuck from last 2 days. None of above solution worked for me.

from flutter_webview_plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.