Giter Club home page Giter Club logo

Comments (13)

AyonAB avatar AyonAB commented on July 30, 2024 1

I recently rewrote the plugin using flutter pigeon with few breaking changes. Will push a pre-release version on the pub by tomorrow. Your problem should resolve in that, if not feel free to let me know. Will notify here once it goes live on pub.dev.

from signalr_flutter.

Deivid1071 avatar Deivid1071 commented on July 30, 2024

How amazing, thank you very much for your willingness and promptness, I'll wait to use the new version

from signalr_flutter.

AyonAB avatar AyonAB commented on July 30, 2024

A new pre-release version is released in pub.dev. Feel free to try it out.

from signalr_flutter.

Deivid1071 avatar Deivid1071 commented on July 30, 2024

Hi, thanks for the info, I used this new version and the behavior persists. I made a call with the Hub do signal but the event only arrived on the android and did not arrive on the ios simulator. The ios status was "ConnectionStatus.connected"

Do I need to enable some setting?

from signalr_flutter.

AyonAB avatar AyonAB commented on July 30, 2024

Did you get any error message on your console after the event is dispatched?
Will look into it once I get some time.

from signalr_flutter.

Deivid1071 avatar Deivid1071 commented on July 30, 2024

I didn't get any error on the console, it just doesn't happen. I tried to run in the debug but nothing came up.

I understand, as soon as something new comes out I'll try again

from signalr_flutter.

AyonAB avatar AyonAB commented on July 30, 2024

Strange cause I tested on both debug and release mode and the events are arriving fine. Have you tried cleaning your project from vscode/android studio & xcode before trying the pre release version?

from signalr_flutter.

Deivid1071 avatar Deivid1071 commented on July 30, 2024

I just updated the plugin, I'll try again cleaning the project. I'm using a Mac M1 I don't know if this is relevant. I will try again later. thanks for the feedback

from signalr_flutter.

Deivid1071 avatar Deivid1071 commented on July 30, 2024

Hi, I tried again with a clean project and used the example from the pub dev itself, but I couldn't receive events. On the hub side would need to send something different to work on ios?
thanks for the support

from signalr_flutter.

xalabax avatar xalabax commented on July 30, 2024

Hello
Have same problem on iOS for signalr_flutter: ^0.2.0-dev.2

flutter: @@@ ConnectionStatus.connecting
flutter: @@@ ConnectionStatus.connectionError
flutter: @@@ ConnectionStatus.disconnected

======== Exception caught by services library ======================================================
The following PlatformException was thrown during a platform message callback:
PlatformException(channel-error, ["source": Internal Server Error, "message": Error during start request. Stopping the connection.], null, null)

When the exception was thrown, this was the stack: 
#0      SignalR.onStatusChange (package:signalr_flutter/signalr_flutter.dart:46:7)
#1      SignalRPlatformApi.setup.<anonymous closure> (package:signalr_flutter/signalr_api.dart:277:21)
#2      SignalRPlatformApi.setup.<anonymous closure> (package:signalr_flutter/signalr_api.dart:270:35)
#3      BasicMessageChannel.setMessageHandler.<anonymous closure> (package:flutter/src/services/platform_channel.dart:73:49)
#4      BasicMessageChannel.setMessageHandler.<anonymous closure> (package:flutter/src/services/platform_channel.dart:72:47)
#5      _DefaultBinaryMessenger.setMessageHandler.<anonymous closure> (package:flutter/src/services/binding.dart:379:35)
#6      _DefaultBinaryMessenger.setMessageHandler.<anonymous closure> (package:flutter/src/services/binding.dart:376:46)
#7      _invoke2.<anonymous closure> (dart:ui/hooks.dart:205:15)
#11     _invoke2 (dart:ui/hooks.dart:204:10)
#12     _ChannelCallbackRecord.invoke (dart:ui/channel_buffers.dart:42:5)
#13     _Channel.push (dart:ui/channel_buffers.dart:132:31)
#14     ChannelBuffers.push (dart:ui/channel_buffers.dart:329:17)
#15     PlatformDispatcher._dispatchPlatformMessage (dart:ui/platform_dispatcher.dart:544:22)
#16     _dispatchPlatformMessage (dart:ui/hooks.dart:92:31)
(elided 3 frames from dart:async)
====================================================================================================

For previous version i had same problem, but empty log

from signalr_flutter.

nikhilsingh834783 avatar nikhilsingh834783 commented on July 30, 2024

@xalabax have you fixed this issue ? because i am facing same problem in ios.

from signalr_flutter.

nikhilsingh834783 avatar nikhilsingh834783 commented on July 30, 2024

@AyonAB connection is not establishing in ios getting this error.
SignalR Error: ["source": , "message": Error during start request. Stopping the connection.]
Please help.

from signalr_flutter.

potumati avatar potumati commented on July 30, 2024

When starting the app in ios the signal is connected and keeps the connection, but I don't receive any event. If I keep android and ios receiving the same event, on android it is received but on ios not.

Is there any specific configuration for ios at this point to work well?

Deivid, did you find any solution?

from signalr_flutter.

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.