Table of Contents

Class AndroidExportedPostprocessing

Namespace
HomaGames.HomaBelly
Assembly
HomaGames.HomaBelly.Core.Editor.dll

The goal of this class is to add the android:exported attribute where needed in the AndroidManifest.xml to prevent install errors.

These errors started occuring in Android API level 31+, because of this change: https://developer.android.com/about/versions/12/behavior-changes-12#exported

public class AndroidExportedPostprocessing : IPostGenerateGradleAndroidProject, IOrderedCallback
Inheritance
AndroidExportedPostprocessing
Implements
IPostGenerateGradleAndroidProject
IOrderedCallback
Inherited Members

Properties

callbackOrder

Returns the relative callback order for callbacks. Callbacks with lower values are called before ones with higher values.

public int callbackOrder { get; }

Property Value

int

Methods

OnPostGenerateGradleAndroidProject(string)

Implement this function to receive a callback after the Android Gradle project is generated and before building begins. It is not called when doing an Internal build.

public void OnPostGenerateGradleAndroidProject(string path)

Parameters

path string

The path to the root of the Unity library Gradle project. Note: when exporting the project, this parameter holds the path to the Unity library in the folder specified for export.