Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

help #3

Closed
zjoart opened this issue Sep 10, 2020 · 7 comments
Closed

help #3

zjoart opened this issue Sep 10, 2020 · 7 comments

Comments

@zjoart
Copy link

zjoart commented Sep 10, 2020

I got this error today [ERROR:flutter/lib/ui/ui_dart_state.cc(166)] Unhandled Exception: MissingPluginException(No implementation found for method beginChat on channel livechat)
E/flutter ( 6132): #0 MethodChannel._invokeMethod
package:flutter/…/services/platform_channel.dart:159
E/flutter ( 6132):
E/flutter ( 6132): #1 MethodChannel.invokeMethod
package:flutter/…/services/platform_channel.dart:334
E/flutter ( 6132): #2 Livechat.beginChat (package:livechat/livechat.dart:17:20)
E/flutter ( 6132): #3 _MyHomePageState.build.

@Mastersam07
Copy link
Owner

Mastersam07 commented Sep 10, 2020

  • What platform are you testing on? Android or iOS?
  • Which version of the plugin are you using?
  • You added the plugin and hot restarted or reloaded?

The plugin works as intended. The error probably appears because the addition of the plugin was followed by hot restart or hot reload rather than full restart. This means the plugin's platform-specific code is not built into the app.

Workaround: stop the app and restart it after adding a plugin...... Let me know if this fixes it.

Other helpful link(s): Restart is needed after adding a plugin dependency

@zjoart
Copy link
Author

zjoart commented Sep 10, 2020

i tried it but it loads for some seconds and stops with couldnt load chat,
and doesnt reload

@Mastersam07
Copy link
Owner

Can you provide a screenshot of what you are seeing?

Also, are you using an emulator?

@zjoart
Copy link
Author

zjoart commented Sep 10, 2020

no i am using a physical device

@zjoart
Copy link
Author

zjoart commented Sep 10, 2020

is the groupid something i am to get from livechat.com ?

@Mastersam07
Copy link
Owner

Yes. You are to get the credentials from livechat.com(GROUP_ID and LICENSE_NO) which you would pass to Livechat.beginChat(LICENSE_NO, GROUP_ID, VISITOR_NAME, VISITOR_EMAIL);

@zjoart
Copy link
Author

zjoart commented Sep 10, 2020

worked thanks

@zjoart zjoart closed this as completed Sep 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants