This repository has been archived by the owner on Mar 9, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 136
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Potential bugfix for ShareResultCallback.shareTarget being null for…
… some apps on newest Android versions - Potential bugfix for crash in Unity as a Library apps (#155) - Added NativeShare.Clear function
- Loading branch information
Showing
8 changed files
with
37 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
= Native Share for Android & iOS = | ||
= Native Share for Android & iOS (v1.4.8) = | ||
|
||
Online documentation & example code available at: https://github.com/yasirkula/UnityNativeShare | ||
E-mail: [email protected] | ||
|
@@ -44,6 +44,7 @@ If you are sure that your plugin is up-to-date, then enable "Custom Proguard Fil | |
4. SCRIPTING API | ||
Simply create a new NativeShare object and customize it by chaining the following functions as you like: | ||
|
||
- Clear(): clears the previously set share content (if any). Only useful if the same NativeShare instance will be reused for memory efficiency | ||
- SetSubject( string subject ): sets the subject (primarily used in e-mail applications) | ||
- SetText( string text ): sets the shared text. Note that the Facebook app will omit text, if exists | ||
- SetUrl( string url ): sets the shared url. On supported iOS apps, this url is used to generate a preview of the target webpage. Other iOS apps may append the url to the text or omit it. While sharing a file on iOS or while sharing anything on Android, the url is appended to the text (unless the text already contains the url) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters