From 15014fa378b9f1e6dd14444ef1224050d0165745 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mathieu=20M=C3=A9a?= Date: Wed, 18 Mar 2026 10:27:47 -0400 Subject: [PATCH 1/2] STM.info API > new service update endpoint - https://github.com/mtransitapps/ca-montreal-stm-bus-android/pull/12 --- .../src/main/MTAndroidManifest.xml.MT.sh | 22 ++++++++++++++----- 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/shared-modules/app-android/src/main/MTAndroidManifest.xml.MT.sh b/shared-modules/app-android/src/main/MTAndroidManifest.xml.MT.sh index 83cbb9b1..a12be669 100755 --- a/shared-modules/app-android/src/main/MTAndroidManifest.xml.MT.sh +++ b/shared-modules/app-android/src/main/MTAndroidManifest.xml.MT.sh @@ -306,18 +306,28 @@ if [ -f "${CA_MONTREAL_STM_INFO_PROVIDER_FILE}" ]; then android:exported="true" android:readPermission="\${permission_provider_read}" tools:ignore="MissingRegistered"> - - +EOL + if grep -q "true" "${CA_MONTREAL_STM_INFO_PROVIDER_FILE}"; then + cat >>"${ANDROID_MANIFEST_FILE}" < + +EOL + fi + if grep -q "true" "${CA_MONTREAL_STM_INFO_PROVIDER_FILE}"; then + cat >>"${ANDROID_MANIFEST_FILE}" < +EOL + fi + cat >>"${ANDROID_MANIFEST_FILE}" < EOL fi From 683ebe9edf90a28695e3e9338eb9dc545a88030f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mathieu=20M=C3=A9a?= Date: Wed, 18 Mar 2026 11:11:25 -0400 Subject: [PATCH 2/2] PR comments --- .../app-android/src/main/MTAndroidManifest.xml.MT.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/shared-modules/app-android/src/main/MTAndroidManifest.xml.MT.sh b/shared-modules/app-android/src/main/MTAndroidManifest.xml.MT.sh index a12be669..f00ebacf 100755 --- a/shared-modules/app-android/src/main/MTAndroidManifest.xml.MT.sh +++ b/shared-modules/app-android/src/main/MTAndroidManifest.xml.MT.sh @@ -309,12 +309,12 @@ if [ -f "${CA_MONTREAL_STM_INFO_PROVIDER_FILE}" ]; then EOL if grep -q "true" "${CA_MONTREAL_STM_INFO_PROVIDER_FILE}"; then cat >>"${ANDROID_MANIFEST_FILE}" < - + + EOL fi if grep -q "true" "${CA_MONTREAL_STM_INFO_PROVIDER_FILE}"; then