superlistapp / super_native_extensions

Native drag & drop, clipboard access and context menu.
MIT License
440 stars 71 forks source link

super_drag_drop not working on Android #371

Open aford22 opened 3 months ago

aford22 commented 3 months ago

I have downloaded your "example" app from this repo, ran the melos bootstrap command and then run the flutter super_drag_drop app. Thjis works great on Windows, with drag drop happening as expected. But on Android, the app runs but dragging and droppping does nothing at all. There is no response when I try to drop anything over the "Drop here" area, and the coloured "draggable" rectangles at the top are not draggable.

Have I missed something?

knopp commented 3 months ago

This is definitely not expected. Is there any error in the application logs?

raj457036 commented 3 weeks ago

When dragging something out got this error

[        ] I/flutter ( 4514): PlatformException(super_native_extensions_error, invalid engine handle, engineContextError, null)
[   +6 ms] I/flutter ( 4514): #0      NativeMethodChannel.invokeMethod (package:irondash_message_channel/src/method_channel.dart:45:7)
[        ] I/flutter ( 4514): <asynchronous suspension>
[        ] I/flutter ( 4514): #1      DragContextImpl.startDrag (package:super_native_extensions/src/native/drag.dart:241:9)
[        ] I/flutter ( 4514): <asynchronous suspension>
[        ] I/flutter ( 4514): #2      LongPressSession.extend (package:super_native_extensions/src/drag_interaction/long_press_session.dart:35:14)
[        ] I/flutter ( 4514): <asynchronous suspension>

When Dropping something into the app got this error

[+39729 ms] I/VRI[MainActivity]( 4514): Reporting drop result: false
raj457036 commented 1 week ago

Any news?