Skip to content

Commit e733ba7

Browse files
committed
Embedded proguard.txt file to AAR library which should get rid of ClassNotFoundExceptions automatically
1 parent d581661 commit e733ba7

File tree

10 files changed

+4
-66
lines changed

10 files changed

+4
-66
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
-keep class com.yasirkula.unity.* { *; }

.github/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ This plugin supports Unity's new Input System but it requires some manual modifi
5151

5252
- **Can't show the file browser on Android, it says "java.lang.ClassNotFoundException: com.yasirkula.unity.FileBrowserPermissionReceiver" in Logcat**
5353

54-
If your project uses ProGuard, try adding the following line to ProGuard filters: `-keep class com.yasirkula.unity.* { *; }`
54+
If you are sure that your plugin is up-to-date, then enable **Custom Proguard File** option from *Player Settings* and add the following line to that file: `-keep class com.yasirkula.unity.* { *; }`
5555

5656
- **File browser doesn't show any files on Android 10+**
5757

Binary file not shown.

Plugins/SimpleFileBrowser/Editor.meta

Lines changed: 0 additions & 9 deletions
This file was deleted.

Plugins/SimpleFileBrowser/Editor/FBPostProcessBuild.cs

Lines changed: 0 additions & 20 deletions
This file was deleted.

Plugins/SimpleFileBrowser/Editor/FBPostProcessBuild.cs.meta

Lines changed: 0 additions & 12 deletions
This file was deleted.

Plugins/SimpleFileBrowser/Editor/SimpleFileBrowser.Editor.asmdef

Lines changed: 0 additions & 15 deletions
This file was deleted.

Plugins/SimpleFileBrowser/Editor/SimpleFileBrowser.Editor.asmdef.meta

Lines changed: 0 additions & 7 deletions
This file was deleted.

Plugins/SimpleFileBrowser/README.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ This plugin supports Unity's new Input System but it requires some manual modifi
2525
"android:requestLegacyExternalStorage" attribute in AndroidManifest.xml grants full access to device's storage on Android 10 but requires you to update your Android SDK to at least SDK 29. If this isn't possible for you, you should open SimpleFileBrowser.aar with WinRAR or 7-Zip and then remove the "<application ... />" tag from AndroidManifest.xml.
2626

2727
- Can't show the file browser on Android, it says "java.lang.ClassNotFoundException: com.yasirkula.unity.FileBrowserPermissionReceiver" in Logcat
28-
If your project uses ProGuard, try adding the following line to ProGuard filters: -keep class com.yasirkula.unity.* { *; }
28+
If you are sure that your plugin is up-to-date, then enable "Custom Proguard File" option from Player Settings and add the following line to that file: -keep class com.yasirkula.unity.* { *; }
2929

3030
- File browser doesn't show any files on Android 10+
3131
File browser uses Storage Access Framework on these Android versions and users must first click the "Pick Folder" button in the quick links section

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "com.yasirkula.simplefilebrowser",
33
"displayName": "Simple File Browser",
4-
"version": "1.4.4",
4+
"version": "1.4.5",
55
"documentationUrl": "https://github.com/yasirkula/UnitySimpleFileBrowser",
66
"changelogUrl": "https://github.com/yasirkula/UnitySimpleFileBrowser/releases",
77
"licensesUrl": "https://github.com/yasirkula/UnitySimpleFileBrowser/blob/master/LICENSE.txt",

0 commit comments

Comments
 (0)