Strophe-dart is a pure Dart library for speaking XMPP via BOSH (XEP 124 and XEP 206) and WebSockets (RFC 7395).
Its primary purpose is to enable mobile-based(flutter),desktop and web-based, real-time XMPP applications.
Bosh and all authenticate mechanisms don't work for the moment .
License It is licensed under the MIT license, except for the files sha1.js, base64.js and md5.js, which are licensed as public domain and BSD (see these files for details).
Author & History Strophe.js was originally created by Jack Moffitt. It was originally developed for Chesspark, an online chess community based on XMPP technology. It has been cared for and improved over the years and is currently maintained by many people in the community.
Add this to your package's pubspec.yaml file:
dependencies: strophe: ^0.0.5
You can install packages from the command line:
$ flutter packages get
Alternatively, your editor might support
flutter packages get.
Check the docs for your editor to learn more.
Now in your Dart code, you can use:
|0.0.5||Aug 17, 2018|
|0.0.4||Aug 11, 2018|
|0.0.3||Aug 10, 2018|
|0.0.2||Aug 10, 2018|
|0.0.1||Aug 10, 2018|
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
We analyzed this package on Dec 5, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:
Detected platforms: Flutter
References Flutter, and has no conflicting libraries.
lib/src/bosh.dart. (-0.50 points)
lib/src/bosh.dart reported 1 hint:
line 697 col 11: Equality operator
== invocation with references of unrelated types.
lib/src/enums.dart. (-0.50 points)
lib/src/enums.dart reported 1 hint:
line 2789 col 12: The value of the local variable 'qop' isn't used.
lib/src/plugins/privacy.dart. (-0.50 points)
lib/src/plugins/privacy.dart reported 1 hint:
line 23 col 12: The value of the field '_listChangeCallback' isn't used.
lib/src/plugins/roster.dart. (-0.50 points)
lib/src/plugins/roster.dart reported 1 hint:
line 163 col 9: Invocation of
remove with references of unrelated types.
lib/src/websocket.dart. (-0.50 points)
lib/src/websocket.dart reported 1 hint:
line 285 col 68: 'CLOSED' is deprecated and shouldn't be used.
Support latest stable Dart SDK in
pubspec.yaml. (-20 points)
The SDK constraint in pubspec.yaml doesn't allow the latest stable Dart SDK release.
The description is too short. (-20 points)
Add more detail about the package, what it does and what is its target use case. Try to write at least 60 characters.
Maintain an example. (-10 points)
Create a short demo in the
example/ directory to show how to use this package. Common file name patterns include:
example.dart or you could also use
Package is pre-v0.1 release. (-10 points)
While there is nothing inherently wrong with versions of
0.0.*, it usually means that the author is still experimenting with the general direction of the API.
|Dart SDK||>=1.19.0 <=2.1.0|