Skip to content

Commit

Permalink
Fixed rare "No such proxy method" error for native callback functions
Browse files Browse the repository at this point in the history
  • Loading branch information
yasirkula committed Mar 9, 2024
1 parent 544dd06 commit 45c8f44
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ public FBDirectoryReceiveCallbackAndroid( FileBrowser.AndroidSAFDirectoryPickCal
callbackHelper = new GameObject( "FBCallbackHelper" ).AddComponent<FBCallbackHelper>();
}

[UnityEngine.Scripting.Preserve]
public void OnDirectoryPicked( string rawUri, string name )
{
callbackHelper.CallOnMainThread( () => DirectoryPickedCallback( rawUri, name ) );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ public FBPermissionCallbackAndroid( object threadLock ) : base( "com.yasirkula.u
this.threadLock = threadLock;
}

[UnityEngine.Scripting.Preserve]
public void OnPermissionResult( int result )
{
Result = result;
Expand Down
2 changes: 1 addition & 1 deletion Plugins/SimpleFileBrowser/README.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
= Simple File Browser (v1.6.5) =
= Simple File Browser (v1.6.6) =

Documentation: https://github.com/yasirkula/UnitySimpleFileBrowser
FAQ: https://github.com/yasirkula/UnitySimpleFileBrowser#faq
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "com.yasirkula.simplefilebrowser",
"displayName": "Simple File Browser",
"version": "1.6.5",
"version": "1.6.6",
"documentationUrl": "https://github.com/yasirkula/UnitySimpleFileBrowser",
"changelogUrl": "https://github.com/yasirkula/UnitySimpleFileBrowser/releases",
"licensesUrl": "https://github.com/yasirkula/UnitySimpleFileBrowser/blob/master/LICENSE.txt",
Expand Down

0 comments on commit 45c8f44

Please sign in to comment.