-
-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Embedded proguard.txt file to AAR library which should get rid of Cla…
…ssNotFoundExceptions automatically
- Loading branch information
Showing
15 changed files
with
51 additions
and
7 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
-keep class com.yasirkula.unity.* { *; } |
2 changes: 1 addition & 1 deletion
2
Plugins/AndroidRuntimePermissions/Android/PermissionCallback.cs
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
2 changes: 1 addition & 1 deletion
2
Plugins/AndroidRuntimePermissions/Android/PermissionCallbackAsync.cs
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
2 changes: 1 addition & 1 deletion
2
Plugins/AndroidRuntimePermissions/Android/PermissionCallbackHelper.cs
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.
4 changes: 2 additions & 2 deletions
4
...sions/Android/RuntimePermissions.jar.meta → ...sions/Android/RuntimePermissions.aar.meta
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
22 changes: 22 additions & 0 deletions
22
Plugins/AndroidRuntimePermissions/Editor/ARPPostProcessBuild.cs
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#if UNITY_EDITOR | ||
using System.IO; | ||
using UnityEditor; | ||
using UnityEngine; | ||
|
||
namespace AndroidRuntimePermissionsNamespace | ||
{ | ||
public class ARPPostProcessBuild | ||
{ | ||
[InitializeOnLoadMethod] | ||
public static void ValidatePlugin() | ||
{ | ||
string jarPath = "Assets/Plugins/AndroidRuntimePermissions/Android/RuntimePermissions.jar"; | ||
if( File.Exists( jarPath ) ) | ||
{ | ||
Debug.Log( "Deleting obsolete " + jarPath ); | ||
AssetDatabase.DeleteAsset( jarPath ); | ||
} | ||
} | ||
} | ||
} | ||
#endif |
12 changes: 12 additions & 0 deletions
12
Plugins/AndroidRuntimePermissions/Editor/ARPPostProcessBuild.cs.meta
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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