pusher-channels-flutter icon indicating copy to clipboard operation
pusher-channels-flutter copied to clipboard

Pusher Channels client library for Flutter targeting IOS, Android, and WEB

Results 44 pusher-channels-flutter issues
Sort by recently updated
recently updated
newest added

## Description I've faced a problem using WEB and private channels. ![IMAGE 2023-12-07 07:30:10](https://github.com/pusher/pusher-channels-flutter/assets/1523848/95c23254-9dbb-400a-bf19-7fabfe3971f6) ## CHANGELOG * [CHANGED] Fix authorization for private channels in WEB

I followed the instructions from the docs but when pushing data, the connection has problem. supposed "testsssd" would display on the Debug console but won't ![image](https://github.com/pusher/pusher-channels-flutter/assets/124768520/11841165-69a7-49e6-a3ed-e0aaf332cabe) ![image](https://github.com/pusher/pusher-channels-flutter/assets/124768520/7bd3e312-89ef-4bc7-95d5-a938fe51a7f1) [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception:...

## Description custom host option added ## CHANGELOG * [CHANGED] Describe your change here. Look at CHANGELOG.md to see the format.

This is the full code of pusher ``` import 'package:flutter/material.dart'; import 'dart:async'; import 'dart:convert'; import 'package:http/http.dart' as http; import 'package:pusher_channels_flutter/pusher-js/core/auth/options.dart'; import 'package:pusher_channels_flutter/pusher-js/core/auth/pusher_authorizer.dart'; import 'package:pusher_channels_flutter/pusher-js/core/options.dart'; import 'package:shared_preferences/shared_preferences.dart'; import 'package:pusher_channels_flutter/pusher_channels_flutter.dart'; class PusherTest...

## Description Add types to onSubscriptionSucceeded, onMemberAdded, onMemberRemoved,onEvent, onSubscriptionCount.

import 'dart:convert'; import 'package:erp/data/repositories/local/sharedpreferences/sharepreferences_class.dart'; import 'package:erp/providers/auth_provider/login_provider.dart'; import 'package:erp/providers/push_notification_provider/push_notification_provider.dart'; import 'package:erp/utils/global/navigation_service_without_context.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:permission_handler/permission_handler.dart'; import 'package:provider/provider.dart'; import 'package:pusher_channels_flutter/pusher_channels_flutter.dart'; import 'package:shared_preferences/shared_preferences.dart'; import 'local_notification_service.dart'; String apiKey = "293f1afc5c963538c481"; //String apiKey...

I'm using the latest version of Flutter **3.22.2** for now **Gradle version: 8.7** **AGP version: 8.5.0** when I was trying to build a release version of my app I got...

Didn't receive all the fields expected from the ChannelAuthorizer, expected an auth and shared_secret. Exception: com.pusher.client.AuthorizationFailureException: Didn't receive all the fields expected from the ChannelAuthorizer, expected an auth and shared_secret.

[ERROR:flutter/shell/common/shell.cc(1055)] The 'pusher_channels_flutter' channel sent a message from native to Flutter on a non-platform thread. Platform channel messages must be sent on the platform thread. Failure to do so may...

PS C:\Users\samir\OneDrive\Desktop\Nova pasta (4)\ProjectoCOPMOZ\copmoz> flutter build apk Font asset "MaterialIcons-Regular.otf" was tree-shaken, reducing it from 1645184 to 4320 bytes (99.7% reduction). Tree-shaking can be disabled by providing the --no-tree-shake-icons flag...