aarajput / wc_flutter_share

A Flutter plugin for sharing files & text with other applications.
Apache License 2.0
35 stars 19 forks source link

Nothing it happend #17

Closed mbdax034 closed 4 years ago

mbdax034 commented 4 years ago

Hello thank for all,

Share text or image not working and no exception is thrown wc_flutter_share: ^0.2.1 test in Android device Flutter (Channel master, 1.18.0-10.0.pre, on Linux, locale fr_FR.UTF-8)

aarajput commented 4 years ago

Have you tried example project? Is it working?

mbdax034 commented 4 years ago

Yes i done and it works, it is because i'have classpath 'com.android.tools.build:gradle:3.5.3' ?

aarajput commented 4 years ago

Please close this issue if your problem has been solved.

mbdax034 commented 4 years ago

The problem is not soved ?

aarajput commented 4 years ago

But you just told me that issue is with your Gradle version.

mbdax034 commented 4 years ago

it's a question 'it is because i'have classpath 'com.android.tools.build:gradle:3.5.3' ?"

aarajput commented 4 years ago

I don't think so. I could be an issue with you implementation. Can you paste your code here?

steve28100 commented 4 years ago

Same issue here. This is my code:

Nothing special:

WcFlutterShare.share( sharePopupTitle: widget.eventModel.title,
subject: widget.eventModel.title,
text: 'Let's join us!',
mimeType: 'text/plain')

My project already migrated to androidx and also this is working fine using version 0.2.0. So I think my implementation already correct. Please check. Thank you!

aarajput commented 4 years ago

Can you please share your app gradle file, kotlin version and response of flutter doctor here?

shaxxx commented 4 years ago

I can confirm the same problem. Using version 0.2.1 on Android to share screenshot and nothing happens. wc_flutter_share Version 0.2.0 works as expected, share dialog opens up nicely.

flutter doctor -v [√] Flutter (Channel stable, v1.17.2, on Microsoft Windows [Version 10.0.18363.778], locale hr-HR) • Flutter version 1.17.2 at C:\src\flutter • Framework revision 5f21edf8b6 (6 days ago), 2020-05-28 12:44:12 -0700 • Engine revision b851c71829 • Dart version 2.8.3

[√] Android toolchain - develop for Android devices (Android SDK version 29.0.2) • Android SDK at C:\Android\sdk • Platform android-29, build-tools 29.0.2 • ANDROID_HOME = C:\Android\sdk • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04) • All Android licenses accepted.

[√] Android Studio (version 3.6) • Android Studio at C:\Program Files\Android\Android Studio • Flutter plugin version 45.1.1 • Dart plugin version 192.8052 • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)

[√] VS Code (version 1.45.1) • VS Code at C:\Users\isako\AppData\Local\Programs\Microsoft VS Code • Flutter extension version 3.11.0

[√] Connected device (1 available) • Android SDK built for x86 64 • emulator-5554 • android-x64 • Android 10 (API 29) (emulator)

• No issues found!

You can find all additional files in my GitHub repository https://github.com/shaxxx/Signalmeter2

I can reproduce this on my development machine (that's where flutter doctor output came from) but also on build server (Azure pipelines), so I don't think it's related to specific configuration.

aarajput commented 4 years ago

Thanks. I will clone your repo and run your project.

aarajput commented 4 years ago

@shaxxx ! I tried running your project. But i can't find share button in your app. Can you please guide me ?

shaxxx commented 4 years ago

Sure, you can find it HERE It's on the screenshot page, available in the app bar.

But unfortunatelly, there is no 'out of the box' way to try this without actual satellite receiver. You'll have to modify the code to call this method directly.

aarajput commented 4 years ago

@shaxxx ! I thanks for giving access to your repo. I have fixed this issue. I have released version 0.2.2 please try this version and close this ticket if its fixed.

shaxxx commented 4 years ago

I can confirm that 0.2.2 works on Android and iPhone. You'll need to close it yourself, I'm not the one who opened this ticket. Thanks.

aarajput commented 4 years ago

Perfect. I am closing this ticket now.