View on Asset Store (opens in new tab)
Package details
- Latest version
- 1.0.0
- Last updated
- First released
- Unity version
- 2021.3.13 or later
- Package size
- 233 KB
- Files
- 9
- Favorites
- 4
- Views in the past week
- 1
Price tracking
- Last checked
- Tracked since
- Lowest recorded
- $4.99 on
Keywords
Native Share Dialogs for Android & iOS
Native Share Dialogs for Android™ & iOS™ for Unity™
Affiliate link · Purchases support this site
Price history
Last 6 months
USDAsset preview
1 / 3
Native Share Dialogs for Android & iOS screenshot 1
About this asset
You can fast and easily show native share dialogs with your plain text or URL. You can share the text and the URL on Social Media and more services of your choice.
We hope the asset will save you lots of time and energy and you can focus on game/application development.
From the publisher's Asset Store listing.
Technical details
### Features
- native sharing for your text and url
- easy to use and implement without any modification
- source code included
- no dependencies
- error safe handling
- well-tested code
- sample demo scene
- no extra permissions or SDKs required
### How to use
In your button click event or listener copy this lines and change title and text:
<code>
using (NativeShareDialog dialog = new NativeShareDialog())
{
NativeShareParams conf = new NativeShareParams()
{
//Url = "www.example.com/facebook-messenger",
Title = "TITLE",
Text = "<<Input your MESSAGE here>> \n www.example.com/facebook-messenger",
PackageName = "com.facebook.orca"
};
dialog.ShowNativeShareDialogAsync(conf);
}
</code?
Code available here: https://gist.github.com/protorius42/ea6bea5991704192765611c01ce9f8b5
Compatibility
| Unity version | Built-in | URP | HDRP | Custom |
|---|---|---|---|---|
| 2021.3.13f1 | Compatible | Compatible | Compatible | Compatible |
As listed on the Asset Store.