Compare commits

...

3 commits

Author SHA1 Message Date
8ba858f876
fix: load font 2026-01-10 21:50:59 +01:00
4a311764dc chore(release): 1.16.0 2026-01-04 14:17:53 +01:00
c11b05a108 fix: yarn ios:staging 2026-01-04 14:16:42 +01:00
6 changed files with 29 additions and 10 deletions

View file

@ -2,6 +2,19 @@
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. 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.0](https://github.com/alerte-secours/as-app/compare/v1.14.3...v1.16.0) (2026-01-04)
### Features
* **links:** add appui soutien ([43bc7f6](https://github.com/alerte-secours/as-app/commit/43bc7f6f63f5034359eb0f4598386215889a35fe))
### Bug Fixes
* **ios:** wip ([c5c5703](https://github.com/alerte-secours/as-app/commit/c5c570392ba52a56dd35d77f13844c2acf9bce7f))
* yarn ios:staging ([c11b05a](https://github.com/alerte-secours/as-app/commit/c11b05a1082489eb8596567036329b142fb0b0b9))
## [1.15.0](https://github.com/alerte-secours/as-app/compare/v1.13.13...v1.15.0) (2025-12-11) ## [1.15.0](https://github.com/alerte-secours/as-app/compare/v1.13.13...v1.15.0) (2025-12-11)

View file

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

View file

@ -21,7 +21,13 @@ class AppDelegate: RCTAppDelegate {
// Initialize expo-updates controller so AppController.sharedInstance can be used safely. // Initialize expo-updates controller so AppController.sharedInstance can be used safely.
AppController.initializeWithoutStarting() AppController.initializeWithoutStarting()
AppController.sharedInstance.start()
let updatesController = AppController.sharedInstance
if updatesController.isActiveController {
updatesController.start()
} else {
NSLog("[AppDelegate] Skipping AppController.start(): isActiveController is false (dev client or disabled updates)")
}
// Configure React Native root module. // Configure React Native root module.
self.moduleName = "main" self.moduleName = "main"

View file

@ -25,7 +25,7 @@
<key>CFBundlePackageType</key> <key>CFBundlePackageType</key>
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string> <string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
<key>CFBundleShortVersionString</key> <key>CFBundleShortVersionString</key>
<string>1.15.0</string> <string>1.16.0</string>
<key>CFBundleSignature</key> <key>CFBundleSignature</key>
<string>????</string> <string>????</string>
<key>CFBundleURLTypes</key> <key>CFBundleURLTypes</key>
@ -48,7 +48,7 @@
</dict> </dict>
</array> </array>
<key>CFBundleVersion</key> <key>CFBundleVersion</key>
<string>230</string> <string>231</string>
<key>ITSAppUsesNonExemptEncryption</key> <key>ITSAppUsesNonExemptEncryption</key>
<false/> <false/>
<key>LSApplicationQueriesSchemes</key> <key>LSApplicationQueriesSchemes</key>

View file

@ -1,6 +1,6 @@
{ {
"name": "alerte-secours", "name": "alerte-secours",
"version": "1.15.0", "version": "1.16.0",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"start": "expo start --dev-client --private-key-path ./keys/private-key.pem", "start": "expo start --dev-client --private-key-path ./keys/private-key.pem",
@ -50,8 +50,8 @@
"screenshot:android": "scripts/screenshot-android.sh" "screenshot:android": "scripts/screenshot-android.sh"
}, },
"customExpoVersioning": { "customExpoVersioning": {
"versionCode": 230, "versionCode": 231,
"buildNumber": 230 "buildNumber": 231
}, },
"commit-and-tag-version": { "commit-and-tag-version": {
"scripts": { "scripts": {

View file

@ -1,4 +1,4 @@
import * as Font from "expo-font"; import { loadAsync } from "expo-font";
const fonts = { const fonts = {
"OpenSans-Regular": require("~/assets/fonts/OpenSans-Regular.ttf"), "OpenSans-Regular": require("~/assets/fonts/OpenSans-Regular.ttf"),
@ -10,5 +10,5 @@ const fonts = {
export default async function loadRessources() { export default async function loadRessources() {
// await new Promise(resolve => setTimeout(resolve, 2000)) // await new Promise(resolve => setTimeout(resolve, 2000))
await Font.loadAsync(fonts); await loadAsync(fonts);
} }