Code Monkey home page Code Monkey logo

unity-native-sharing's Introduction

๐Ÿ–ผ๏ธ๐Ÿ“ท Unity-Native-Sharing ๐Ÿ“ท๐Ÿ–ผ๏ธ

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

๐Ÿ“ฑ Social ๐Ÿ“ฑ

GitHub Twitter

๐Ÿ‘Š Support ๐Ÿ‘Š

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

๐Ÿ“ Changelog ๐Ÿ“

What's New? Check the CHANGELOG

Watch this repository to be notified of new releases!

๐Ÿค Contribution ๐Ÿค

For contributing please read CONTRIBUTING.md

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

๐Ÿ–ฅ๏ธ System Requirements ๐Ÿ–ฅ๏ธ

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

๐Ÿค” Examples ๐Ÿค”

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

๐Ÿ› ๏ธ Installation ๐Ÿ› ๏ธ

Unity 2019.3 or later (Using Unity Package Manager)

AddPackageFromGitURL

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

Unity 2018.3 or later (Using Unity Package Manager)

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.

  • e.g. "com.unitynative.sharing" : "https://github.com/NicholasSheehan/Unity-Native-Sharing.git#v1.0.4"

Unity 2018.3 or later (Using OpenUPM)

openupm

This package is available on OpenUPM

You can install it via openupm-cli

openupm add com.unitynative.sharing

Unity 2018.2

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

๐Ÿ‘ Features ๐Ÿ‘

  • Share text to an app
  • Share screenshots with text to an app

๐Ÿงช Testing ๐Ÿงช

-- Android 8.0.0 iOS 10.3.3 iOS 11.3.1
Facebook No Text No Text No Text
Messenger No Text No Text No Text
Instagram No Text No Text No Text
Twitter โœ” โœ” โœ”
Discord โœ” โœ” โœ”
Slack โœ” โœ” โœ”

๐Ÿ˜ญ Known Issues ๐Ÿ˜ญ

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

๐Ÿ“ฑ Platform Notes ๐Ÿ“ฑ

๐Ÿค– Android ๐Ÿค–

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

unity-native-sharing's People

Contributors

nicholassheehan avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.