Please check out the example project. Native experience for iPhone and Android.
This works ONLY on mobile device browsers.
How to use to share the current page URL:
Be sure to use this in the Onready screen action of a screen to initialize the JavaScript correctly.
- Create a button- Button style class: btn-shareURLOnlyOptional:- Define .btn-shareURLOnly class in CSS file
How to use to share the current page URL and a custom text:
- Create a button- Button style class: btn-ShareURLTitleAndMessage
- Supply the Title and the Text input parameterOptional:- Define .btn-ShareURLTitleAndMessage class in CSS file