-
Notifications
You must be signed in to change notification settings - Fork 907
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not all available share channels can be selected #136
Comments
Hi Raymond! Thanks for the kudos ;) I was looking into this issue and was trying to find the 2 marked apps (nice bug report btw). DO you perhaps have a direct link to the Play store for these apps, or can you tell me what the English word for the one on the right is? I hope those apps can be found in the NL store as well. More to the point: Android determines which apps to show based on the mime type, which is set to "image/*". The receiving apps need to register themselves as an app which can handle files of that type. Maybe the two apps not showing up only listen to "image/jpeg" (or something similar). If that's the case, I'd better change the mimetype of the intent based on the image shared, but I'd like to debug with a misbehaving app for that.. Something to try: pass nulls except for the image param to see if it makes a difference. Thanks, |
Hi Eddy, Thanks for your reply. The right app is "WeChat"(Chinese name: 微信) from Tencent, a China company, but they have nearly 600M users (yes, 600M! ), so it's important to support it. But it's quite strange that, the app has 2 share ways, one to share to chat with friends (发送给朋友), another is share to "discovery" (发送到朋友圈), just like someone's own cyberspace or facebook/twitter like. The first one is supported (you can see it), but the second is not. It will try your suggestion to pass only image param and see any difference. |
Hi, I've just installed WeChat on my Nexus 7 (old model), tried sharing like this and saw the list of apps in the screenshot ('Send to moments' is the WeChat app 发送到朋友圈): window.plugins.socialsharing.share('My text', 'My subject', 'https://www.google.nl/images/srpr/logo11w.png', null, function(){alert("ok")}, function(e){alert("error: " + e)}); When leaving the msg and subject params null the list is the same. Can you try with this same snippet? |
Eddy, I've add the feature to specify activity name if the social app offers multiple sharing ways. A pull request is created. |
Thanks a lot buddy! |
Hi Eddy, |
Hey Raymond, Yes I am and ever tried it once but for a reason I can't remember I didn't succeed. The cli said it was submitted but it wasn't.. Have you been able to submit a plugin to the registry yourself? Thanks, |
Yes, I just know this registry and submitted 5 plugins. :P I modified the plugin.xml a little bit before publish succeed.
See the diff: |
Thanks - the x.y.z may have been my problem as I only recently started to use that (recommended) scheme. Will be testing it soon! |
Hi, Found the rootcause of my plugins.cordova.io trouble: all of my plugins have a dash in its ID (nl.x-services.plugins.*). There is a regexp bug in plugman preventing me from submitting my plugins because of this. Just created this issue, hope they'll fix it soon: https://issues.apache.org/jira/browse/CB-7079 |
The plugin is amazing and so easy to share to social media. Great job!
Still some confusing issue:
When calling window.plugins.socialsharing.share(msg, subject, img, link); The popup window only display some of the share channels and omit some important others.
See the screenshot:
![screenshot](https://cloud.githubusercontent.com/assets/2339512/3350547/54588b54-f9bc-11e3-969e-393902a5b6b7.png)
Left popup is from system default photo app,
Right popup is from plugin share:
Env: Android, SAMSUNG S4
The text was updated successfully, but these errors were encountered: