Fixing icon

This commit is contained in:
vutukuri15 2025-02-27 18:13:10 -08:00
parent ec5521c542
commit a6c0c5c2d3
7 changed files with 14 additions and 8 deletions

View File

@ -68,7 +68,7 @@ To create an APK build, use the following
npx expo prebuild
cd android
./gradlew assembleRelease # linux
gradlew.bat assembleRelease # possible windows command
./gradlew.bat assembleRelease # windows command
```
Then, see `android/app/build/outputs/apk/release/app-release.apk` for the output

View File

@ -4,7 +4,7 @@
"slug": "poker-chips-helper",
"version": "1.0.0",
"orientation": "portrait",
"icon": "./assets/images/icon1.png",
"icon": "./assets/images/icon.png",
"scheme": "myapp",
"userInterfaceStyle": "automatic",
"newArchEnabled": true,
@ -13,7 +13,7 @@
},
"android": {
"adaptiveIcon": {
"foregroundImage": "./assets/images/adaptive-icon.png",
"foregroundImage": "./assets/images/icon.png",
"backgroundColor": "#ffffff"
},
"package": "com.anonymous.pokerchipshelper"

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 MiB

View File

@ -25,7 +25,11 @@ describe("ChipDetection", () => {
choices: [
{
message: {
content: JSON.stringify({ red: 5, green: 3, blue: 0 }),
content: JSON.stringify({
red: 5,
green: 3,
blue: 0,
}),
},
},
],
@ -70,7 +74,9 @@ describe("ChipDetection", () => {
);
fireEvent.press(getByText("Take a Photo"));
await waitFor(() => expect(mockUpdateChipCount).toHaveBeenCalled());
await waitFor(() =>
expect(mockUpdateChipCount).toHaveBeenCalledWith({ red: 5, green: 3 })
);
});
it("handles camera permission denied", async () => {

2
package-lock.json generated
View File

@ -12,7 +12,7 @@
"@react-native-async-storage/async-storage": "^2.1.1",
"@react-navigation/bottom-tabs": "7.2.0",
"@react-navigation/native": "7.0.14",
"expo": "^52.0.37",
"expo": "52.0.37",
"expo-blur": "14.0.3",
"expo-constants": "17.0.7",
"expo-file-system": "18.0.11",

View File

@ -5,8 +5,8 @@
"scripts": {
"start": "expo start",
"reset-project": "node ./scripts/reset-project.js",
"android": "expo start --android",
"ios": "expo start --ios",
"android": "expo run:android",
"ios": "expo run:ios",
"web": "expo start --web",
"test": "jest --watchAll",
"lint": "expo lint"