0

私は「nl.x-services.plugins.socialsharing」「https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin」を使用しているので、誰にでもメッセージを送信/共有できます(電子メール、Facebook、whatsapp、や。。など..)。

私の問題は、指定された資格情報にメッセージを自動送信したい (ダイアログを表示せずに) ことです。

つまり、Whatsapp を介して人 (X) にメッセージを送信すると、別のメッセージを彼/彼女に送信できます (アプリケーションで行われたアクションに従って)。

それで、受信者の資格情報を保存できますか? どうすればSocialSharingから入手できますか? また、送信する特定の資格情報を SocialSharing に送信するにはどうすればよいですか?

4

1 に答える 1

0

You will not be able to use this plugin to do these actions in the background, and I don't think there can or should be a plugin that lets you do that for security reasons.

You are able to use the plugin to send emails/messages to specific recipients (By email address or phone number) but the user will be prompted to complete the action.

You can check the plugin JS source code and look at the function headers here

https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin/blob/master/www/SocialSharing.js

Good Luck

于 2015-10-07T12:02:54.883 に答える