Social Interactions
Share
bridge.social.isShareSupportedlet options = { }
switch (bridge.platform.id) {
case 'vk':
options = {
link: 'YOUR_LINK'
}
break
case 'facebook':
options = {
image: 'A base64 encoded image to be shared',
text: 'A text message to be shared.',
}
case 'msn':
options = {
title: 'A title to display',
image: 'A base64 encoded image or image URL to be shared',
text: 'A text message to be shared.',
}
break
}
bridge.social.share(options)
.then(() => {
// success
})
.catch(error => {
// error
})
Join Community
Invite Friends
Create Post
Add to Favorites
Add to Home Screen
Rate Game
External Links
Last updated