Skip to content

Commit 1a80b1e

Browse files
committed
Append custom user intent to pure.femto manifest file
1 parent d288fc4 commit 1a80b1e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

platform/pure.femto/build-android-native.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,10 @@ popd
9393
pushd ${DST_DIR}
9494
P="s/package=\"com.pureqml.android\"/package=\"${APP_DOMAIN}\"/"
9595
sed -i "${P}" app/src/main/AndroidManifest.xml
96+
INTENT_FILE=${SRC_DIR}/AndroidManifestIntent.xml
97+
if [ -e ${INTENT_FILE} ]; then
98+
sed -i -e '/<!-- Application specific intent -->/ {' -e "r ${INTENT_FILE}" -e 'd' -e '}' -i app/src/main/AndroidManifest.xml
99+
fi
96100
P="s/<string name=\"app_name\">QMLCoreAndroidRuntime<\\/string>/<string name=\"app_name\">${APP_TITLE}<\\/string>/"
97101
sed -i "${P}" app/src/main/res/values/strings.xml
98102
P="s/-keep public com\\.pureqml\\.android\\./-keep public ${APP_DOMAIN}./g"

0 commit comments

Comments
 (0)