Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- window.plugins.socialsharing.shareVia('whatsapp','msg',null,
- 'images/hello.png' , null /* url */, function(e) {
- console.log('share' +e)
- }, function(errormsg){
- alert(errormsg)
- })
- window.plugins.socialsharing.shareVia('com.tencent.mm','msg',null,
- 'images/hello.png' , null /* url */, function(e) {
- console.log('share' +e)
- }, function(errormsg){
- alert(errormsg)
- })
- window.plugins.socialsharing.shareViaWhatsApp('Message via WhatsApp'
- ,'images/hello.png', function() {
- console.log('share ok')
- }, function(errormsg){
- alert(errormsg)
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement