Coder Social home page Coder Social logo

flutter_zendesk_chat's Issues

Unhandled Exception: MissingPluginException(No implementation found for method init on channel plugins.flutter.zendesk_chat_api/calls)

The error is present only when building for Android. The build for the IOS is going well.

E/flutter (32683): [ERROR:flutter/lib/ui/ui_dart_state.cc(166)] Unhandled Exception: MissingPluginException(No implementation found for method init on channel plugins.flutter.zendesk_chat_api/calls)
E/flutter (32683): #0      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:159:7)

Flutter doctor result:

Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 1.20.2, on Microsoft Windows [Version 10.0.18363.1016], locale ru-RU)

[√] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
[√] Android Studio (version 4.0)
[!] IntelliJ IDEA Community Edition (version 2018.1)
    X Flutter plugin not installed; this adds Flutter specific functionality.
    X Dart plugin not installed; this adds Dart specific functionality.
[!] VS Code (version 1.44.2)
    X Flutter extension not installed; install from
      https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter
[√] Connected device (1 available)

! Doctor found issues in 2 categories.

Add package doc

  • Add package documentation to README.md
  • Add screenshots from example

Make chat colours custom

Nowadays, chat use primary and accent colours as base, but it's not always true. Sometimes you want to use a different color to your chat page, or just to your chat response background.

Would be awesome have a ChatStyle or something to define the custom style

Something like: AppBarSettings -> here that must be a model.

The method 'startsWith' was called on null.

══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
The following NoSuchMethodError was thrown building ZendeskChatWidget(dirty, dependencies:
[_InheritedTheme, _LocalizationsScope-[GlobalKey#6c1ca]], state: _ZendeskChatWidgetState#6df09):
The method 'startsWith' was called on null.
Receiver: null
Tried calling: startsWith("visitor")

The relevant error-causing widget was:
  MaterialApp file:///C:/project_path/lib/main.dart:11:12

When the exception was thrown, this was the stack:
#0      Object.noSuchMethod (dart:core-patch/object_patch.dart:51:5)
#1      _ZendeskChatWidgetState.mapChatLogToMessage (package:zendesk_chat/widgets/zendesk_chat_widget.dart:72:23)

2020-08-18_13-36-27

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.