PhoneGap Build で SocialSharing プラグインを使用しようとしています。
以下をconfig.mlファイルに入れました:
<gap:plugin name="nl.x-services.plugins.socialsharing" version="4.0.8" />
これが私の HTML インデックス ページのサンプルです。
<html>
<head>
<script type="text/javascript" src="SocialSharing.js"></script>
</head>
<body>
<section id="landmarks" data-role="page">
<button onclick="window.plugins.socialsharing.share('My message')">share!</button>
<button onclick="window.plugins.socialsharing.share('Message only')">message only</button>
<button onclick="window.plugins.socialsharing.shareViaTwitter('Message via Twitter')">message via Twitter</button>
</section>
</body>
</html>
ボタンをタップしても (PhoneGapBuild からアプリをダウンロードした後)、何も起こりません。
何か案は?