Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork122
A Unity plugin to open native sharing dialogs on iOS and Android, primarily for text and files
License
NicholasSheehan/Unity-Native-Sharing
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Unity-Native-Sharing is a plugin to open native sharing dialogs on iOS and Android.
All of these projects are made during my free time, with more being added over time. If you'd like to support me, you can do it either bysponsoring me on GitHub or by donating via PayPal
What's New? Check the CHANGELOG
Watch this repository to be notified of new releases!
For contributing please readCONTRIBUTING.md
Don't worry about getting it 100% right, I can tidy it up as I review
Unity 2018.3.14f1 or later. Older versions may work, feel free to test!
Examples can be found atUnity-Native-Example-Project
This was built and tested in Unity 2018.4 LTS, but should still work down to Unity 2018.2
https://github.com/NicholasSheehan/Unity-Native-Sharing.git#v1.0.7
Add this to the projectsmanifest.json
"com.unitynative.sharing" : "https://github.com/NicholasSheehan/Unity-Native-Sharing.git"To update the package, change suffix#{version} to the target version.
- e.g.
"com.unitynative.sharing" : "https://github.com/NicholasSheehan/Unity-Native-Sharing.git#v1.0.7"
This package is available onOpenUPM
You can install it viaopenupm-cli
openupm add com.unitynative.sharingUnity 2018.2 supports embedded packages.
- Download a source code zip file from theReleases page
- Extract it
- Import it under the
Packagesdirectory in your Unity project
- Share text to an app
- Share screenshots with text to an app
| -- | Android 8.0.0 | iOS 10.3.3 | iOS 11.3.1 |
|---|---|---|---|
| No Text | No Text | No Text | |
| Messenger | No Text | No Text | No Text |
| No Text | No Text | No Text | |
| ✔ | ✔ | ✔ | |
| Discord | ✔ | ✔ | ✔ |
| Slack | ✔ | ✔ | ✔ |
Facebook, Messenger and Instagram cannot share text at all, unless passed into their SDK
The Android plugin requiresandroidx.appcompat:appcompat:1.1.0 to run.
This plugin has support forPlay Services Resolver for Unity which will take care of this for you
About
A Unity plugin to open native sharing dialogs on iOS and Android, primarily for text and files
Topics
Resources
License
Contributing
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Sponsor this project
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Contributors8
Uh oh!
There was an error while loading.Please reload this page.