Giter Site home page Giter Site logo

Comments (6)

EddyVerbruggen avatar EddyVerbruggen commented on August 20, 2024

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.

clearsitedesigns avatar clearsitedesigns commented on August 20, 2024

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.

EddyVerbruggen avatar EddyVerbruggen commented on August 20, 2024

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.

clearsitedesigns avatar clearsitedesigns commented on August 20, 2024

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.

 avatar commented on August 20, 2024

Any update to this regarding IOS Pinterest?

from socialsharing-phonegap-plugin.

extempl avatar extempl commented on August 20, 2024

Seems like on iOS Pinterest sharing is already works by default sharing dialogue.

from socialsharing-phonegap-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.