Skip to content

Commit 818ddcc

Browse files
authored
Merge pull request #49 from Abel13/animation-tests
Animation tests
2 parents 4a8432e + 6eec3fe commit 818ddcc

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

89 files changed

+10635
-9383
lines changed

.eslintignore

Lines changed: 0 additions & 8 deletions
This file was deleted.

.eslintrc.json

Lines changed: 0 additions & 113 deletions
This file was deleted.

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,7 @@ android
4545
*.apk
4646
*.aab
4747
*.ipa
48+
49+
# Expo
50+
.expo
51+
dist/

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ This is an [Expo](https://expo.dev) project created with [`create-expo-app`](htt
1313
2. Start the app
1414

1515
```bash
16-
npx expo start
16+
npx expo start
1717
```
1818

1919
In the output, you'll find options to open the app in a
@@ -40,7 +40,7 @@ This command will move the starter code to the **app-example** directory and cre
4040
To learn more about developing your project with Expo, look at the following resources:
4141

4242
- [Expo documentation](https://docs.expo.dev/): Learn fundamentals, or go into advanced topics with our [guides](https://docs.expo.dev/guides).
43-
- [Learn Expo tutorial](https://docs.expo.dev/tutorial/introduction/): Follow a step-by-step tutorial where you'll create a project that runs on Android and iOS.
43+
- [Learn Expo tutorial](https://docs.expo.dev/tutorial/introduction/): Follow a step-by-step tutorial where you'll create a project that runs on Android, iOS, and the web.
4444

4545
## Join the community
4646

app.json

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
"owner": "b13soft",
44
"name": "4dinha",
55
"slug": "4dinha",
6-
"version": "1.0.0",
76
"orientation": "landscape",
87
"icon": "./assets/images/icon.png",
98
"scheme": "x4dinha",
109
"userInterfaceStyle": "dark",
1110
"newArchEnabled": true,
1211
"ios": {
12+
"icon": "./assets/images/icon.png",
1313
"supportsTablet": true,
1414
"bundleIdentifier": "com.abelb13.4dinha",
1515
"infoPlist": {
@@ -18,8 +18,8 @@
1818
"UIViewControllerBasedStatusBarAppearance": true
1919
}
2020
},
21-
"androidStatusBar": {
22-
"backgroundColor": "#000000"
21+
"androidNavigationBar": {
22+
"backgroundColor": "#021223"
2323
},
2424
"android": {
2525
"package": "com.abelb13.x4dinha",
@@ -34,22 +34,25 @@
3434
],
3535
"adaptiveIcon": {
3636
"foregroundImage": "./assets/images/adaptive-icon.png",
37-
"backgroundColor": "#ffffff"
37+
"backgroundColor": "#021223"
3838
}
3939
},
4040
"plugins": [
4141
"expo-router",
42+
"expo-audio",
43+
"expo-localization",
44+
"expo-secure-store",
4245
[
4346
"expo-splash-screen",
4447
{
4548
"image": "./assets/images/splash-icon.png",
4649
"imageWidth": 200,
4750
"resizeMode": "contain",
48-
"backgroundColor": "#000000"
51+
"backgroundColor": "#021223"
4952
}
5053
],
51-
"expo-localization",
52-
"expo-secure-store"
54+
"expo-font",
55+
"expo-asset"
5356
],
5457
"experiments": {
5558
"typedRoutes": true
@@ -63,7 +66,7 @@
6366
}
6467
},
6568
"runtimeVersion": {
66-
"policy": "appVersion"
69+
"policy": "fingerprint"
6770
},
6871
"updates": {
6972
"url": "https://u.expo.dev/9d5a4b4c-abcd-4bc5-b859-3a48433a6ff5"

app/(game)/4dinha/end.tsx

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import { ThemedButton } from '@/components/ThemedButton';
1010
import { useUserSessionStore } from '@/hooks/useUserSessionStore';
1111
import { useMatch } from '@/hooks/useMatch';
1212
import { useKeepAwake } from 'expo-keep-awake';
13+
import { SvgImage } from '@/components/SvgImage';
1314

1415
const styles = StyleSheet.create({
1516
container: {
@@ -100,11 +101,9 @@ export default function End() {
100101

101102
<ThemedView style={styles.card}>
102103
{playerPicture && (
103-
<Image
104-
source={{
105-
uri: playerPicture,
106-
}}
107-
style={{ width: 100, height: 100, borderRadius: 50 }}
104+
<SvgImage
105+
xml={playerPicture}
106+
containerStyle={{ width: 100, height: 100, borderRadius: 50 }}
108107
/>
109108
)}
110109
<ThemedText type='subtitle' style={styles.winnerName}>

0 commit comments

Comments
 (0)