Skip to content
This repository has been archived by the owner on Mar 9, 2024. It is now read-only.

Commit

Permalink
- Fixed a rare issue that would potentially hide some apps from the s…
Browse files Browse the repository at this point in the history
…hare sheet on Android
  • Loading branch information
yasirkula committed Aug 9, 2020
1 parent 225f21f commit 6e8c3de
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ public static Intent CreateIntentFromBundle( Context context, Bundle bundle )
else
{
int extensionStart = files.get( i ).lastIndexOf( '.' );
if( extensionStart < 0 || extensionStart == files.size() - 1 )
if( extensionStart < 0 || extensionStart == files.get( i ).length() - 1 )
{
mimeType = mimeSubtype = "*";
break;
Expand Down
Binary file modified Plugins/NativeShare/Android/NativeShare.aar
Binary file not shown.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "com.yasirkula.nativeshare",
"displayName": "Native Share",
"version": "1.3.5",
"version": "1.3.6",
"description": "This plugin helps you natively share files (images, videos, documents, etc.) and/or plain text on Android & iOS. A ContentProvider is used to share the media on Android."
}

0 comments on commit 6e8c3de

Please sign in to comment.