Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
13 changes: 8 additions & 5 deletions app.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,11 @@
"scheme": "cullof",
"userInterfaceStyle": "automatic",
"newArchEnabled": true,
"jsEngine": "hermes",
"ios": {
"supportsTablet": true,
"bundleIdentifier": "com.bagombeka-job.cullof"
"bundleIdentifier": "com.bagombeka-job.cullof",
"jsEngine": "hermes"
},
"android": {
"adaptiveIcon": {
Expand All @@ -21,11 +23,11 @@
},
"edgeToEdgeEnabled": true,
"predictiveBackGestureEnabled": false,
"package": "com.bagombeka_job.cullof"
"package": "com.bagombeka_job.cullof",
"jsEngine": "hermes"
},
"web": {
"output": "static",
"favicon": "./assets/images/favicon.png"
"output": "static"
},
"plugins": [
"expo-secure-store",
Expand All @@ -37,7 +39,8 @@
"usesCleartextTraffic": true
}
}
]
],
"./withGradleProperties.js"
],
"experiments": {
"typedRoutes": true,
Expand Down
Binary file removed assets/images/favicon.png
Binary file not shown.
Binary file removed assets/images/login_hero.png
Binary file not shown.
Binary file modified assets/images/onboarding_hero.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/images/partial-react-logo.png
Binary file not shown.
Binary file removed assets/images/react-logo.png
Binary file not shown.
Binary file removed assets/images/react-logo@2x.png
Binary file not shown.
Binary file removed assets/images/react-logo@3x.png
Binary file not shown.
Binary file removed assets/images/register_hero.png
Binary file not shown.
3 changes: 2 additions & 1 deletion eas.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"preview": {
"distribution": "internal",
"android": {
"buildType": "apk"
"buildType": "apk",
"gradleCommand": ":app:assembleRelease"
}
},
"production": {}
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
"lint": "expo lint"
},
Expand Down
18 changes: 18 additions & 0 deletions withGradleProperties.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
const { withGradleProperties } = require('@expo/config-plugins');

module.exports = function withCustomGradleProperties(config) {
return withGradleProperties(config, (config) => {
config.modResults.push(
// We limit to 64-bit architecture only: this drops the size to ~25MB!
// 99% of Android phones over the last 8 years use arm64.
{ type: 'property', key: 'reactNativeArchitectures', value: 'arm64-v8a' },

// Enable R8 Minification (Strips unused React Native code)
{ type: 'property', key: 'android.enableMinifyInReleaseBuilds', value: 'true' },

// Enable Resource Shrinking (Strips unused images/fonts)
{ type: 'property', key: 'android.enableShrinkResourcesInReleaseBuilds', value: 'true' }
);
return config;
});
};