mirror of
https://github.com/movie-web/native-app.git
synced 2025-09-13 16:23:25 +00:00
chore: format
This commit is contained in:
@@ -4,99 +4,97 @@ import { version } from "./package.json";
|
|||||||
import withRemoveiOSNotificationEntitlement from "./src/plugins/withRemoveiOSNotificationEntitlement";
|
import withRemoveiOSNotificationEntitlement from "./src/plugins/withRemoveiOSNotificationEntitlement";
|
||||||
|
|
||||||
const defineConfig = (): ExpoConfig => ({
|
const defineConfig = (): ExpoConfig => ({
|
||||||
name: "movie-web",
|
name: "movie-web",
|
||||||
slug: "mw-mobile",
|
slug: "mw-mobile",
|
||||||
scheme: "movieweb",
|
scheme: "movieweb",
|
||||||
version,
|
version,
|
||||||
icon: "./assets/images/icon.png",
|
icon: "./assets/images/icon.png",
|
||||||
userInterfaceStyle: "automatic",
|
userInterfaceStyle: "automatic",
|
||||||
splash: {
|
splash: {
|
||||||
image: "./assets/images/splash.png",
|
image: "./assets/images/splash.png",
|
||||||
resizeMode: "contain",
|
resizeMode: "contain",
|
||||||
backgroundColor: "#000000",
|
backgroundColor: "#000000",
|
||||||
},
|
},
|
||||||
updates: {
|
updates: {
|
||||||
fallbackToCacheTimeout: 0,
|
fallbackToCacheTimeout: 0,
|
||||||
},
|
},
|
||||||
assetBundlePatterns: ["**/*"],
|
assetBundlePatterns: ["**/*"],
|
||||||
ios: {
|
ios: {
|
||||||
bundleIdentifier: "dev.movieweb.app",
|
bundleIdentifier: "dev.movieweb.app",
|
||||||
supportsTablet: true,
|
supportsTablet: true,
|
||||||
requireFullScreen: true,
|
requireFullScreen: true,
|
||||||
infoPlist: {
|
infoPlist: {
|
||||||
CFBundleName: "movie-web",
|
CFBundleName: "movie-web",
|
||||||
NSPhotoLibraryUsageDescription:
|
NSPhotoLibraryUsageDescription:
|
||||||
"This app saves videos to the photo library.",
|
"This app saves videos to the photo library.",
|
||||||
NSAppTransportSecurity: {
|
NSAppTransportSecurity: {
|
||||||
NSAllowsArbitraryLoads: true,
|
NSAllowsArbitraryLoads: true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
android: {
|
android: {
|
||||||
package: "dev.movieweb.app",
|
package: "dev.movieweb.app",
|
||||||
permissions: ["WRITE_SETTINGS"],
|
permissions: ["WRITE_SETTINGS"],
|
||||||
},
|
},
|
||||||
web: {
|
web: {
|
||||||
favicon: "./assets/images/favicon.png",
|
favicon: "./assets/images/favicon.png",
|
||||||
bundler: "metro",
|
bundler: "metro",
|
||||||
},
|
},
|
||||||
experiments: {
|
experiments: {
|
||||||
tsconfigPaths: true,
|
tsconfigPaths: true,
|
||||||
typedRoutes: true,
|
typedRoutes: true,
|
||||||
},
|
},
|
||||||
plugins: [
|
plugins: [
|
||||||
"expo-router",
|
"expo-router",
|
||||||
[withRemoveiOSNotificationEntitlement as unknown as string],
|
[withRemoveiOSNotificationEntitlement as unknown as string],
|
||||||
[
|
[
|
||||||
"expo-screen-orientation",
|
"expo-screen-orientation",
|
||||||
{
|
{
|
||||||
initialOrientation: "PORTRAIT_UP",
|
initialOrientation: "PORTRAIT_UP",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
"expo-build-properties",
|
"expo-build-properties",
|
||||||
{
|
{
|
||||||
android: {
|
android: {
|
||||||
minSdkVersion: 24,
|
minSdkVersion: 24,
|
||||||
packagingOptions: {
|
packagingOptions: {
|
||||||
pickFirst: [
|
pickFirst: [
|
||||||
"lib/x86/libcrypto.so",
|
"lib/x86/libcrypto.so",
|
||||||
"lib/x86_64/libcrypto.so",
|
"lib/x86_64/libcrypto.so",
|
||||||
"lib/armeabi-v7a/libcrypto.so",
|
"lib/armeabi-v7a/libcrypto.so",
|
||||||
"lib/arm64-v8a/libcrypto.so",
|
"lib/arm64-v8a/libcrypto.so",
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
"expo-alternate-app-icons",
|
"expo-alternate-app-icons",
|
||||||
[
|
[
|
||||||
"./assets/images/main.png",
|
"./assets/images/main.png",
|
||||||
"./assets/images/blue.png",
|
"./assets/images/blue.png",
|
||||||
"./assets/images/gray.png",
|
"./assets/images/gray.png",
|
||||||
"./assets/images/red.png",
|
"./assets/images/red.png",
|
||||||
"./assets/images/teal.png",
|
"./assets/images/teal.png",
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
"expo-media-library",
|
"expo-media-library",
|
||||||
{
|
{
|
||||||
photosPermission: "Allow $(PRODUCT_NAME) to access your photos.",
|
photosPermission: "Allow $(PRODUCT_NAME) to access your photos.",
|
||||||
savePhotosPermission: "Allow $(PRODUCT_NAME) to save photos.",
|
savePhotosPermission: "Allow $(PRODUCT_NAME) to save photos.",
|
||||||
isAccessMediaLocationEnabled: true,
|
isAccessMediaLocationEnabled: true,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
"expo-pod-pinner",
|
"expo-pod-pinner",
|
||||||
{
|
{
|
||||||
"targetName": "movieweb",
|
targetName: "movieweb",
|
||||||
"pods": [
|
pods: [{ "OpenSSL-Universal": "1.1.2200" }],
|
||||||
{ "OpenSSL-Universal": "1.1.2200" }
|
},
|
||||||
]
|
],
|
||||||
}
|
],
|
||||||
]
|
|
||||||
],
|
|
||||||
});
|
});
|
||||||
|
|
||||||
export default defineConfig;
|
export default defineConfig;
|
||||||
|
Reference in New Issue
Block a user