litefeel / Unity-CrossPlatformAPI

A unity plugin that provides a unified cross-platform API

Home Page:https://www.assetstore.unity3d.com/#!/content/94877

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

https://www.assetstore.unity3d.com/#!/content/94877

License:Apache License 2.0


Languages

Language:C# 64.0%Language:Objective-C++ 17.9%Language:Python 8.7%Language:Shell 5.6%Language:Objective-C 3.0%Language:C 0.8%