├── .editorconfig ├── .eslintignore ├── .eslintrc.js ├── .github ├── actions │ ├── setup-expo │ │ └── action.yaml │ └── setup-node-environment │ │ └── action.yaml └── workflows │ ├── ci.yml │ ├── release-dev.yaml │ ├── release-ipa.yml │ └── release-please.yml ├── .gitignore ├── .prettierrc ├── .release-please-manifest.json ├── README.md ├── __mocks__ └── expo-sqlite │ └── index.ts ├── app.config.ts ├── app ├── _layout.tsx ├── detail │ └── [id].tsx ├── index.tsx └── settings.tsx ├── assets ├── adaptive-icon.png ├── favicon.png ├── icon.png └── splash.png ├── babel.config.js ├── eas.json ├── jest.config.ts ├── migrations ├── 001_initial.ts ├── 002_populate.ts └── index.ts ├── package.json ├── preview-web.png ├── preview.png ├── release-please-config.json ├── src ├── Header.tsx ├── clients │ ├── SQLiteOpsClient.ts │ ├── SQLiteTaskClient.spec.ts │ ├── SQLiteTaskClient.ts │ └── types.ts ├── config.ts ├── data │ ├── AppDataProvider.tsx │ ├── DataContext.ts │ ├── DbMigrationRunner.spec.ts │ ├── DbMigrationRunner.ts │ ├── SQLiteProvider.tsx │ ├── indexedDatabase.ts │ ├── sqliteDatabase.ts │ ├── sqliteDatabase.web.ts │ └── types.ts ├── globalStyles.ts ├── logger.ts ├── store │ ├── globalReset.ts │ ├── index.ts │ └── taskSlice.ts └── types.ts └── tsconfig.json /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarjanica/react-native-sqlite-expo-demo/HEAD/.editorconfig -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- 1 | expo-env.d.ts 2 | -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarjanica/react-native-sqlite-expo-demo/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.github/actions/setup-expo/action.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarjanica/react-native-sqlite-expo-demo/HEAD/.github/actions/setup-expo/action.yaml -------------------------------------------------------------------------------- /.github/actions/setup-node-environment/action.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarjanica/react-native-sqlite-expo-demo/HEAD/.github/actions/setup-node-environment/action.yaml -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarjanica/react-native-sqlite-expo-demo/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/release-dev.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarjanica/react-native-sqlite-expo-demo/HEAD/.github/workflows/release-dev.yaml -------------------------------------------------------------------------------- /.github/workflows/release-ipa.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarjanica/react-native-sqlite-expo-demo/HEAD/.github/workflows/release-ipa.yml -------------------------------------------------------------------------------- /.github/workflows/release-please.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarjanica/react-native-sqlite-expo-demo/HEAD/.github/workflows/release-please.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarjanica/react-native-sqlite-expo-demo/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarjanica/react-native-sqlite-expo-demo/HEAD/.prettierrc -------------------------------------------------------------------------------- /.release-please-manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | 3 | ".": "1.0.0" 4 | 5 | } 6 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarjanica/react-native-sqlite-expo-demo/HEAD/README.md -------------------------------------------------------------------------------- /__mocks__/expo-sqlite/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarjanica/react-native-sqlite-expo-demo/HEAD/__mocks__/expo-sqlite/index.ts -------------------------------------------------------------------------------- /app.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarjanica/react-native-sqlite-expo-demo/HEAD/app.config.ts -------------------------------------------------------------------------------- /app/_layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarjanica/react-native-sqlite-expo-demo/HEAD/app/_layout.tsx -------------------------------------------------------------------------------- /app/detail/[id].tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarjanica/react-native-sqlite-expo-demo/HEAD/app/detail/[id].tsx -------------------------------------------------------------------------------- /app/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarjanica/react-native-sqlite-expo-demo/HEAD/app/index.tsx -------------------------------------------------------------------------------- /app/settings.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarjanica/react-native-sqlite-expo-demo/HEAD/app/settings.tsx -------------------------------------------------------------------------------- /assets/adaptive-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarjanica/react-native-sqlite-expo-demo/HEAD/assets/adaptive-icon.png -------------------------------------------------------------------------------- /assets/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarjanica/react-native-sqlite-expo-demo/HEAD/assets/favicon.png -------------------------------------------------------------------------------- /assets/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarjanica/react-native-sqlite-expo-demo/HEAD/assets/icon.png -------------------------------------------------------------------------------- /assets/splash.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarjanica/react-native-sqlite-expo-demo/HEAD/assets/splash.png -------------------------------------------------------------------------------- /babel.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarjanica/react-native-sqlite-expo-demo/HEAD/babel.config.js -------------------------------------------------------------------------------- /eas.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarjanica/react-native-sqlite-expo-demo/HEAD/eas.json -------------------------------------------------------------------------------- /jest.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarjanica/react-native-sqlite-expo-demo/HEAD/jest.config.ts -------------------------------------------------------------------------------- /migrations/001_initial.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarjanica/react-native-sqlite-expo-demo/HEAD/migrations/001_initial.ts -------------------------------------------------------------------------------- /migrations/002_populate.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarjanica/react-native-sqlite-expo-demo/HEAD/migrations/002_populate.ts -------------------------------------------------------------------------------- /migrations/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarjanica/react-native-sqlite-expo-demo/HEAD/migrations/index.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarjanica/react-native-sqlite-expo-demo/HEAD/package.json -------------------------------------------------------------------------------- /preview-web.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarjanica/react-native-sqlite-expo-demo/HEAD/preview-web.png -------------------------------------------------------------------------------- /preview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarjanica/react-native-sqlite-expo-demo/HEAD/preview.png -------------------------------------------------------------------------------- /release-please-config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarjanica/react-native-sqlite-expo-demo/HEAD/release-please-config.json -------------------------------------------------------------------------------- /src/Header.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarjanica/react-native-sqlite-expo-demo/HEAD/src/Header.tsx -------------------------------------------------------------------------------- /src/clients/SQLiteOpsClient.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarjanica/react-native-sqlite-expo-demo/HEAD/src/clients/SQLiteOpsClient.ts -------------------------------------------------------------------------------- /src/clients/SQLiteTaskClient.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarjanica/react-native-sqlite-expo-demo/HEAD/src/clients/SQLiteTaskClient.spec.ts -------------------------------------------------------------------------------- /src/clients/SQLiteTaskClient.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarjanica/react-native-sqlite-expo-demo/HEAD/src/clients/SQLiteTaskClient.ts -------------------------------------------------------------------------------- /src/clients/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarjanica/react-native-sqlite-expo-demo/HEAD/src/clients/types.ts -------------------------------------------------------------------------------- /src/config.ts: -------------------------------------------------------------------------------- 1 | export const dbName = 'test.sqlite'; 2 | -------------------------------------------------------------------------------- /src/data/AppDataProvider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarjanica/react-native-sqlite-expo-demo/HEAD/src/data/AppDataProvider.tsx -------------------------------------------------------------------------------- /src/data/DataContext.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarjanica/react-native-sqlite-expo-demo/HEAD/src/data/DataContext.ts -------------------------------------------------------------------------------- /src/data/DbMigrationRunner.spec.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarjanica/react-native-sqlite-expo-demo/HEAD/src/data/DbMigrationRunner.spec.ts -------------------------------------------------------------------------------- /src/data/DbMigrationRunner.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarjanica/react-native-sqlite-expo-demo/HEAD/src/data/DbMigrationRunner.ts -------------------------------------------------------------------------------- /src/data/SQLiteProvider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarjanica/react-native-sqlite-expo-demo/HEAD/src/data/SQLiteProvider.tsx -------------------------------------------------------------------------------- /src/data/indexedDatabase.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarjanica/react-native-sqlite-expo-demo/HEAD/src/data/indexedDatabase.ts -------------------------------------------------------------------------------- /src/data/sqliteDatabase.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarjanica/react-native-sqlite-expo-demo/HEAD/src/data/sqliteDatabase.ts -------------------------------------------------------------------------------- /src/data/sqliteDatabase.web.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarjanica/react-native-sqlite-expo-demo/HEAD/src/data/sqliteDatabase.web.ts -------------------------------------------------------------------------------- /src/data/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarjanica/react-native-sqlite-expo-demo/HEAD/src/data/types.ts -------------------------------------------------------------------------------- /src/globalStyles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarjanica/react-native-sqlite-expo-demo/HEAD/src/globalStyles.ts -------------------------------------------------------------------------------- /src/logger.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarjanica/react-native-sqlite-expo-demo/HEAD/src/logger.ts -------------------------------------------------------------------------------- /src/store/globalReset.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarjanica/react-native-sqlite-expo-demo/HEAD/src/store/globalReset.ts -------------------------------------------------------------------------------- /src/store/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarjanica/react-native-sqlite-expo-demo/HEAD/src/store/index.ts -------------------------------------------------------------------------------- /src/store/taskSlice.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarjanica/react-native-sqlite-expo-demo/HEAD/src/store/taskSlice.ts -------------------------------------------------------------------------------- /src/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarjanica/react-native-sqlite-expo-demo/HEAD/src/types.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/amarjanica/react-native-sqlite-expo-demo/HEAD/tsconfig.json --------------------------------------------------------------------------------