Skip to content
This repository has been archived by the owner on Mar 9, 2024. It is now read-only.

sharing failed when sending video to WeChat and Line #1

Closed
SzuWeiChen opened this issue Sep 13, 2017 · 4 comments
Closed

sharing failed when sending video to WeChat and Line #1

SzuWeiChen opened this issue Sep 13, 2017 · 4 comments

Comments

@SzuWeiChen
Copy link

sharing failed when sending video to WeChat and Line

@yasirkula
Copy link
Owner

Can you also try it on another phone? If that doesn't work, can you post the device logs (logcat) here?

@SzuWeiChen
Copy link
Author

it is my test project and apk
https://drive.google.com/drive/folders/0B07cVkP6fZfVdnk4aHZURy0zTk0?usp=sharing

I can share it to facebook and youtube
but sharing failed when sending to WeChat and Line

@yasirkula
Copy link
Owner

yasirkula commented Sep 19, 2017

I honestly am clueless about the fix to this bug right now. The source code of FileProvider is almost the same as Android's official FileProvider (android.support.v4.content.FileProvider). It was mostly a copy-paste anyways. I couldn't spot any potential flaws in the code yet.

Also, sorry for the late response. And thank you for sharing the test project. Have you tried testing it on another device?

@yasirkula
Copy link
Owner

I've recently googled this issue and found the following entries:

tvbarthel/IntentShare#32
BranchMetrics/cordova-ionic-phonegap-branch-deep-linking-attribution#287

These entries suggest that the issue may be caused by WeChat and/or Line themselves rather than my plugin. According to this entry, on the other hand, it seems possible to share on WeChat and/or Line but it will limit the usability of the plugin in the following ways:

  • it will no longer work on Android API 24 and above
  • AFAIK, using setPackage() function will remove all applications from the share menu except WeChat and/or Line

So, until me or someone else figures out a way to fix this issue, I'll mark this issue unsolvable.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants