Show your own Cordova / PhoneGap app where the user opens a sharing dialog

Is there any option or any plugin in Cordova from which a list of my apps is displayed in the sharing dialog like facebook, twitter or a flicker displayed to the user when he opens the sharing dialog or wants to share something.

See image for reference, I want to show my app in this dialog and when the user clicks to share, my app should accept this shared content.

enter image description here

+3


source to share


1 answer


Add this to your config.xml



  <gap:config-file platform="android" parent="/manifest/application" mode="add" >
<activity android:name="urlscheme1" android:label="@string/app_name">
<intent-filter>
<action android:name="android.intent.action.SEND" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="text/*" />
</intent-filter>
</activity>
</gap:config-file>

      

0


source







All Articles