From 52226e30b546c53150fa5846275fa813cd600efd Mon Sep 17 00:00:00 2001
From: Rainy <939029835@qq.com>
Date: Mon, 29 Dec 2025 10:01:52 +0800
Subject: [PATCH] Add allowNativeHeapPointerTagging attribute to application
When the compiled version is greater than 29, memory access conflicts may occur, causing the application to crash.
---
templates/android/template/app/src/main/AndroidManifest.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/templates/android/template/app/src/main/AndroidManifest.xml b/templates/android/template/app/src/main/AndroidManifest.xml
index aeac9518c8..8ce5a2611a 100644
--- a/templates/android/template/app/src/main/AndroidManifest.xml
+++ b/templates/android/template/app/src/main/AndroidManifest.xml
@@ -7,7 +7,7 @@
::foreach ANDROID_PERMISSIONS::
::end::
-
+ = 30):: android:allowNativeHeapPointerTagging="false" ::end::>
::if (WIN_ORIENTATION=="portrait")::