Add PhoneGap app to “share” menu on Android and IOS

坚强是说给别人听的谎言 提交于 2019-12-06 14:34:57
Arpit Vasani

To implement that in phonegap Build you'll need to create a custom plugin. if you have a phonegap/cordova installed locally then you can add the following

<intent-filter>
     <action android:name="android.intent.action.SEND" />
     <category android:name="android.intent.category.DEFAULT" />         
</intent-filter>

into android-manifest.xml which is located inside platforms/android folder of your project. for more have a look at this answer.

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