🔥 Remove unused files
Changes
10 files changed, +32 -124
MODIFY
app.json
+8 -1
@@ -19,7 +19,8 @@
19
19
"monochromeImage": "./assets/images/android-icon-monochrome.png"
20
20
},
21
21
"edgeToEdgeEnabled": true,
22
- "predictiveBackGestureEnabled": false
22
+ "predictiveBackGestureEnabled": false,
23
+ "package": "com.vilip.taskflow"
23
24
},
24
25
"web": {
25
26
"output": "static",
@@ -43,6 +44,12 @@
43
44
"experiments": {
44
45
"typedRoutes": true,
45
46
"reactCompiler": true
47
+ },
48
+ "extra": {
49
+ "router": {},
50
+ "eas": {
51
+ "projectId": "acc99170-9c79-4b7f-84cd-0869433fc8df"
52
+ }
46
53
}
47
54
}
48
55
}
DELETE
assets/images/Logo@2.png
+0 -0
0
0
Binary files differ
DELETE
assets/images/partial-react-logo.png
+0 -0
0
0
Binary files differ
DELETE
assets/images/react-logo.png
+0 -0
0
0
Binary files differ
DELETE
assets/images/react-logo@2x.png
+0 -0
0
0
Binary files differ
DELETE
assets/images/react-logo@3x.png
+0 -0
0
0
Binary files differ
DELETE
components/external-link.tsx
+0 -25
@@ -1,25 +0,0 @@
1
-import { Href, Link } from 'expo-router';
2
-import { openBrowserAsync, WebBrowserPresentationStyle } from 'expo-web-browser';
3
-import { type ComponentProps } from 'react';
4
-
5
-type Props = Omit<ComponentProps<typeof Link>, 'href'> & { href: Href & string };
6
-
7
-export function ExternalLink({ href, ...rest }: Props) {
8
- return (
9
- <Link
10
- target="_blank"
11
- {...rest}
12
- href={href}
13
- onPress={async (event) => {
14
- if (process.env.EXPO_OS !== 'web') {
15
- // Prevent the default behavior of linking to the default browser on native.
16
- event.preventDefault();
17
- // Open the link in an in-app browser.
18
- await openBrowserAsync(href, {
19
- presentationStyle: WebBrowserPresentationStyle.AUTOMATIC,
20
- });
21
- }
22
- }}
23
- />
24
- );
25
-}
DELETE
components/hello-wave.tsx
+0 -19
@@ -1,19 +0,0 @@
1
-import Animated from 'react-native-reanimated';
2
-
3
-export function HelloWave() {
4
- return (
5
- <Animated.Text
6
- style={{
7
- fontSize: 28,
8
- lineHeight: 32,
9
- marginTop: -6,
10
- animationName: {
11
- '50%': { transform: [{ rotate: '25deg' }] },
12
- },
13
- animationIterationCount: 4,
14
- animationDuration: '300ms',
15
- }}>
16
- 👋
17
- </Animated.Text>
18
- );
19
-}
DELETE
components/parallax-scroll-view.tsx
+0 -79
@@ -1,79 +0,0 @@
1
-import type { PropsWithChildren, ReactElement } from 'react';
2
-import { StyleSheet } from 'react-native';
3
-import Animated, {
4
- interpolate,
5
- useAnimatedRef,
6
- useAnimatedStyle,
7
- useScrollOffset,
8
-} from 'react-native-reanimated';
9
-
10
-import { ThemedView } from '@/components/themed-view';
11
-import { useColorScheme } from '@/hooks/use-color-scheme';
12
-import { useThemeColor } from '@/hooks/use-theme-color';
13
-
14
-const HEADER_HEIGHT = 250;
15
-
16
-type Props = PropsWithChildren<{
17
- headerImage: ReactElement;
18
- headerBackgroundColor: { dark: string; light: string };
19
-}>;
20
-
21
-export default function ParallaxScrollView({
22
- children,
23
- headerImage,
24
- headerBackgroundColor,
25
-}: Props) {
26
- const backgroundColor = useThemeColor({}, 'background');
27
- const colorScheme = useColorScheme() ?? 'light';
28
- const scrollRef = useAnimatedRef<Animated.ScrollView>();
29
- const scrollOffset = useScrollOffset(scrollRef);
30
- const headerAnimatedStyle = useAnimatedStyle(() => {
31
- return {
32
- transform: [
33
- {
34
- translateY: interpolate(
35
- scrollOffset.value,
36
- [-HEADER_HEIGHT, 0, HEADER_HEIGHT],
37
- [-HEADER_HEIGHT / 2, 0, HEADER_HEIGHT * 0.75]
38
- ),
39
- },
40
- {
41
- scale: interpolate(scrollOffset.value, [-HEADER_HEIGHT, 0, HEADER_HEIGHT], [2, 1, 1]),
42
- },
43
- ],
44
- };
45
- });
46
-
47
- return (
48
- <Animated.ScrollView
49
- ref={scrollRef}
50
- style={{ backgroundColor, flex: 1 }}
51
- scrollEventThrottle={16}>
52
- <Animated.View
53
- style={[
54
- styles.header,
55
- { backgroundColor: headerBackgroundColor[colorScheme] },
56
- headerAnimatedStyle,
57
- ]}>
58
- {headerImage}
59
- </Animated.View>
60
- <ThemedView style={styles.content}>{children}</ThemedView>
61
- </Animated.ScrollView>
62
- );
63
-}
64
-
65
-const styles = StyleSheet.create({
66
- container: {
67
- flex: 1,
68
- },
69
- header: {
70
- height: HEADER_HEIGHT,
71
- overflow: 'hidden',
72
- },
73
- content: {
74
- flex: 1,
75
- padding: 32,
76
- gap: 16,
77
- overflow: 'hidden',
78
- },
79
-});
ADD
eas.json
+24 -0
@@ -0,0 +1,24 @@
1
+{
2
+ "cli": {
3
+ "version": ">= 16.26.0",
4
+ "appVersionSource": "remote"
5
+ },
6
+ "build": {
7
+ "development": {
8
+ "developmentClient": true,
9
+ "distribution": "internal"
10
+ },
11
+ "preview": {
12
+ "distribution": "internal",
13
+ "android": {
14
+ "buildType": "apk"
15
+ }
16
+ },
17
+ "production": {
18
+ "autoIncrement": true
19
+ }
20
+ },
21
+ "submit": {
22
+ "production": {}
23
+ }
24
+}