Skip to content

About

A unity plugin that provides a unified cross-platform API

Topics

Resources

Stars

17 stars

Watchers

3 watching

Forks

Latest commit

 

History

87 Commits

Folders and files

Repository files navigation

Unity-CrossPlatfromAPI

Build Status

A unity plugin that provides a unified cross-platform API

Document

Android and IOS API for unity.

    iOS     Android Function
⭕ ⭕ void SaveToAlbum(string filename)
⭕ ⭕ void PasteToClipboard(string text)
⭕ ⭕ string CopyFromClipboard()
⭕ ⭕ void NativeShareText(string text)
⭕ ⭕ void NativeShareImage(string image, string text = null)

Frequently Asked Questions

Crashed when calling the SaveToAlbum () method on iOS 10

This app has crashed because it attempted to access privacy-sensitive data without a usage description.The app's Info.plist must contain an NSPhotoLibraryUsageDescription key with a string value explaining to the user how the app uses this data.

Add NSPhotoLibraryUsageDescription to Info.plist file to fix it. like following code:

<key>NSPhotoLibraryUsageDescription</key>
<string>Photo Library Access Warning</string>

stackoverflow

About

A unity plugin that provides a unified cross-platform API

Topics

Resources

Stars

17 stars

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages