mirror of
https://github.com/linkwarden/linkwarden.git
synced 2026-06-28 14:55:49 +00:00
132 lines
3.3 KiB
TypeScript
132 lines
3.3 KiB
TypeScript
import { ExpoConfig } from "expo/config";
|
|
|
|
const config: ExpoConfig = {
|
|
name: "Linkwarden",
|
|
slug: "linkwarden",
|
|
version: "1.3.0",
|
|
orientation: "portrait",
|
|
icon: "./assets/images/icon.png",
|
|
scheme: "linkwarden",
|
|
userInterfaceStyle: "automatic",
|
|
ios: {
|
|
supportsTablet: true,
|
|
bundleIdentifier: "app.linkwarden",
|
|
entitlements: {
|
|
"com.apple.security.application-groups": ["group.app.linkwarden"],
|
|
},
|
|
infoPlist: {
|
|
ITSAppUsesNonExemptEncryption: false,
|
|
NSAppTransportSecurity: {
|
|
NSAllowsArbitraryLoads: true,
|
|
},
|
|
},
|
|
},
|
|
android: {
|
|
adaptiveIcon: {
|
|
foregroundImage: "./assets/images/maskable_logo.png",
|
|
backgroundColor: "#ffffff",
|
|
},
|
|
package: "app.linkwarden",
|
|
},
|
|
web: {
|
|
bundler: "metro",
|
|
output: "static",
|
|
favicon: "./assets/images/favicon.png",
|
|
},
|
|
plugins: [
|
|
"expo-router",
|
|
[
|
|
"expo-splash-screen",
|
|
{
|
|
image: "./assets/images/splash-icon.png",
|
|
imageWidth: 200,
|
|
resizeMode: "contain",
|
|
backgroundColor: "#FFFFFF",
|
|
dark: {
|
|
image: "./assets/images/splash-icon.png",
|
|
resizeMode: "contain",
|
|
backgroundColor: "#171717",
|
|
},
|
|
},
|
|
],
|
|
[
|
|
"@react-native-google-signin/google-signin",
|
|
{
|
|
iosUrlScheme:
|
|
process.env.EXPO_PUBLIC_GOOGLE_IOS_URL_SCHEME ??
|
|
"com.googleusercontent.apps.1097450926817-o94t2bb30jt2me2u17ni2cc2qogd2v34",
|
|
},
|
|
],
|
|
"expo-secure-store",
|
|
[
|
|
"expo-share-intent",
|
|
{
|
|
iosAppGroupIdentifier: "group.app.linkwarden",
|
|
iosActivationRules:
|
|
'SUBQUERY (extensionItems, $extensionItem, SUBQUERY ($extensionItem.attachments, $attachment, (ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.url" OR ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.text" OR ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.plain-text")).@count > 0).@count > 0',
|
|
androidIntentFilters: ["text/*"],
|
|
},
|
|
],
|
|
[
|
|
"expo-build-properties",
|
|
{
|
|
android: {
|
|
enableProguardInReleaseBuilds: true,
|
|
extraProguardRules: "-keep public class com.horcrux.svg.** {*;}",
|
|
allowBackup: false,
|
|
compileSdkVersion: 36,
|
|
targetSdkVersion: 36,
|
|
buildToolsVersion: "36.0.0",
|
|
usesCleartextTraffic: true,
|
|
},
|
|
},
|
|
],
|
|
[
|
|
"react-native-edge-to-edge",
|
|
{
|
|
android: {
|
|
parentTheme: "Default",
|
|
enforceNavigationBarContrast: false,
|
|
},
|
|
},
|
|
],
|
|
"./plugins/with-daynight-transparent-nav",
|
|
"expo-font",
|
|
"expo-web-browser",
|
|
"expo-apple-authentication",
|
|
[
|
|
"@sentry/react-native/expo",
|
|
{
|
|
url: "https://sentry.io/",
|
|
project: "react-native",
|
|
organization: "linkwarden",
|
|
},
|
|
],
|
|
[
|
|
"expo-navigation-bar",
|
|
{
|
|
barStyle: "dark-content",
|
|
},
|
|
],
|
|
],
|
|
experiments: {
|
|
typedRoutes: true,
|
|
},
|
|
androidStatusBar: {
|
|
backgroundColor: "#ffffff",
|
|
barStyle: "dark-content",
|
|
translucent: false,
|
|
},
|
|
extra: {
|
|
router: {
|
|
origin: false,
|
|
},
|
|
eas: {
|
|
projectId: "34f82639-7a25-4ebe-81c8-2db521b612cf",
|
|
},
|
|
},
|
|
owner: "linkwarden",
|
|
};
|
|
|
|
export default config;
|