Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
27d850f
chore: update expo libraries from 51 to 52
MateuszRostkowski Jan 14, 2025
9dd93da
chore: add font styles to light and dark navigation themes
MateuszRostkowski Jan 14, 2025
0181bd3
chore: enable new architecture in app configuration
MateuszRostkowski Jan 14, 2025
3be355e
chore: support reactotron for expo 52
MateuszRostkowski Jan 14, 2025
52c2f76
chore: comment out unused imports and functions in MockedServerService
MateuszRostkowski Jan 14, 2025
6100758
chore: fix transitionProperty format in webStyling utility
MateuszRostkowski Jan 15, 2025
8663ab0
chore: update notification listener type in NotificationService
MateuszRostkowski Jan 15, 2025
ab69298
chore: add startMockedServer function to MockedServerService
MateuszRostkowski Jan 15, 2025
61b995c
chore: disable collapsible behavior in Input component's BoxWithShadow
MateuszRostkowski Jan 15, 2025
1a27ad9
chore: make text in AlertBox selectable for better user interaction
MateuszRostkowski Jan 15, 2025
5ede9de
chore: replace isLoading with isPending - react query
MateuszRostkowski Jan 15, 2025
9e7f76d
chore: add navigation to push notifications helpers in HomeScreen
MateuszRostkowski Jan 15, 2025
615c7e8
chore: update style prop type from ViewStyle to TextStyle in TabBarIt…
MateuszRostkowski Jan 15, 2025
4ae31db
chore: update compatibilityJSON from v3 to v4 in i18n configuration
MateuszRostkowski Jan 15, 2025
0255c19
chore: update react-native-reanimated patch from v3.10.1 to v3.16.5
MateuszRostkowski Jan 15, 2025
6d5fe6a
chore: update navigation in HomeScreen to include anchor option for p…
MateuszRostkowski Jan 15, 2025
7bfa53d
chore: remove not needed expo router patch
MateuszRostkowski Jan 15, 2025
9a83495
chore: update header back button display mode to 'minimal' in layout …
MateuszRostkowski Jan 15, 2025
723c424
chore: update Icon component to use TextStyle instead of ViewStyle fo…
MateuszRostkowski Jan 15, 2025
7719c30
chore: update Touchable component to use View instead of TouchableOpa…
MateuszRostkowski Jan 15, 2025
12fa4a6
chore: update error handling in useTestForm to check for instance of …
MateuszRostkowski Jan 15, 2025
d84268e
chore: remove unused useHydrate hook from index exports
MateuszRostkowski Jan 15, 2025
1bd42f4
chore: change patch name of react-native-reanimated
MateuszRostkowski Jan 15, 2025
51be0f0
chore: lint files with update linter version
MateuszRostkowski Jan 15, 2025
290ef5b
chore update api - running generate:query script
MateuszRostkowski Jan 15, 2025
010bacf
chore: simplify login mutation by removing unnecessary type definition
MateuszRostkowski Jan 15, 2025
17a6ec7
chore: add type assertion to props in generateStyledComponent for bet…
MateuszRostkowski Jan 15, 2025
74ed67f
chore: update eslint from 8 to 9
MateuszRostkowski Jan 15, 2025
979a2e3
chore: update .gitignore to include Yarn 3.x files and improve exclus…
MateuszRostkowski Jan 15, 2025
5fe3cb9
chore: update yarn to version 3.6.1
MateuszRostkowski Jan 15, 2025
9e469fd
chore: support splash screen for new expo version [EXPO 52]
MateuszRostkowski Jan 16, 2025
18becdf
chore: update sign-in alert description in English and Polish transla…
MateuszRostkowski Jan 16, 2025
c13f208
chore: enhance sigin form logic
MateuszRostkowski Jan 16, 2025
f900ba7
chore: update app version
MateuszRostkowski Jan 16, 2025
f1a2b69
chore: update splash screen images to include dark and light variants
MateuszRostkowski Jan 16, 2025
70f7853
chore: remove msw patch
MateuszRostkowski Jan 16, 2025
0a40c0b
chore: remove mock for NativeAnimatedHelper in jest setup
MateuszRostkowski Jan 17, 2025
fdfcff8
feat: add DelayRender component for conditional rendering
MateuszRostkowski Jan 17, 2025
93c2b51
docs: update README to include new architecture and Expo version
MateuszRostkowski Jan 17, 2025
6aff42e
chore: upgrade Yarn to version 4.6.0 in configuration files
MateuszRostkowski Jan 17, 2025
277c26f
chore: remove not needed expo webpack config
MateuszRostkowski Jan 17, 2025
fd2cac6
chore: update react-native-notificated to version 0.1.7
MateuszRostkowski Jan 17, 2025
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
6 changes: 0 additions & 6 deletions .eslintignore

This file was deleted.

111 changes: 0 additions & 111 deletions .eslintrc.js

This file was deleted.

14 changes: 12 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,21 @@ web-build/

# macOS
.DS_Store
dist/

# yarn
yarn-error.log
yarn-debug.log*
yarn-error.log*

# Yarn 3.x
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions
.pnp.*

dist/

# project files

Expand Down
934 changes: 934 additions & 0 deletions .yarn/releases/yarn-4.6.0.cjs

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
compressionLevel: mixed

enableGlobalCache: false

nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-4.6.0.cjs
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@
- [🏆 Why Use BACA?](#-why-use-baca)
- [🔍 Preview](#-preview)
- [🚀 How to Use?](#-how-to-use)
- [🏃‍♂️ Quick Steps](#️-quick-steps)
- [🏃‍♂️ Quick Steps](#️-quick-steps)
- [🛠 Prerequisites](#-prerequisites)
- [📦 What's Inside?](#-whats-inside)
- [Libraries and Tools](#libraries-and-tools)
- [🔜 Future Plans](#-future-plans)
- [👏 How to Contribute](#-how-to-contribute)
- [Steps to Contribute](#steps-to-contribute)
- [Steps to Contribute](#steps-to-contribute)
- [🤙 How to Run Locally](#-how-to-run-locally)
- [Environment Variables Setup](#environment-variables-setup)
- [Environment Variables Setup](#environment-variables-setup)
- [📘 License](#-license)
- [📝 Feedback](#-feedback)
- [👨‍👩‍👧‍👦 Contributors](#-contributors)
Expand Down Expand Up @@ -65,6 +65,8 @@ While there are many project starters for React Native, we offer features that a
- **Fully Typed**
- Ensures robust code quality.
- **Comprehensive App Deployment Documentation**
- **New architecture**
- Works on new architecture of react native

## 🔍 Preview

Expand Down Expand Up @@ -107,7 +109,7 @@ Ideally it would be good to have finished [React Native Environment setup](https
### Libraries and Tools

- **TypeScript**: Strictly typed code for enhanced development experience.
- **Expo v50**: The latest Expo framework with modern React Native features.
- **Expo v52**: The latest Expo framework with modern React Native features.
- **Prettier and Eslint**: Automatically format and lint your code.
- **Babel-Module-Resolver**: Unified imports.
- **Jest and @testing-library/react-native**: Unit tests for React Native components.
Expand Down
8 changes: 0 additions & 8 deletions ReactotronConfig.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import AsyncStorage from '@react-native-async-storage/async-storage'
import { NativeModules } from 'react-native'
import Reactotron from 'reactotron-react-native'

/**
Expand All @@ -10,16 +9,9 @@ import Reactotron from 'reactotron-react-native'
* See: https://github.com/infinitered/reactotron/blob/master/docs/quick-start-react-native.md#configure-reactotron-with-your-project
*/

let scriptHostname
if (__DEV__) {
const scriptURL = NativeModules.SourceCode.scriptURL
scriptHostname = scriptURL.split('://')[1].split(':')[0]
}

Reactotron?.setAsyncStorageHandler?.(AsyncStorage)
.configure({
name: 'Reactotron In Expo demo',
host: scriptHostname,
})
.useReactNative({
asyncStorage: false,
Expand Down
24 changes: 16 additions & 8 deletions app.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
{
"expo": {
"newArchEnabled": true,
"android": {
"jsEngine": "hermes",
"versionCode": 22,
"versionCode": 27,
"softwareKeyboardLayoutMode": "pan",
"googleServicesFile": "./google-services.json"
},
"assetBundlePatterns": ["**/*"],
"ios": {
"buildNumber": "22",
"buildNumber": "27",
"config": {
"usesNonExemptEncryption": false
},
Expand All @@ -21,16 +22,11 @@
"orientation": "portrait",
"owner": "binarapps",
"slug": "expo-typescript-template",
"splash": {
"backgroundColor": "#ffffff",
"image": "./assets/splash.png",
"resizeMode": "cover"
},
"updates": {
"fallbackToCacheTimeout": 0
},
"userInterfaceStyle": "automatic",
"version": "2.5.0",
"version": "2.6.1",
"plugins": [
"@react-native-google-signin/google-signin",
"expo-asset",
Expand All @@ -46,6 +42,18 @@
"useFrameworks": "static"
}
}
],
[
"expo-splash-screen",
{
"backgroundColor": "#ffffff",
"image": "./assets/splash-light.png",
"dark": {
"image": "./assets/splash-dark.png",
"backgroundColor": "#0D1320"
},
"imageWidth": 200
}
]
],
"web": {
Expand Down
2 changes: 1 addition & 1 deletion app/(app)/(authorized)/_layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ export default function AuthorizedLayout() {
return <Redirect href="/sign-in" />
}

return <Stack screenOptions={{ headerBackTitleVisible: false }} />
return <Stack screenOptions={{ headerBackButtonDisplayMode: 'minimal' }} />
}
2 changes: 1 addition & 1 deletion app/(app)/_layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export const unstable_settings = {

export default function AppLayout() {
return (
<Stack screenOptions={{ headerShown: false, headerBackTitleVisible: false }}>
<Stack screenOptions={{ headerShown: false, headerBackButtonDisplayMode: 'minimal' }}>
<Stack.Screen name="(authorized)" />
<Stack.Screen name="(not-authorized)" />
<Stack.Screen name="(common)" />
Expand Down
Binary file added assets/splash-dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/splash-light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed assets/splash.png
Binary file not shown.
3 changes: 2 additions & 1 deletion docs/docs/bootstrap/BOOTSTRAP_TESTING.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ Config inside the app is prepared that your icons will be named respectively:
- favicon-staging.png
- favicon-production.png
- splash screen:
- splash.png
- splash-dark.png
- splash-light.png

And placed in proper folders:

Expand Down
Loading
Loading