Compare commits

...

3 commits

Author SHA1 Message Date
acb70cfa1b
doc: grapheneos 2026-02-16 11:10:36 +01:00
667cd3dd71 chore(release): 1.16.10 2026-02-08 11:59:12 +01:00
c8fd852eca fix(ios): up react-native-background-geolocation 2026-02-08 11:58:55 +01:00
9 changed files with 102 additions and 31 deletions

View file

@ -2,6 +2,46 @@
All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines.
## [1.16.10](https://github.com/alerte-secours/as-app/compare/v1.16.0...v1.16.10) (2026-02-08)
### Bug Fixes
* a11y regression audio msg sending ([a12bd59](https://github.com/alerte-secours/as-app/commit/a12bd593520299953bc9f883c410b611f4794289))
* a11y wip ([9b92fed](https://github.com/alerte-secours/as-app/commit/9b92fed825877e01faa286b28814c6c14249fdd4))
* **android:** track location battery saving ([a2acbb6](https://github.com/alerte-secours/as-app/commit/a2acbb6d0b19d36803b4130c7360ba0a090ee5cb))
* **audio-message:** ios + up to expo-audio ([4d71c22](https://github.com/alerte-secours/as-app/commit/4d71c229d6a1f904e62bd96270817f0e6a2df42b))
* **audio-message:** iOS regression ([5951f36](https://github.com/alerte-secours/as-app/commit/5951f36291ce9bc7837084b309786e5ff0dfc9fe))
* **audio-messaging:** android + fix dark theme label ([a69321f](https://github.com/alerte-secours/as-app/commit/a69321f82e19bb199ce8655fe5dc7eac187fcda9))
* chat subscription hangs up ([aade47b](https://github.com/alerte-secours/as-app/commit/aade47beb376a8736acbe975a479350dbd3b5e69))
* **ios:** bundle release version ([906e2f1](https://github.com/alerte-secours/as-app/commit/906e2f194d4f5fc73b29c4dece1b6054cd74031a))
* **ios:** deps after up rnbl ([1980822](https://github.com/alerte-secours/as-app/commit/1980822919deda76bc6e186ab3e7addd7ed32618))
* **ios:** up react-native-background-geolocation ([c8fd852](https://github.com/alerte-secours/as-app/commit/c8fd852eca5c66d3f37730878860b5824b900afd))
* load font ([8ba858f](https://github.com/alerte-secours/as-app/commit/8ba858f8763a5aa4c511b82b04387fb01fd81287))
* permissions screen ([6c8153b](https://github.com/alerte-secours/as-app/commit/6c8153bdb114582f9a597a50fd2604f7b90dd181))
* reload + improve subscriptions ([39d2ede](https://github.com/alerte-secours/as-app/commit/39d2ede29554e5fd445ad4a4534850fa607f8e6f))
* revert broken subscriptions ([52aff42](https://github.com/alerte-secours/as-app/commit/52aff4242dd9d9db3b07d2e43cf727748c6e2eb9))
* **sentry:** enlight removing replay and cleaning useless error ([bc5129f](https://github.com/alerte-secours/as-app/commit/bc5129f7bfb0b637f8d4e130c7f4e4cc7879e22a))
* track location ([29d7747](https://github.com/alerte-secours/as-app/commit/29d7747b51d333d9b592eab31c800fcdf4d808a5))
* **track-location:** try 11 ([88fbd72](https://github.com/alerte-secours/as-app/commit/88fbd72e5144c36c01d9e047ea43faf69014c9f6))
* **track-location:** try 3 ([41bb6fc](https://github.com/alerte-secours/as-app/commit/41bb6fcd2dc0999d212ceab0c9a6b6b64fe07cce))
* **track-location:** try 4 ([c7d0b36](https://github.com/alerte-secours/as-app/commit/c7d0b36f1bd3e700ad15bbc3ecff987e61aadbd9))
* **track-location:** try 5 ([69753bc](https://github.com/alerte-secours/as-app/commit/69753bc7e18ebd27715d2c0f6472c3c9ea14c0e5))
* **track-location:** try 6 ([b61aff7](https://github.com/alerte-secours/as-app/commit/b61aff70787e82e05500cbf9c3fda1d7882a040b))
* **track-location:** try 7 (+ up rnbl to v5) ([f4f7708](https://github.com/alerte-secours/as-app/commit/f4f7708e71227301b9cd5624669da8a092a3a379))
* **track-location:** try 8 ([33eb0cf](https://github.com/alerte-secours/as-app/commit/33eb0cfa13eb75308fc549f4289c6eaa15a3ac5c))
* **track-location:** try 8 ([7ba78c7](https://github.com/alerte-secours/as-app/commit/7ba78c7334462d6de6e647d236d39c415fa9cb2b))
* **track-location:** try 9 ([a18baf9](https://github.com/alerte-secours/as-app/commit/a18baf9ae6bf955f4be609d014c9f5cab8dc6268))
* trackLocation ([0cf1139](https://github.com/alerte-secours/as-app/commit/0cf1139f9b3ce953aeb6a48274dfc58ca500dfdf))
* **up:** react-native-background-geolocation (+fix mountain android) ([a1d4f0e](https://github.com/alerte-secours/as-app/commit/a1d4f0e0596f1e00bae608ba191ef700d4c4bd04))
* **ws:** stabilization try 1 ([147e514](https://github.com/alerte-secours/as-app/commit/147e514d03a43e74b5e7d6361183b4006dc1186d))
* **ws:** stabilization try 2 ([239ca4d](https://github.com/alerte-secours/as-app/commit/239ca4d86d78a9f74a78bde74a6bc84f96830e21))
* **ws:** stabilization try 3 ([6e71707](https://github.com/alerte-secours/as-app/commit/6e717077f9acc2cbb853b5bf2f09bc3463a0a861))
* **ws:** stabilization try 4 ([f7656be](https://github.com/alerte-secours/as-app/commit/f7656beb1aa4fc4ed504876252ac4ecc5dae4c1e))
* **ws:** stabilization try 5 ([ef643f7](https://github.com/alerte-secours/as-app/commit/ef643f77cb5f88235a1f92ecd5292c8844124b3e))
* **ws:** stabilization try 6 + typo ([5dfb064](https://github.com/alerte-secours/as-app/commit/5dfb064c2cda2f1a1ca9346d6d659d8339a25af9))
* **ws:** stabilization try 7 ([42d5b18](https://github.com/alerte-secours/as-app/commit/42d5b18b35577eb438f64b38d309f65ea30b7e3f))
## [1.16.9](https://github.com/alerte-secours/as-app/compare/v1.16.8...v1.16.9) (2026-02-08)

View file

@ -83,8 +83,8 @@ android {
applicationId 'com.alertesecours'
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 240
versionName "1.16.9"
versionCode 241
versionName "1.16.10"
multiDexEnabled true
testBuildType System.getProperty('testBuildType', 'debug')
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'

View file

@ -179,6 +179,7 @@ let config = {
{
ios: {
useFrameworks: "static",
deploymentTarget: "15.1",
},
android: {
enableProguardInReleaseBuilds: true,

View file

@ -0,0 +1,32 @@
# Alerte-Secours sur GrapheneOS — configuration spécifique (Google Play services)
Ce guide couvre **uniquement** le point spécifique à **GrapheneOS** qui peut bloquer la localisation/motion en arrière-plan : les **permissions de Google Play services** (sandboxé comme une app normale).
## Pourquoi cest nécessaire sur GrapheneOS
Sur GrapheneOS, **Google Play services na pas de privilèges système**. Si Alerte-Secours (via `react-native-background-geolocation`) utilise les APIs Google (ex. Fused Location / Activity Recognition), alors **Google Play services doit avoir ses propres permissions**, sinon la détection de mouvement et/ou la collecte de localisation peut ne pas fonctionner en arrière-plan.
## Étapes
### 1) Vérifier que Sandboxed Google Play est installé (même profil)
Dans le **même profil utilisateur** que lapp :
- Google Play services
- Google Play Store
- (optionnel) Google Services Framework
### 2) Accorder les permissions à **Google Play services**
Réglages → Apps → **Google Play services** → Permissions
Activer / autoriser :
- **Localisation**
- **Activité physique** (Activity recognition)
- **Capteurs** (Sensors)
- **Réseau** (Network)
Puis : Réglages → Apps → **Google Play services** → Batterie
- **Unrestricted**
> Conseil : fais la même chose pour **Google Play Store** (au minimum Réseau), même si le point bloquant est généralement Play services.
## Note : “Exploit protection compatibility mode”
En général, **inutile** pour un problème de tracking/motion : ce mode sert surtout à améliorer la compatibilité dapps qui **crashent** à cause de protections mémoire. Lactiver réduit la sécurité et ne devrait être utilisé que si lapp ne fonctionne pas autrement.

View file

@ -25,7 +25,7 @@
<key>CFBundlePackageType</key>
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
<key>CFBundleShortVersionString</key>
<string>1.16.9</string>
<string>1.16.10</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleURLTypes</key>
@ -48,7 +48,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
<string>240</string>
<string>241</string>
<key>ITSAppUsesNonExemptEncryption</key>
<false/>
<key>LSApplicationQueriesSchemes</key>

View file

@ -8,7 +8,8 @@ podfile_properties = JSON.parse(File.read(File.join(__dir__, 'Podfile.properties
ENV['RCT_NEW_ARCH_ENABLED'] = podfile_properties['newArchEnabled'] == 'true' ? '1' : '0'
ENV['EX_DEV_CLIENT_NETWORK_INSPECTOR'] = podfile_properties['EX_DEV_CLIENT_NETWORK_INSPECTOR']
platform :ios, podfile_properties['ios.deploymentTarget'] || '15.1'
ios_deployment_target = podfile_properties['ios.deploymentTarget'] || '15.1'
platform :ios, ios_deployment_target
install! 'cocoapods',
:deterministic_uuids => false
@ -59,6 +60,17 @@ target 'AlerteSecours' do
:ccache_enabled => podfile_properties['apple.ccacheEnabled'] == 'true',
)
# Ensure every Pods target uses an iOS deployment target compatible with our app.
# Fixes issues like Pods targets defaulting to iOS 9.0, which can block newer pod versions.
min_ios_version = Gem::Version.new(ios_deployment_target)
installer.pods_project.targets.each do |t|
t.build_configurations.each do |config|
current = config.build_settings['IPHONEOS_DEPLOYMENT_TARGET']
next if current && Gem::Version.new(current) >= min_ios_version
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = ios_deployment_target
end
end
# This is necessary for Xcode 14, because it signs resource bundles by default
# when building for devices.
installer.target_installation_results.pod_target_installation_results
@ -130,21 +142,6 @@ target 'AlerteSecours' do
end
end
# Fix CocoaPods xcconfig merge error for expo-dev-menu subspec targets.
# CocoaPods sometimes generates different DEFINES_MODULE values for these targets,
# which breaks `pod install` when it tries to merge xcconfigs.
expo_dev_menu_targets = %w[
expo-dev-menu
Main
ReactNativeCompatibles
SafeAreaView
Vendored
]
installer.pods_project.targets.each do |t|
next unless expo_dev_menu_targets.include?(t.name)
t.build_configurations.each do |config|
config.build_settings['DEFINES_MODULE'] = 'YES'
end
end
end
end

View file

@ -2178,7 +2178,7 @@ PODS:
- React-logger (= 0.79.6)
- React-perflogger (= 0.79.6)
- React-utils (= 0.79.6)
- RNBackgroundGeolocation (5.0.1):
- RNBackgroundGeolocation (5.0.3):
- CocoaLumberjack (~> 3.8.5)
- DoubleConversion
- glog
@ -2202,7 +2202,7 @@ PODS:
- ReactCodegen
- ReactCommon/turbomodule/bridging
- ReactCommon/turbomodule/core
- TSLocationManager (~> 4.0.0)
- TSLocationManager (~> 4.0.10)
- Yoga
- RNCAsyncStorage (2.1.2):
- React-Core
@ -2458,7 +2458,7 @@ PODS:
- SocketRocket (0.7.1)
- TOCropViewController (2.8.0)
- TSBackgroundFetch (4.0.6)
- TSLocationManager (4.0.9):
- TSLocationManager (4.0.14):
- TSBackgroundFetch (~> 4.0.6)
- UMAppLoader (5.1.3)
- Yoga (0.0.0)
@ -2883,7 +2883,7 @@ SPEC CHECKSUMS:
Expo: ffa073320103615dfec9957a071ba949671a7d5d
expo-dev-client: 9b1e78baf0dd87b005f035d180bbb07c05917fad
expo-dev-launcher: e240b09f9fef555916cc71feb30ef5cfaf23f257
expo-dev-menu: 726077cd701594a14227043186369d86bbade0d9
expo-dev-menu: 70ab57ecc6e329d204b7213741edd087c047bd2a
expo-dev-menu-interface: 609c35ae8b97479cdd4c9e23c8cf6adc44beea0e
ExpoAsset: ef06e880126c375f580d4923fdd1cdf4ee6ee7d6
ExpoAudio: d98f922b17a945cd33f8462d086278dbd810c537
@ -2995,7 +2995,7 @@ SPEC CHECKSUMS:
ReactAppDependencyProvider: ae0be24eb18014a031b4b220cb3973d07c3cbaf8
ReactCodegen: 3d5c9def468f7df3b90b05d3098ab8d47d76c62e
ReactCommon: 4c22936ee38ecf885efc95ac5832f430f27e0271
RNBackgroundGeolocation: a1a22b12ae92306d46150b9827cc1421ec03bd18
RNBackgroundGeolocation: 2bb5dd0cffeded69d8e21ff31bfa436efcea0636
RNCAsyncStorage: b9f5f78da5d16a853fe3dc22e8268d932fc45a83
RNCMaskedView: 473e5fa854913eff0eef18c09b1328e60b3bf3f7
RNFBApp: 8d27c7545e7e06d78974e204ff95f207a60a5cb2
@ -3012,10 +3012,10 @@ SPEC CHECKSUMS:
SocketRocket: d4aabe649be1e368d1318fdf28a022d714d65748
TOCropViewController: 797deaf39c90e6e9ddd848d88817f6b9a8a09888
TSBackgroundFetch: 0afbeaae4e1132866e1d4b6e55265af26b5958ae
TSLocationManager: ba5648de9d7226abca875a06fbce7f50b3e9acf5
TSLocationManager: 6b8551c21b6faa56513cbb6ae4d62676ac395f34
UMAppLoader: 55159b69750129faa7a51c493cb8ea55a7b64eb9
Yoga: b37eeaa6148984cac70ecaf8022bb209e03296cb
PODFILE CHECKSUM: 5686979b0aa88a157955165df52d1be990eeb6e7
PODFILE CHECKSUM: a1c54f1927fec0924191f99a3828a87fd3089a31
COCOAPODS: 1.16.2

View file

@ -2,6 +2,7 @@
"expo.jsEngine": "hermes",
"EX_DEV_CLIENT_NETWORK_INSPECTOR": "true",
"newArchEnabled": "false",
"ios.deploymentTarget": "15.1",
"ios.useFrameworks": "static",
"apple.extraPods": "[]",
"apple.ccacheEnabled": "false",

View file

@ -1,6 +1,6 @@
{
"name": "alerte-secours",
"version": "1.16.9",
"version": "1.16.10",
"main": "index.js",
"scripts": {
"start": "expo start --dev-client --private-key-path ./keys/private-key.pem",
@ -54,8 +54,8 @@
"screenshot:android": "scripts/screenshot-android.sh"
},
"customExpoVersioning": {
"versionCode": 240,
"buildNumber": 240
"versionCode": 241,
"buildNumber": 241
},
"commit-and-tag-version": {
"scripts": {