roughike / flutter_twitter_login

A Flutter plugin for authenticating users by using the native TwitterKit SDKs on Android & iOS.
BSD 2-Clause "Simplified" License
84 stars 136 forks source link

Twitter login is not working in Web application. #35

Open RaghuMudem opened 4 years ago

RaghuMudem commented 4 years ago

Hi I have used the latest version of plugin for my application to provide twitter authentication. It is working fine in both Android and iOS.

But not working in Web application. Instead it is returning the below message when i tried to execute twitter login code.

`html_dart2js.dart:39777 Overflow on channel: com.roughike/flutter_twitter_login.  Messages on this channel are being discarded in FIFO fashion.  The engine may not be running or you need to adjust the buffer size if of the channel.`

errors.dart:146 Uncaught (in promise) Error: MissingPluginException(No implementation found for method authorize on channel com.roughike/flutter_twitter_login)
    at Object.throw_ [as throw] (errors.dart:195)
    at MethodChannel._invokeMethod (platform_channel.dart:154)
    at _invokeMethod.next (<anonymous>)
    at onValue (async_patch.dart:47)
    at _RootZone.runUnary (zone.dart:1439)
    at _FutureListener.thenAwait.handleValue (future_impl.dart:141)
    at handleValueCallback (future_impl.dart:682)
    at Function._propagateToListeners (future_impl.dart:711)
    at _Future.new.[_completeWithValue] (future_impl.dart:526)
    at async._AsyncCallbackEntry.new.callback (future_impl.dart:556)
    at Object._microtaskLoop (schedule_microtask.dart:43)
    at _startMicrotaskLoop (schedule_microtask.dart:52)
    at async_patch.dart:168

image

Please help me to solve this issue for Web application. Or suggest me any other solution for Web application.

brasizza commented 4 years ago

Hi I have used the latest version of plugin for my application to provide twitter authentication. It is working fine in both Android and iOS.

But not working in Web application. Instead it is returning the below message when i tried to execute twitter login code.

`html_dart2js.dart:39777 Overflow on channel: com.roughike/flutter_twitter_login.  Messages on this channel are being discarded in FIFO fashion.  The engine may not be running or you need to adjust the buffer size if of the channel.`
errors.dart:146 Uncaught (in promise) Error: MissingPluginException(No implementation found for method authorize on channel com.roughike/flutter_twitter_login)
    at Object.throw_ [as throw] (errors.dart:195)
    at MethodChannel._invokeMethod (platform_channel.dart:154)
    at _invokeMethod.next (<anonymous>)
    at onValue (async_patch.dart:47)
    at _RootZone.runUnary (zone.dart:1439)
    at _FutureListener.thenAwait.handleValue (future_impl.dart:141)
    at handleValueCallback (future_impl.dart:682)
    at Function._propagateToListeners (future_impl.dart:711)
    at _Future.new.[_completeWithValue] (future_impl.dart:526)
    at async._AsyncCallbackEntry.new.callback (future_impl.dart:556)
    at Object._microtaskLoop (schedule_microtask.dart:43)
    at _startMicrotaskLoop (schedule_microtask.dart:52)
    at async_patch.dart:168

image

Please help me to solve this issue for Web application. Or suggest me any other solution for Web application.

same here!

walteraa commented 3 years ago

I am experiencing the same issue for Flutter web. Any solution @brasizza @RaghuMudem ?

walteraa commented 3 years ago

This lib has no support for web. It is in the pub stuff.