Is is possible to use ShareThis in a PhoneGap app?

梦想的初衷 提交于 2019-12-12 20:25:31

问题


I've checked the plugin repository on github, and there does not appear to be a plugin already written for ShareThis. I think this means I would have to install the mobile version of ShareThis written in Objective-C. Is there a way to make that work?


回答1:


You are correct in that you would need to write a plugin to interface between the ShareThis iOS API and PhoneGap.

Looks like a pretty straight forward API... shouldn't bee too hard.

http://wiki.phonegap.com/w/page/36753496/How%20to%20Create%20a%20PhoneGap%20Plugin%20for%20iOS

Also, just looking at some of the simpler plugins in the GitHub repo you should be able to get one working for this.



来源:https://stackoverflow.com/questions/9755099/is-is-possible-to-use-sharethis-in-a-phonegap-app

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!