Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
3236556
build: upgrade to Expo SDK 58 (React Native 0.88, React 19.3)
koniz-dev Oct 19, 2026
3f6358e
fix: adapt the app to Expo Router 58 and React Native 0.88's strict t…
koniz-dev Oct 19, 2026
b90bc84
test: move to React Native Testing Library 14's async APIs
koniz-dev Oct 19, 2026
1023154
fix(web): export a single-page app explicitly
koniz-dev Oct 19, 2026
9c34427
docs, e2e: Expo SDK 58 versions, and Expo Go 58.0.4 in the Android e2e
koniz-dev Oct 19, 2026
51d8e04
fix(nav): keep one Home when the session guards send a user Home
koniz-dev Oct 19, 2026
b0c6098
docs: undeclared tabs, web redeploys with route-split JavaScript
koniz-dev Oct 19, 2026
fad66ff
fix(nav): return to the screen below when the session guards send a u…
koniz-dev Oct 19, 2026
60e0c35
docs: wording of the undeclared-tab and web redeploy notes
koniz-dev Oct 19, 2026
83b66e5
fix(nav): undo only the guards' replacement, not navigation to a tab
koniz-dev Oct 19, 2026
c4ee546
fix(nav): undo the guards' redirect only right after the session changed
koniz-dev Oct 19, 2026
ec4d88a
test(nav): cover the session-change hook's conditions; drop a redunda…
koniz-dev Oct 19, 2026
c517314
docs(conventions): the guards return a user to the screen below; repl…
koniz-dev Oct 19, 2026
5fb2731
docs(conventions): go Home with dismissTo after signIn/signOut, and d…
koniz-dev Oct 19, 2026
050b01a
fix(nav): clear the session flag when a guarded group leaves for the …
koniz-dev Oct 19, 2026
a93a9fe
docs(conventions): scope the post-sign-in advice to screens in the gu…
koniz-dev Oct 19, 2026
ce5909e
docs(conventions): return to a tab with dismissTo from a screen over …
koniz-dev Oct 19, 2026
b6d6379
docs(conventions): wording of the tab-return and guard sentences (R10…
koniz-dev Oct 19, 2026
dd02672
chore(nav): point useNoExtraHome to the upstream report (expo/expo#51…
koniz-dev Oct 20, 2026
56e441d
test(session): cover the cold-start restore guard and the unmount guards
koniz-dev Oct 25, 2026
e5c4243
fix(deps): upgrade zod to 4.6.7 for GHSA-mrhx-c7xc-m3w5
koniz-dev Oct 25, 2026
2204ac8
Merge main (zod fix 1ecec29) into sdk-58
koniz-dev Oct 25, 2026
d1eb09f
ci: add a manual EAS Build workflow, inert without EXPO_TOKEN
koniz-dev Oct 25, 2026
2c81883
feat(scripts): add npm run new-feature to scaffold a feature
koniz-dev Oct 25, 2026
396b833
docs(recipes): add a certificate pinning recipe
koniz-dev Oct 25, 2026
fc671e2
docs(recipes): add a recipe for a second language
koniz-dev Oct 25, 2026
ab4d519
ci(e2e): run the Android flows weekly where E2E_ANDROID_SCHEDULE is set
koniz-dev Oct 25, 2026
2333840
Revert "ci: add a manual EAS Build workflow, inert without EXPO_TOKEN"
koniz-dev Nov 1, 2026
1233656
docs(app-config): point to Expo's guides for building on CI
koniz-dev Nov 1, 2026
57d73bb
Merge main (README rewrite 1a3015a) into sdk-58
koniz-dev Nov 1, 2026
64acb33
Merge main (advisory fixes abda04e) into sdk-58
koniz-dev Nov 1, 2026
8ddba3b
Revert "ci(e2e): run the Android flows weekly where E2E_ANDROID_SCHED…
koniz-dev Nov 1, 2026
3c5567c
Revert "docs(recipes): add a recipe for a second language"
koniz-dev Nov 1, 2026
7834bc2
Revert "docs(recipes): add a certificate pinning recipe"
koniz-dev Nov 1, 2026
7f8e2d8
Revert "feat(scripts): add npm run new-feature to scaffold a feature"
koniz-dev Nov 1, 2026
81e2144
Merge main (docs fixes 12cd706, c9bf09a) into sdk-58
koniz-dev Nov 1, 2026
e62f34d
build: move to Expo 58.0.22 and its aligned patch versions
koniz-dev Nov 1, 2026
46b6281
chore(audit): drop the zod allowlist entry, fixed by Expo 58.0.22
koniz-dev Nov 1, 2026
94bc4f6
Merge main (setup-java 6.1.0, 07ca192) into sdk-58
koniz-dev Nov 6, 2026
37e2a1a
ci(e2e-android): pin Expo Go 58.0.5, the store's version
koniz-dev Nov 6, 2026
0df42fc
build: move to Expo 58.0.23 and its aligned patch versions
koniz-dev Nov 6, 2026
ff6918a
fix(navigation): undo the guard's Home for a link to a refused group
koniz-dev Nov 6, 2026
cc61fe8
fix(navigation): don't dismiss a one-screen stack after a refused rep…
koniz-dev Nov 6, 2026
2d7f954
docs(conventions): a replace into a refused group lands on Home
koniz-dev Nov 6, 2026
00c9677
fix(ui): start scrolled content below the iOS 26 Liquid Glass header
koniz-dev Nov 6, 2026
cfdc124
docs(ui-and-theming): the iOS 26 header and the automatic content inset
koniz-dev Nov 6, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/e2e-android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ jobs:
MAESTRO_VERSION: '2.11.0'
MAESTRO_SHA256: '5384593cb4e7a106489e75a821d157dd43f4e438df6bc308b72e82c685e1283a'
# Expo Go for the project's SDK; update both on an SDK upgrade.
EXPO_GO_VERSION: '57.0.9'
EXPO_GO_SHA256: '14c18828a3d04e43922245920bd941b978fd1c7a5aec88a0188032f0bb4972ce'
EXPO_GO_VERSION: '58.0.5'
EXPO_GO_SHA256: 'd979cf81c56c5432c5aa69adc9497521ee72d1f87e92eee33bc949167a40f1a6'
steps:
- name: Check out repository
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ permissions:
jobs:
e2e-ios:
name: Maestro on iOS simulator (native-debug)
# Expo SDK 57 needs Xcode 26.4 or later.
# Expo SDK 58 needs Xcode 26.4 or later.
runs-on: macos-26
timeout-minutes: 120
env:
Expand Down
2 changes: 1 addition & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Agent Instructions

This is an Expo (SDK 57) and React Native app: Expo
This is an Expo (SDK 58) and React Native app: Expo
Router, TypeScript strict, React Native Paper (Material Design 3), Jest and
React Native Testing Library, and Maestro end-to-end flows. Follow these
instructions when you change the code; the linked docs have the details.
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ and a few adapters, not a rewrite.
[![CI](https://github.com/koniz-dev/react-native-starter/actions/workflows/ci.yml/badge.svg)](https://github.com/koniz-dev/react-native-starter/actions/workflows/ci.yml)
[![Audit](https://github.com/koniz-dev/react-native-starter/actions/workflows/audit.yml/badge.svg)](https://github.com/koniz-dev/react-native-starter/actions/workflows/audit.yml)
[![Release](https://img.shields.io/github/v/release/koniz-dev/react-native-starter)](https://github.com/koniz-dev/react-native-starter/releases)
[![Expo SDK 57](https://img.shields.io/badge/Expo_SDK-57-000020?logo=expo)](https://docs.expo.dev/)
[![Expo SDK 58](https://img.shields.io/badge/Expo_SDK-58-000020?logo=expo)](https://docs.expo.dev/)
![iOS | Android | Web](https://img.shields.io/badge/platforms-iOS_%7C_Android_%7C_Web-blue)
[![TypeScript strict](https://img.shields.io/badge/TypeScript-strict-3178c6?logo=typescript&logoColor=white)](tsconfig.json)
[![MIT license](https://img.shields.io/github/license/koniz-dev/react-native-starter)](LICENSE)
Expand Down Expand Up @@ -95,7 +95,7 @@ on: `emilys` / `emilyspass`.

| Layer | Choice |
| ---------- | ---------------------------------------------------------- |
| Framework | Expo SDK 57, React Native 0.86, React 19 |
| Framework | Expo SDK 58, React Native 0.88, React 19 |
| Navigation | Expo Router (file-based routes) |
| UI | React Native Paper 5 (Material Design 3) |
| Language | TypeScript in strict mode, with `noUncheckedIndexedAccess` |
Expand Down
2 changes: 2 additions & 0 deletions __tests__/app/appConfig.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ describe('app.config.ts variants', () => {
expect(config.scheme).toBe(scheme);
expect(config.ios?.bundleIdentifier).toBe(bundleId);
expect(config.android?.package).toBe(bundleId);
// The web export is a single-page app, which the hosting docs describe.
expect(config.web?.output).toBe('single');
});

it('gives each variant a distinct bundle ID and scheme', () => {
Expand Down
2 changes: 1 addition & 1 deletion __tests__/app/configError.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jest.mock('@/shared/config/env', () => {

describe('startup with invalid configuration', () => {
test('shows the configuration error screen instead of the app', async () => {
renderRouter('./app', { initialUrl: '/' });
await renderRouter('./app', { initialUrl: '/' });

expect(await screen.findByText('Configuration error')).toBeTruthy();
expect(screen.getByText('EXPO_PUBLIC_API_URL')).toBeTruthy();
Expand Down
10 changes: 5 additions & 5 deletions __tests__/app/initialRoute.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,30 +5,30 @@ import { unstable_settings } from '@/app/_layout';

describe('initial route', () => {
test('anchors the root stack on the tabs group', () => {
expect(unstable_settings.initialRouteName).toBe('(tabs)');
expect(unstable_settings.anchor).toBe('(tabs)');
});

test('/ renders the Home tab', async () => {
const app = renderRouter('./app', { initialUrl: '/' });
const app = await renderRouter('./app', { initialUrl: '/' });

expect(await screen.findByText('Session')).toBeTruthy();
expect(app.getPathname()).toBe('/');
expect(screen.queryByText('Welcome Back')).toBeNull();
});

test('/login renders the Login screen', async () => {
const app = renderRouter('./app', { initialUrl: '/login' });
const app = await renderRouter('./app', { initialUrl: '/login' });

expect(await screen.findByText('Welcome Back')).toBeTruthy();
expect(app.getPathname()).toBe('/login');
});

test('going back from a deep-linked /login returns to Home', async () => {
const app = renderRouter('./app', { initialUrl: '/login' });
const app = await renderRouter('./app', { initialUrl: '/login' });
await screen.findByText('Welcome Back');

expect(router.canGoBack()).toBe(true);
act(() => router.back());
await act(() => router.back());

expect(await screen.findByText('Session')).toBeTruthy();
expect(app.getPathname()).toBe('/');
Expand Down
2 changes: 1 addition & 1 deletion __tests__/app/integrationSetup.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ describe('integration setup that throws', () => {
const logError = jest.spyOn(logger, 'error').mockImplementation(() => {});

// Loads app/_layout.tsx for the first time in this file.
renderRouter('./app', { initialUrl: '/' });
await renderRouter('./app', { initialUrl: '/' });

expect(await screen.findByText('Configuration error')).toBeTruthy();
expect(logError).toHaveBeenCalledWith(
Expand Down
2 changes: 1 addition & 1 deletion __tests__/app/nativeHead.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ describe('screens in an iOS native build', () => {
['/showcase', 'Buttons'],
// @demo remove-block-end
])('%s renders', async (initialUrl, text) => {
renderRouter('./app', { initialUrl });
await renderRouter('./app', { initialUrl });
expect(await screen.findByText(text)).toBeTruthy();
expect(screen.queryByTestId('error-fallback')).toBeNull();
});
Expand Down
Loading
Loading