zhouteng0217 / ShareExtend

调用系统分享的Flutter组件,支持分享文本,图片,视频和文件
MIT License
177 stars 54 forks source link

missingplugin #31

Closed ahmetveysels closed 4 years ago

ahmetveysels commented 4 years ago

hi i have a porblem.

D/jniPdfium(19205): Init FPDF library D/EGL_emulation(19205): eglMakeCurrent: 0xd6a1a240: ver 3 1 (tinfo 0xd6a0f810) E/flutter (19205): [ERROR:flutter/lib/ui/ui_dart_state.cc(157)] Unhandled Exception: MissingPluginException(No implementation found for method share on channel com.zt.shareextend/share_extend) E/flutter (19205): #0 MethodChannel.invokeMethod package:flutter/…/services/platform_channel.dart:319 E/flutter (19205): E/flutter (19205): #1 ShareExtend._shareInner (package:share_extend/share_extend.dart:62:21) E/flutter (19205): #2 ShareExtend.share (package:share_extend/share_extend.dart:34:12) E/flutter (19205): #3 _SonuclarPDFEkraniState.build. package:sis_av_hesaplama/screen/sonuc_pdfekrani.dart:103 E/flutter (19205): #4 _InkResponseState._handleTap package:flutter/…/material/ink_well.dart:706 E/flutter (19205): #5 _InkResponseState.build. package:flutter/…/material/ink_well.dart:789 E/flutter (19205): #6 GestureRecognizer.invokeCallback

JEuler commented 4 years ago

How you are using this package? Have you tried flutter clean to rebuild the app?

ahmetveysels commented 4 years ago

yeah. Does the plugin not work on Android 6.0?

JEuler commented 4 years ago

Yes is should work, the min sdk for Android version is 16. Please provide your pubspec piece of code and the code where you use the ShareExtend.

JEuler commented 4 years ago

https://github.com/zhouteng0217/ShareExtend/issues/14 - please try this "solution"

ahmetveysels commented 4 years ago

missing plugin solved. I wrote a title in the share code instead of the file type. Sorry. But android 6 not working. i want send mail for gmail. phone sad "permission denied for the attachment" i cant understand. thanks

JEuler commented 4 years ago

This is very strange, I've tried it on Android 6 emulator (don't have device) and sharing dialog appeared. Maybe this is some content provider error, please try this https://github.com/zhouteng0217/ShareExtend/issues/26#issuecomment-613983678

ahmetveysels commented 4 years ago

yes. sharing dialog appering. but attecment denided. this emulator android 6. Screenshot_1587203946

Screenshot_1587203952

zhouteng0217 commented 4 years ago

@avdisx , please try the version 1.1.5, the issue should be fixed.

ahmetveysels commented 4 years ago

is not working. i am not send with whatsapp? why ? :D

zhouteng0217 commented 4 years ago

@avdisx I tested on emulator android 6 and it worked well. Did you test with demo code on emulator android 6 ?

WX20200424-085617@2x WX20200424-091126@2x
ahmetveysels commented 4 years ago

Ok. thanks. its working but i not working in telegram. interesting :D thanks for everything :D 🥇