Home

Awesome

<h1 align="center">๐Ÿ–ผ๏ธ๐Ÿ“ท Unity-Native-Sharing ๐Ÿ“ท๐Ÿ–ผ๏ธ</h1>

Unity-Native-Sharing is a plugin to open native sharing dialogs on iOS and Android.

<h3 align="center">๐Ÿ“ฑ Social ๐Ÿ“ฑ</h3>

GitHub Twitter

<h3 align="center">๐Ÿ‘Š Support ๐Ÿ‘Š</h3>

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 by sponsoring me on GitHub or by donating via PayPal

<h3 align="center">๐Ÿ“ Changelog ๐Ÿ“</h3>

What's New? Check the CHANGELOG

Watch this repository to be notified of new releases!

<h3 align="center">๐Ÿค Contribution ๐Ÿค</h3>

For contributing please read CONTRIBUTING.md

Don't worry about getting it 100% right, I can tidy it up as I review

<h3 align="center">๐Ÿ–ฅ๏ธ System Requirements ๐Ÿ–ฅ๏ธ</h3>

Unity 2018.3.14f1 or later. Older versions may work, feel free to test!

<h3 align="center">๐Ÿค” Examples ๐Ÿค”</h3>

Examples can be found at Unity-Native-Example-Project

<h1 align="center">๐Ÿ› ๏ธ Installation ๐Ÿ› ๏ธ</h1>

This was built and tested in Unity 2018.4 LTS, but should still work down to Unity 2018.2

<h2 align="center">Unity 2019.3 or later (Using Unity Package Manager)</h2>

AddPackageFromGitURL

https://github.com/NicholasSheehan/Unity-Native-Sharing.git#v1.0.7

<h2 align="center">Unity 2018.3 or later (Using Unity Package Manager)</h2>

Add this to the projects manifest.json

"com.unitynative.sharing" : "https://github.com/NicholasSheehan/Unity-Native-Sharing.git"

To update the package, change suffix #{version} to the target version.

<h2 align="center">Unity 2018.3 or later (Using OpenUPM)</h2>

openupm

This package is available on OpenUPM

You can install it via openupm-cli

openupm add com.unitynative.sharing
<h2 align="center">Unity 2018.2</h2>

Unity 2018.2 supports embedded packages.

  1. Download a source code zip file from the Releases page
  2. Extract it
  3. Import it under the Packages directory in your Unity project
<h1 align="center">๐Ÿ‘ Features ๐Ÿ‘</h1> <h2 align="center">๐Ÿงช Testing ๐Ÿงช</h2>
--Android 8.0.0iOS 10.3.3iOS 11.3.1
FacebookNo TextNo TextNo Text
MessengerNo TextNo TextNo Text
InstagramNo TextNo TextNo Text
Twitterโœ”โœ”โœ”
Discordโœ”โœ”โœ”
Slackโœ”โœ”โœ”
<h3 align="center">๐Ÿ˜ญ Known Issues ๐Ÿ˜ญ</h3>

Facebook, Messenger and Instagram cannot share text at all, unless passed into their SDK

<h2 align="center">๐Ÿ“ฑ Platform Notes ๐Ÿ“ฑ</h2> <h3 align="center">๐Ÿค– Android ๐Ÿค–</h3>

The Android plugin requires androidx.appcompat:appcompat:1.1.0 to run.

This plugin has support for Play Services Resolver for Unity which will take care of this for you