AndroidManifest.xml options

If you have an Android app (including Android Mobile Flutter app), then the following AndroidManifest.xml options are available.

APLLogging

To enable debug logging in the Appfigurate library early on, add the APLLogging meta-data to the AndroidManifest.xml file. The APLLogging key is optional.

AndroidManifest.xml example

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
          xmlns:tools="http://schemas.android.com/tools" package="nz.co.electricbolt.appfigurateexample">

    <application
        android:allowBackup="false"
        android:icon="@mipmap/ic_launcher"
        android:label="@string/app_name"
        android:roundIcon="@mipmap/ic_launcher_round"
        android:theme="@style/AppTheme">

        <meta-data
            android:name="APLLogging"
            android:value="true"/>

The default value of APLLogging is false. You should not need to enable this to true unless you are having trouble integrating the library. It is best practice not to ship an app with this key set to true.

You can also call Appfigurate.setLogging() function to achieve the same result in code.

Last updated