Skip to content

Commit

Permalink
Athens 12
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeus64 committed Dec 13, 2023
1 parent fc86e9b commit ba8520f
Show file tree
Hide file tree
Showing 8 changed files with 474 additions and 52 deletions.
81 changes: 71 additions & 10 deletions Demos/ALAnimation/_Source/AndroidManifest.template.xml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- BEGIN_INCLUDE(manifest) -->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="%package%"
android:versionCode="%versionCode%"
android:versionName="%versionName%"
android:installLocation="%installLocation%">

<!-- This is the platform API where NativeActivity was introduced. -->
<uses-sdk android:minSdkVersion="%minSdkVersion%"
android:targetSdkVersion="%targetSdkVersion%"/>

Expand All @@ -17,31 +17,57 @@

<queries>
<%queries-child-elements%>
</queries>

</queries>

<!-- ============================================ -->
<!-- AndroidMerger auto-generated section (BEGIN) -->
<!-- ============================================ -->

<!-- ===== androidx.core ===== -->
<!-- <application android:appComponentFactory="androidx.core.app.CoreComponentFactory"/> -->

<!-- ========================================== -->
<!-- AndroidMerger auto-generated section (END) -->
<!-- ========================================== -->

<application android:persistent="%persistent%"
android:restoreAnyVersion="%restoreAnyVersion%"
android:label="%label%"
android:debuggable="%debuggable%"
android:largeHeap="%largeHeap%"
android:icon="@mipmap/ic_launcher"
android:theme="@android:style/Theme.NoTitleBar"
android:hardwareAccelerated="%hardwareAccelerated%">
android:hardwareAccelerated="%hardwareAccelerated%"
android:resizeableActivity="true"
android:requestLegacyExternalStorage="true">

<%provider%>

<%application-meta-data%>

<%uses-libraries%>

<%services%>

<!-- Trigger Google Play services to install the backported photo picker module. -->
<service android:name="com.google.android.gms.metadata.ModuleDependencies"
android:enabled="false"
android:exported="false"
tools:ignore="MissingClass">
<intent-filter>
<action android:name="com.google.android.gms.metadata.MODULE_DEPENDENCIES"/>
</intent-filter>

<meta-data android:name="photopicker_activity:0:required"
android:value=""/>
</service>

<%services%>

<!-- Our activity is a subclass of the built-in NativeActivity framework class.
This will take care of integrating with our NDK code. -->
<activity android:name="com.embarcadero.firemonkey.FMXNativeActivity"
android:exported="true"
android:label="%activityLabel%"
android:configChanges="orientation|keyboard|keyboardHidden|screenSize"
android:configChanges="orientation|keyboard|keyboardHidden|screenSize|screenLayout|uiMode"
android:launchMode="singleTask">
<!-- Tell NativeActivity the name of our .so -->
<meta-data android:name="android.app.lib_name"
Expand All @@ -54,8 +80,43 @@

<%activity%>

<%receivers%>

</application>
<%receivers%>

<!-- ============================================ -->
<!-- AndroidMerger auto-generated section (BEGIN) -->
<!-- ============================================ -->

<!-- ===== androidx.profileinstaller ===== -->
<provider android:name="androidx.startup.InitializationProvider"
android:authorities="%package%.androidx-startup"
android:exported="false">
<meta-data android:name="androidx.profileinstaller.ProfileInstallerInitializer"
android:value="androidx.startup"/>
</provider>
<receiver android:name="androidx.profileinstaller.ProfileInstallReceiver"
android:directBootAware="false"
android:enabled="true"
android:exported="true"
android:permission="android.permission.DUMP">
<intent-filter>
<action android:name="androidx.profileinstaller.action.INSTALL_PROFILE"/>
</intent-filter>
<intent-filter>
<action android:name="androidx.profileinstaller.action.SKIP_FILE"/>
</intent-filter>
<intent-filter>
<action android:name="androidx.profileinstaller.action.SAVE_PROFILE"/>
</intent-filter>
<intent-filter>
<action android:name="androidx.profileinstaller.action.BENCHMARK_OPERATION"/>
</intent-filter>
</receiver>

<!-- ========================================== -->
<!-- AndroidMerger auto-generated section (END) -->
<!-- ========================================== -->

</application>

</manifest>
<!-- END_INCLUDE(manifest) -->
66 changes: 63 additions & 3 deletions Demos/ALConfetti/_Source/AndroidManifest.template.xml
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- BEGIN_INCLUDE(manifest) -->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="%package%"
android:versionCode="%versionCode%"
android:versionName="%versionName%"
android:installLocation="%installLocation%">

<uses-sdk android:minSdkVersion="%minSdkVersion%"
android:targetSdkVersion="%targetSdkVersion%"/>
android:targetSdkVersion="%targetSdkVersion%"/>

<%uses-permission%>

<uses-feature android:glEsVersion="0x00020000"
Expand All @@ -17,6 +19,17 @@
<%queries-child-elements%>
</queries>

<!-- ============================================ -->
<!-- AndroidMerger auto-generated section (BEGIN) -->
<!-- ============================================ -->

<!-- ===== androidx.core ===== -->
<!-- <application android:appComponentFactory="androidx.core.app.CoreComponentFactory"/> -->

<!-- ========================================== -->
<!-- AndroidMerger auto-generated section (END) -->
<!-- ========================================== -->

<application android:persistent="%persistent%"
android:restoreAnyVersion="%restoreAnyVersion%"
android:label="%label%"
Expand All @@ -25,7 +38,7 @@
android:icon="@mipmap/ic_launcher"
android:theme="@android:style/Theme.NoTitleBar"
android:hardwareAccelerated="%hardwareAccelerated%"
android:resizeableActivity="false"
android:resizeableActivity="true"
android:requestLegacyExternalStorage="true">

<%provider%>
Expand All @@ -34,14 +47,27 @@

<%uses-libraries%>

<!-- Trigger Google Play services to install the backported photo picker module. -->
<service android:name="com.google.android.gms.metadata.ModuleDependencies"
android:enabled="false"
android:exported="false"
tools:ignore="MissingClass">
<intent-filter>
<action android:name="com.google.android.gms.metadata.MODULE_DEPENDENCIES"/>
</intent-filter>

<meta-data android:name="photopicker_activity:0:required"
android:value=""/>
</service>

<%services%>

<!-- Our activity is a subclass of the built-in NativeActivity framework class.
This will take care of integrating with our NDK code. -->
<activity android:name="com.embarcadero.firemonkey.FMXNativeActivity"
android:exported="true"
android:label="%activityLabel%"
android:configChanges="orientation|keyboard|keyboardHidden|screenSize"
android:configChanges="orientation|keyboard|keyboardHidden|screenSize|screenLayout|uiMode"
android:launchMode="singleTask">
<!-- Tell NativeActivity the name of our .so -->
<meta-data android:name="android.app.lib_name"
Expand All @@ -56,6 +82,40 @@

<%receivers%>

<!-- ============================================ -->
<!-- AndroidMerger auto-generated section (BEGIN) -->
<!-- ============================================ -->

<!-- ===== androidx.profileinstaller ===== -->
<provider android:name="androidx.startup.InitializationProvider"
android:authorities="%package%.androidx-startup"
android:exported="false">
<meta-data android:name="androidx.profileinstaller.ProfileInstallerInitializer"
android:value="androidx.startup"/>
</provider>
<receiver android:name="androidx.profileinstaller.ProfileInstallReceiver"
android:directBootAware="false"
android:enabled="true"
android:exported="true"
android:permission="android.permission.DUMP">
<intent-filter>
<action android:name="androidx.profileinstaller.action.INSTALL_PROFILE"/>
</intent-filter>
<intent-filter>
<action android:name="androidx.profileinstaller.action.SKIP_FILE"/>
</intent-filter>
<intent-filter>
<action android:name="androidx.profileinstaller.action.SAVE_PROFILE"/>
</intent-filter>
<intent-filter>
<action android:name="androidx.profileinstaller.action.BENCHMARK_OPERATION"/>
</intent-filter>
</receiver>

<!-- ========================================== -->
<!-- AndroidMerger auto-generated section (END) -->
<!-- ========================================== -->

</application>

</manifest>
Expand Down
43 changes: 41 additions & 2 deletions Demos/ALFacebookLogin/_Source/AndroidManifest.template.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- BEGIN_INCLUDE(manifest) -->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="%package%"
android:versionCode="%versionCode%"
android:versionName="%versionName%"
Expand Down Expand Up @@ -57,7 +58,7 @@
android:icon="@mipmap/ic_launcher"
android:theme="@android:style/Theme.NoTitleBar"
android:hardwareAccelerated="%hardwareAccelerated%"
android:resizeableActivity="false"
android:resizeableActivity="true"
android:requestLegacyExternalStorage="true"
android:appComponentFactory="androidx.core.app.CoreComponentFactory">

Expand All @@ -67,14 +68,27 @@

<%uses-libraries%>

<!-- Trigger Google Play services to install the backported photo picker module. -->
<service android:name="com.google.android.gms.metadata.ModuleDependencies"
android:enabled="false"
android:exported="false"
tools:ignore="MissingClass">
<intent-filter>
<action android:name="com.google.android.gms.metadata.MODULE_DEPENDENCIES"/>
</intent-filter>

<meta-data android:name="photopicker_activity:0:required"
android:value=""/>
</service>

<%services%>

<!-- Our activity is a subclass of the built-in NativeActivity framework class.
This will take care of integrating with our NDK code. -->
<activity android:name="com.embarcadero.firemonkey.FMXNativeActivity"
android:exported="true"
android:label="%activityLabel%"
android:configChanges="orientation|keyboard|keyboardHidden|screenSize"
android:configChanges="orientation|keyboard|keyboardHidden|screenSize|screenLayout|uiMode"
android:launchMode="singleTask">

<!-- Tell NativeActivity the name of our .so -->
Expand Down Expand Up @@ -162,6 +176,31 @@
<action android:name="com.facebook.sdk.ACTION_CURRENT_AUTHENTICATION_TOKEN_CHANGED"/>
</intent-filter>
</receiver>
<!-- ===== androidx.profileinstaller ===== -->
<provider android:name="androidx.startup.InitializationProvider"
android:authorities="%package%.androidx-startup"
android:exported="false">
<meta-data android:name="androidx.profileinstaller.ProfileInstallerInitializer"
android:value="androidx.startup"/>
</provider>
<receiver android:name="androidx.profileinstaller.ProfileInstallReceiver"
android:directBootAware="false"
android:enabled="true"
android:exported="true"
android:permission="android.permission.DUMP">
<intent-filter>
<action android:name="androidx.profileinstaller.action.INSTALL_PROFILE"/>
</intent-filter>
<intent-filter>
<action android:name="androidx.profileinstaller.action.SKIP_FILE"/>
</intent-filter>
<intent-filter>
<action android:name="androidx.profileinstaller.action.SAVE_PROFILE"/>
</intent-filter>
<intent-filter>
<action android:name="androidx.profileinstaller.action.BENCHMARK_OPERATION"/>
</intent-filter>
</receiver>

<!-- ========================================== -->
<!-- AndroidMerger auto-generated section (END) -->
Expand Down
Loading

0 comments on commit ba8520f

Please sign in to comment.