bhagat-techind / flutter_sharing_intent

A flutter plugin to share file from other app to our app.
Apache License 2.0
46 stars 49 forks source link

Not able to share anything from external files to the application in ios #59

Open dhairyajain29 opened 5 months ago

dhairyajain29 commented 5 months ago

[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: MissingPluginException(No implementation found for method getInitialSharing on channel flutter_sharing_intent)

Dart - 3.0.0 Flutter SDK - 3.19.2

This is the same sample app we tried for flutter share intent - https://github.com/dhairyajain29/fluttersharingdemo1

Full error below

Launching lib/main.dart on iPhone 15 Pro in debug mode... Running Xcode build... Xcode build done. 44.2s [ERROR:flutter/shell/platform/darwin/graphics/FlutterDarwinContextMetalImpeller.mm(42)] Using the Impeller rendering backend. Debug service listening on ws://127.0.0.1:51520/6MrLxEg2BaM=/ws Syncing files to device iPhone 15 Pro... [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: MissingPluginException(No implementation found for method getInitialSharing on channel flutter_sharing_intent)

0 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:332:7)

#1 MethodChannelFlutterSharingIntent.getInitialSharing (package:flutter_sharing_intent/flutter_sharing_intent_method_channel.dart:29:18) #2 _MyAppState.initState. (package:fluttersharingdemo1/main.dart:38:15) ======== Exception caught by services library ====================================================== The following MissingPluginException was thrown while activating platform stream on channel flutter_sharing_intent/events-sharing: MissingPluginException(No implementation found for method listen on channel flutter_sharing_intent/events-sharing) When the exception was thrown, this was the stack: #0 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:332:7) #1 EventChannel.receiveBroadcastStream. (package:flutter/src/services/platform_channel.dart:676:9) ====================================================================================================
matthiaswinfried commented 4 months ago

same here