xpusher 1.0.0 copy "xpusher: ^1.0.0" to clipboard
xpusher: ^1.0.0 copied to clipboard

outdated

Plugin pusher client for flutter.

XPusher #

Supported Platform #

  • Android : OK
  • iOS : Maintenance

Initializing #

XPusher pusher = XPusher();

  pusher.init(
    apiKey: "YOUR_API_KEY",
    cluster: "YOUR_CLUSTER",
    channelName: "YOUR_CHANNEL_NAME",
    eventName: "YOUT_EVENT_NAME",
    auths: "", // default = {}
    endPoint: "YOUR_END_POINT_AUTH",
    host: "pushnow.my.id", // default = "pushnow.my.id"
    wssPort: 6002, // default = 6002
    onConnectionState: (currentState, previousState) {
      print("state: $currentState, $previousState");
    },
    onEvent: (data) {
      print("data: $data");
    },
  );
1
likes
0
points
1
downloads

Publisher

unverified uploader

Weekly Downloads

Plugin pusher client for flutter.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on xpusher

Packages that implement xpusher