Skip to content

Commit

Permalink
Merge pull request #132 from eurofurence/refactor/ef28
Browse files Browse the repository at this point in the history
Update main branch with all changes so far
  • Loading branch information
Fenrikur authored Jul 18, 2024
2 parents 269899b + b6a422e commit ce39c64
Show file tree
Hide file tree
Showing 316 changed files with 26,815 additions and 36,058 deletions.
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node-linker=hoisted
546 changes: 0 additions & 546 deletions .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs

This file was deleted.

9 changes: 0 additions & 9 deletions .yarn/plugins/@yarnpkg/plugin-typescript.cjs

This file was deleted.

786 changes: 0 additions & 786 deletions .yarn/releases/yarn-3.2.1.cjs

This file was deleted.

9 changes: 0 additions & 9 deletions .yarnrc.yml

This file was deleted.

117 changes: 117 additions & 0 deletions app.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
module.exports = {
expo: {
runtimeVersion: {
policy: "appVersion",
},
name: "Eurofurence",
slug: "ef-app-react-native",
description: "Your one stop shop to the convention!",
owner: "eurofurence",
version: "3.3.0",
orientation: "default",
icon: "./assets/platform/playstore.png",
userInterfaceStyle: "automatic",
scheme: "eurofurence",
splash: {
image: "./assets/platform/playstore.png",
resizeMode: "contain",
backgroundColor: "#035451",
},
updates: {
fallbackToCacheTimeout: 0,
url: "https://u.expo.dev/a60a3199-98db-4eec-8c66-cda6c424377d",
},
ios: {
supportsTablet: true,
infoPlist: {
UIBackgroundModes: ["fetch", "remote-notification"],
},
},
android: {
package: "org.eurofurence.connavigator",
googleServicesFile: "./assets/platform/google-services.json",
splash: {
resizeMode: "native",
image: "./assets/platform/splash.png",
backgroundColor: "#006459",
},
adaptiveIcon: {
foregroundImage: "./assets/platform/playstore.png",
backgroundColor: "#006459",
},
intentFilters: [
{
action: "VIEW",
autoVerify: true,
data: [
{
scheme: "https",
host: "app.eurofurence.org",
pathPrefix: "/EF27/Web",
},
],
category: ["BROWSABLE", "DEFAULT"],
},
{
action: "VIEW",
autoVerify: true,
data: [
{
scheme: "https",
host: "app.eurofurence.org",
path: "/auth/login",
},
],
category: ["BROWSABLE", "DEFAULT"],
},
],
permissions: ["INTERNET", "VIBRATE", "WRITE_EXTERNAL_STORAGE"],
blockedPermissions: ["com.google.android.gms.permission.AD_ID"],
},
web: {
bundler: "metro",
favicon: "./assets/platform/playstore.png",
},
plugins: [
// Run sentry plugin only if auth token is given, otherwise the build crashes.
Boolean(global.process.env.SENTRY_AUTH_TOKEN) && [
"@sentry/react-native/expo",
{
project: "ef-app_react-native",
organization: "eurofurence",
},
],
// Import assets statically.
[
"expo-asset",
{
assets: ["./assets/static"],
},
],
// Used to display push notifications.
[
"expo-notifications",
{
icon: "./assets/platform/notification.png",
color: "#006459",
},
],
// Used to render audio.
[
"expo-av",
{
microphonePermission: false,
},
],
"expo-localization",
"expo-build-properties",
"@react-native-firebase/app",
"expo-secure-store",
].filter(Boolean),
extra: {
eas: {
projectId: "a60a3199-98db-4eec-8c66-cda6c424377d",
},
},
},
};
104 changes: 0 additions & 104 deletions app.json

This file was deleted.

Binary file removed assets/adaptive-icon.png
Binary file not shown.
Binary file removed assets/favicon.png
Binary file not shown.
Binary file removed assets/icon.png
Binary file not shown.
Binary file removed assets/images/banner-2019.png
Binary file not shown.
Binary file removed assets/images/banner_2022.png
Binary file not shown.
Binary file removed assets/images/banner_2022_no_logo.png
Binary file not shown.
Binary file removed assets/images/dealer_black.png
Binary file not shown.
Binary file removed assets/images/placeholder.png
Binary file not shown.
Binary file removed assets/images/playstore.png
Binary file not shown.
File renamed without changes.
File renamed without changes
Binary file added assets/platform/playstore.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 added assets/platform/splash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
File renamed without changes.
Binary file removed assets/splash.png
Binary file not shown.
Binary file added assets/static/banner_ef27_logo.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 added assets/static/banner_ef27_narrow.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 added assets/static/banner_ef27_wide.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 added assets/static/ych.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions firebase.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"$schema": "./node_modules/@react-native-firebase/app/firebase-schema.json",
"react-native": {
"google_analytics_adid_collection_enabled": false
}
}
12 changes: 5 additions & 7 deletions metro.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
// metro.config.js
const { getDefaultConfig } = require("@expo/metro-config");
const defaultConfig = getDefaultConfig(__dirname);
const { getSentryExpoConfig } = require("@sentry/react-native/metro");

module.exports = (async () => {
defaultConfig.resolver.sourceExts.push("cjs");
return defaultConfig;
})();
const config = getSentryExpoConfig(__dirname);
config.resolver.sourceExts.push("cjs");

module.exports = config;
Loading

0 comments on commit ce39c64

Please sign in to comment.