Giter Site home page Giter Site logo

[ERROR:flutter/lib/ui/ui_dart_state.cc(148)] Unhandled Exception: PlatformException(871303, Invalid username., ) about jmessage-flutter-plugin HOT 1 CLOSED

jpush avatar jpush commented on July 27, 2024
[ERROR:flutter/lib/ui/ui_dart_state.cc(148)] Unhandled Exception: PlatformException(871303, Invalid username., )

from jmessage-flutter-plugin.

Comments (1)

chenquan avatar chenquan commented on July 27, 2024

@huangminlinux 找到了报错的原因。

  • .login(username: username, password: password);是因为用户名没有注册,所以显示 Invalid username

  • .userRegister(username: username, password: password);是因为注册用户时,用户名和密码不符合要求(要求用户名和密码都必须大于4个字符)。

建议使用更人性化的错误提示,或者一开始就说明这种情况,让开发者自己做个性化处理。

from jmessage-flutter-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.