Skip to content
프로젝트

소개

iOS와 Android에서 네이티브 공유 대화 상자를 열 수 있는 Unity 플러그인으로, 주로 텍스트와 파일을 공유하는 데 사용됩니다.

웹 및 앱 개발

이 수치를 측정하는 방법

What you can do

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

측정된 스타 증가

in 24h
-1
in 7 days
-1
in 15 days
-1
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

🖼️📷 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 🛠️

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

Unity 2019.3 or later (Using Unity Package Manager)

AddPackageFromGitURL

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

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.7"

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

관련 프로젝트 살펴보기

불러오는 중…