Comments (6)
Hi, thanks for asking, I don't mind dealing with it via the issues section. It beats mail, because now everybody can see this useful question. I may even add it as a FAQ to the readme.
On iOS you are limited to what Apple wants you to share to. There are only a handful options, like Facebook, Twitter, Weibo and email. They probably support LinkedIN as well in the future. But for now, no Pinterest.
On Android, it is indeed in the list of apps to share to, as soon as you install the Pinterest app (I just tried). And yes, you can even share to Pinterest immediately by using this as the activity name (the first param of the new shareVia function: com.pinterest.activity.create.PinItActivity (you can also just use 'pinterest', because the native code matches parts of the name as well).
from socialsharing-phonegap-plugin.
Thanks for your response. That's great that it will work on Android. I guess for the time being I'll just have to write my own hook for pinterest. I appreciate your work. I'm attempting to integrate the latest version right now.
from socialsharing-phonegap-plugin.
Let me dump my brain here, so some day maybe I'll add a shareViaPinterest function to the API. On Android, simply passing 'pinterest' should suffice, but on iOS, some nasty code like this needs to be added to the .m file:
http://stackoverflow.com/questions/14652079/how-to-post-image-on-pinterest
Anyway, let me know what you end up using :)
from socialsharing-phonegap-plugin.
Pinterest integration was really a bonus right now - Yeah, that is some pretty nasty code on IOS to get to that level of integration. Thanks for the response keep up the great work. I was able to get the direct integration of your code into my app in about an hour (the first part of it) -
Something to note plugman sometimes doesn't quite get the references correct. I think there is a step missing in the plugman integration that ios freaks out over. We experienced this problem with other plugins as well. I had to manually add the plugin (h & m files) to xcode using plugman. I think It may have to do with case names and dashes in plugin names.
from socialsharing-phonegap-plugin.
Any update to this regarding IOS Pinterest?
from socialsharing-phonegap-plugin.
Seems like on iOS Pinterest sharing is already works by default sharing dialogue.
from socialsharing-phonegap-plugin.
Related Issues (20)
- app crash on share HOT 5
- Sharing message in message in IOS
- Sharing base64 encoded text/csv files fails on newer Android versions HOT 2
- bh.sh
- bh.sh
- Issue with IOS Social Sharing in ios 15
- screen frozen after share via facebook HOT 2
- Intent Redirection Vulnerability
- Share blob or base64 encoded image HOT 1
- Android 13 devices error on share with Twitter or Facebook HOT 6
- Android 12 issue HOT 4
- YouTube not supported as a valid app in iOS Share Sheet?
- App close after share whatsapp last version android
- Preview not available on Facebook share
- Instagram Story
- Can webp format files be saved
- ios 15 and 16 share file problem
- Crash on calling canShareVia -[SocialSharing canShareVia:] on IOS device
- Android app crashed when share through email HOT 7
- IOS trouble on sharing to Facebook and Instagram. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from socialsharing-phonegap-plugin.