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