├── .eslintrc.js ├── .gitignore ├── .prettierrc.js ├── .watchmanconfig ├── App.tsx ├── Gemfile ├── README.md ├── __tests__ └── App.test.tsx ├── _bundle └── config ├── android ├── app │ ├── build.gradle │ ├── debug.keystore │ ├── proguard-rules.pro │ └── src │ │ ├── debug │ │ ├── AndroidManifest.xml │ │ └── java │ │ │ └── com │ │ │ └── expensetracker │ │ │ └── ReactNativeFlipper.java │ │ ├── main │ │ ├── AndroidManifest.xml │ │ ├── assets │ │ │ └── fonts │ │ │ │ ├── Roboto-Black.ttf │ │ │ │ ├── Roboto-BlackItalic.ttf │ │ │ │ ├── Roboto-Bold.ttf │ │ │ │ ├── Roboto-BoldItalic.ttf │ │ │ │ ├── Roboto-Italic.ttf │ │ │ │ ├── Roboto-Light.ttf │ │ │ │ ├── Roboto-LightItalic.ttf │ │ │ │ ├── Roboto-Medium.ttf │ │ │ │ ├── Roboto-MediumItalic.ttf │ │ │ │ ├── Roboto-Regular.ttf │ │ │ │ ├── Roboto-Thin.ttf │ │ │ │ ├── Roboto-ThinItalic.ttf │ │ │ │ ├── RobotoCondensed-Bold.ttf │ │ │ │ ├── RobotoCondensed-BoldItalic.ttf │ │ │ │ ├── RobotoCondensed-Italic.ttf │ │ │ │ ├── RobotoCondensed-Light.ttf │ │ │ │ ├── RobotoCondensed-LightItalic.ttf │ │ │ │ └── RobotoCondensed-Regular.ttf │ │ ├── java │ │ │ └── com │ │ │ │ └── expensetracker │ │ │ │ ├── MainActivity.java │ │ │ │ └── MainApplication.java │ │ └── res │ │ │ ├── drawable │ │ │ └── rn_edit_text_material.xml │ │ │ ├── mipmap-hdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-mdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xhdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xxhdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xxxhdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ │ └── values │ │ │ ├── strings.xml │ │ │ └── styles.xml │ │ └── release │ │ └── java │ │ └── com │ │ └── expensetracker │ │ └── ReactNativeFlipper.java ├── build.gradle ├── gradle.properties ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── link-assets-manifest.json └── settings.gradle ├── app.json ├── assets ├── fonts │ ├── Roboto-Black.ttf │ ├── Roboto-BlackItalic.ttf │ ├── Roboto-Bold.ttf │ ├── Roboto-BoldItalic.ttf │ ├── Roboto-Italic.ttf │ ├── Roboto-Light.ttf │ ├── Roboto-LightItalic.ttf │ ├── Roboto-Medium.ttf │ ├── Roboto-MediumItalic.ttf │ ├── Roboto-Regular.ttf │ ├── Roboto-Thin.ttf │ ├── Roboto-ThinItalic.ttf │ ├── RobotoCondensed-Bold.ttf │ ├── RobotoCondensed-BoldItalic.ttf │ ├── RobotoCondensed-Italic.ttf │ ├── RobotoCondensed-Light.ttf │ ├── RobotoCondensed-LightItalic.ttf │ └── RobotoCondensed-Regular.ttf └── icons │ ├── baby_car_icon.png │ ├── back_arrow_icon.png │ ├── calendar_icon.png │ ├── chart_icon.png │ ├── cloth_icon.png │ ├── down_arrow.png │ ├── education_icon.png │ ├── food_icon.png │ ├── healthcare_icon.png │ ├── menu_icon.png │ ├── more_icon.png │ ├── pin.png │ ├── sports_icon.png │ └── up_arrow.png ├── babel.config.js ├── constants ├── icons.js ├── images.js ├── index.js └── theme.js ├── index.js ├── ios ├── .xcode.env ├── ExpenseTracker.xcodeproj │ ├── project.pbxproj │ └── xcshareddata │ │ └── xcschemes │ │ └── ExpenseTracker.xcscheme ├── ExpenseTracker.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ │ └── IDEWorkspaceChecks.plist ├── ExpenseTracker │ ├── AppDelegate.h │ ├── AppDelegate.mm │ ├── Images.xcassets │ │ ├── AppIcon.appiconset │ │ │ └── Contents.json │ │ └── Contents.json │ ├── Info.plist │ ├── LaunchScreen.storyboard │ └── main.m ├── ExpenseTrackerTests │ ├── ExpenseTrackerTests.m │ └── Info.plist ├── Podfile ├── Podfile.lock ├── _xcode.env └── link-assets-manifest.json ├── jest.config.js ├── metro.config.js ├── package.json ├── react-native.config.js ├── screens ├── Home.js └── index.js ├── tsconfig.json └── yarn.lock /.eslintrc.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | root: true, 3 | extends: '@react-native', 4 | }; 5 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # OSX 2 | # 3 | .DS_Store 4 | 5 | # Xcode 6 | # 7 | build/ 8 | *.pbxuser 9 | !default.pbxuser 10 | *.mode1v3 11 | !default.mode1v3 12 | *.mode2v3 13 | !default.mode2v3 14 | *.perspectivev3 15 | !default.perspectivev3 16 | xcuserdata 17 | *.xccheckout 18 | *.moved-aside 19 | DerivedData 20 | *.hmap 21 | *.ipa 22 | *.xcuserstate 23 | ios/.xcode.env.local 24 | 25 | # Android/IntelliJ 26 | # 27 | build/ 28 | .idea 29 | .gradle 30 | local.properties 31 | *.iml 32 | *.hprof 33 | .cxx/ 34 | *.keystore 35 | !debug.keystore 36 | 37 | # node.js 38 | # 39 | node_modules/ 40 | npm-debug.log 41 | yarn-error.log 42 | 43 | # fastlane 44 | # 45 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the 46 | # screenshots whenever they are needed. 47 | # For more information about the recommended setup visit: 48 | # https://docs.fastlane.tools/best-practices/source-control/ 49 | 50 | **/fastlane/report.xml 51 | **/fastlane/Preview.html 52 | **/fastlane/screenshots 53 | **/fastlane/test_output 54 | 55 | # Bundle artifact 56 | *.jsbundle 57 | 58 | # Ruby / CocoaPods 59 | /ios/Pods/ 60 | /vendor/bundle/ 61 | 62 | # Temporary files created by Metro to check the health of the file watcher 63 | .metro-health-check* 64 | 65 | # testing 66 | /coverage 67 | -------------------------------------------------------------------------------- /.prettierrc.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | arrowParens: 'avoid', 3 | bracketSameLine: true, 4 | bracketSpacing: false, 5 | singleQuote: true, 6 | trailingComma: 'all', 7 | }; 8 | -------------------------------------------------------------------------------- /.watchmanconfig: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /App.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { createStackNavigator } from "@react-navigation/stack"; 3 | import { NavigationContainer, DefaultTheme } from '@react-navigation/native'; 4 | 5 | import { Home } from "./screens/"; 6 | 7 | const theme = { 8 | ...DefaultTheme, 9 | colors: { 10 | ...DefaultTheme.colors, 11 | border: "transparent", 12 | }, 13 | }; 14 | 15 | const Stack = createStackNavigator(); 16 | 17 | const App = () => { 18 | return ( 19 | 20 | 26 | 27 | 28 | 29 | ); 30 | }; 31 | 32 | export default App; -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- 1 | source 'https://rubygems.org' 2 | 3 | # You may use http://rbenv.org/ or https://rvm.io/ to install and use this version 4 | ruby ">= 2.6.10" 5 | 6 | gem 'cocoapods', '~> 1.12' 7 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # LCRN07 - Expense Tracker App 2 | 3 | ## [Watch it on YouTube](https://youtu.be/uBcpWOQqbAQ) 4 | 5 | In this episode of "Let’s Code React Native" series, we are going to build a clean looking Expense Tracker App based on the design created by Anastasiia on Dribbble. 6 | 7 | Be sure to subscribe to our YouTube channel for more videos like this! 8 | 9 | ## Table of Contents 10 | 11 | | Code | Project | Preview | Inspiration | No. of Screens | 12 | | ------ | ------ | ------ | ------ | ------ | 13 | | LCRN07 | [Expense Tracker App](https://youtu.be/uBcpWOQqbAQ) | | [View](https://dribbble.com/shots/6037420-Expense-Tracker-App) | 1 | 14 | 15 | ## Contributors 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /__tests__/App.test.tsx: -------------------------------------------------------------------------------- 1 | /** 2 | * @format 3 | */ 4 | 5 | import 'react-native'; 6 | import React from 'react'; 7 | import App from '../App'; 8 | 9 | // Note: import explicitly to use the types shiped with jest. 10 | import {it} from '@jest/globals'; 11 | 12 | // Note: test renderer must be required after react-native. 13 | import renderer from 'react-test-renderer'; 14 | 15 | it('renders correctly', () => { 16 | renderer.create(); 17 | }); 18 | -------------------------------------------------------------------------------- /_bundle/config: -------------------------------------------------------------------------------- 1 | BUNDLE_PATH: "vendor/bundle" 2 | BUNDLE_FORCE_RUBY_PLATFORM: 1 3 | -------------------------------------------------------------------------------- /android/app/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: "com.android.application" 2 | apply plugin: "com.facebook.react" 3 | 4 | /** 5 | * This is the configuration block to customize your React Native Android app. 6 | * By default you don't need to apply any configuration, just uncomment the lines you need. 7 | */ 8 | react { 9 | /* Folders */ 10 | // The root of your project, i.e. where "package.json" lives. Default is '..' 11 | // root = file("../") 12 | // The folder where the react-native NPM package is. Default is ../node_modules/react-native 13 | // reactNativeDir = file("../node_modules/react-native") 14 | // The folder where the react-native Codegen package is. Default is ../node_modules/@react-native/codegen 15 | // codegenDir = file("../node_modules/@react-native/codegen") 16 | // The cli.js file which is the React Native CLI entrypoint. Default is ../node_modules/react-native/cli.js 17 | // cliFile = file("../node_modules/react-native/cli.js") 18 | 19 | /* Variants */ 20 | // The list of variants to that are debuggable. For those we're going to 21 | // skip the bundling of the JS bundle and the assets. By default is just 'debug'. 22 | // If you add flavors like lite, prod, etc. you'll have to list your debuggableVariants. 23 | // debuggableVariants = ["liteDebug", "prodDebug"] 24 | 25 | /* Bundling */ 26 | // A list containing the node command and its flags. Default is just 'node'. 27 | // nodeExecutableAndArgs = ["node"] 28 | // 29 | // The command to run when bundling. By default is 'bundle' 30 | // bundleCommand = "ram-bundle" 31 | // 32 | // The path to the CLI configuration file. Default is empty. 33 | // bundleConfig = file(../rn-cli.config.js) 34 | // 35 | // The name of the generated asset file containing your JS bundle 36 | // bundleAssetName = "MyApplication.android.bundle" 37 | // 38 | // The entry file for bundle generation. Default is 'index.android.js' or 'index.js' 39 | // entryFile = file("../js/MyApplication.android.js") 40 | // 41 | // A list of extra flags to pass to the 'bundle' commands. 42 | // See https://github.com/react-native-community/cli/blob/main/docs/commands.md#bundle 43 | // extraPackagerArgs = [] 44 | 45 | /* Hermes Commands */ 46 | // The hermes compiler command to run. By default it is 'hermesc' 47 | // hermesCommand = "$rootDir/my-custom-hermesc/bin/hermesc" 48 | // 49 | // The list of flags to pass to the Hermes compiler. By default is "-O", "-output-source-map" 50 | // hermesFlags = ["-O", "-output-source-map"] 51 | } 52 | 53 | /** 54 | * Set this to true to Run Proguard on Release builds to minify the Java bytecode. 55 | */ 56 | def enableProguardInReleaseBuilds = false 57 | 58 | /** 59 | * The preferred build flavor of JavaScriptCore (JSC) 60 | * 61 | * For example, to use the international variant, you can use: 62 | * `def jscFlavor = 'org.webkit:android-jsc-intl:+'` 63 | * 64 | * The international variant includes ICU i18n library and necessary data 65 | * allowing to use e.g. `Date.toLocaleString` and `String.localeCompare` that 66 | * give correct results when using with locales other than en-US. Note that 67 | * this variant is about 6MiB larger per architecture than default. 68 | */ 69 | def jscFlavor = 'org.webkit:android-jsc:+' 70 | 71 | android { 72 | ndkVersion rootProject.ext.ndkVersion 73 | 74 | compileSdkVersion rootProject.ext.compileSdkVersion 75 | 76 | namespace "com.expensetracker" 77 | defaultConfig { 78 | applicationId "com.expensetracker" 79 | minSdkVersion rootProject.ext.minSdkVersion 80 | targetSdkVersion rootProject.ext.targetSdkVersion 81 | versionCode 1 82 | versionName "1.0" 83 | } 84 | signingConfigs { 85 | debug { 86 | storeFile file('debug.keystore') 87 | storePassword 'android' 88 | keyAlias 'androiddebugkey' 89 | keyPassword 'android' 90 | } 91 | } 92 | buildTypes { 93 | debug { 94 | signingConfig signingConfigs.debug 95 | } 96 | release { 97 | // Caution! In production, you need to generate your own keystore file. 98 | // see https://reactnative.dev/docs/signed-apk-android. 99 | signingConfig signingConfigs.debug 100 | minifyEnabled enableProguardInReleaseBuilds 101 | proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro" 102 | } 103 | } 104 | } 105 | 106 | dependencies { 107 | // The version of react-native is set by the React Native Gradle Plugin 108 | implementation("com.facebook.react:react-android") 109 | 110 | debugImplementation("com.facebook.flipper:flipper:${FLIPPER_VERSION}") 111 | debugImplementation("com.facebook.flipper:flipper-network-plugin:${FLIPPER_VERSION}") { 112 | exclude group:'com.squareup.okhttp3', module:'okhttp' 113 | } 114 | 115 | debugImplementation("com.facebook.flipper:flipper-fresco-plugin:${FLIPPER_VERSION}") 116 | if (hermesEnabled.toBoolean()) { 117 | implementation("com.facebook.react:hermes-android") 118 | } else { 119 | implementation jscFlavor 120 | } 121 | } 122 | 123 | apply from: file("../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesAppBuildGradle(project) 124 | -------------------------------------------------------------------------------- /android/app/debug.keystore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/byprogrammers/LCRN07-expense-tracker-app/679eea4d31f0bbb6374d700758df14ef693db02c/android/app/debug.keystore -------------------------------------------------------------------------------- /android/app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # By default, the flags in this file are appended to flags specified 3 | # in /usr/local/Cellar/android-sdk/24.3.3/tools/proguard/proguard-android.txt 4 | # You can edit the include path and order by changing the proguardFiles 5 | # directive in build.gradle. 6 | # 7 | # For more details, see 8 | # http://developer.android.com/guide/developing/tools/proguard.html 9 | 10 | # Add any project specific keep options here: 11 | -------------------------------------------------------------------------------- /android/app/src/debug/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /android/app/src/debug/java/com/expensetracker/ReactNativeFlipper.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) Meta Platforms, Inc. and affiliates. 3 | * 4 | *

This source code is licensed under the MIT license found in the LICENSE file in the root 5 | * directory of this source tree. 6 | */ 7 | package com.expensetracker; 8 | 9 | import android.content.Context; 10 | import com.facebook.flipper.android.AndroidFlipperClient; 11 | import com.facebook.flipper.android.utils.FlipperUtils; 12 | import com.facebook.flipper.core.FlipperClient; 13 | import com.facebook.flipper.plugins.crashreporter.CrashReporterPlugin; 14 | import com.facebook.flipper.plugins.databases.DatabasesFlipperPlugin; 15 | import com.facebook.flipper.plugins.fresco.FrescoFlipperPlugin; 16 | import com.facebook.flipper.plugins.inspector.DescriptorMapping; 17 | import com.facebook.flipper.plugins.inspector.InspectorFlipperPlugin; 18 | import com.facebook.flipper.plugins.network.FlipperOkhttpInterceptor; 19 | import com.facebook.flipper.plugins.network.NetworkFlipperPlugin; 20 | import com.facebook.flipper.plugins.sharedpreferences.SharedPreferencesFlipperPlugin; 21 | import com.facebook.react.ReactInstanceEventListener; 22 | import com.facebook.react.ReactInstanceManager; 23 | import com.facebook.react.bridge.ReactContext; 24 | import com.facebook.react.modules.network.NetworkingModule; 25 | import okhttp3.OkHttpClient; 26 | 27 | /** 28 | * Class responsible of loading Flipper inside your React Native application. This is the debug 29 | * flavor of it. Here you can add your own plugins and customize the Flipper setup. 30 | */ 31 | public class ReactNativeFlipper { 32 | public static void initializeFlipper(Context context, ReactInstanceManager reactInstanceManager) { 33 | if (FlipperUtils.shouldEnableFlipper(context)) { 34 | final FlipperClient client = AndroidFlipperClient.getInstance(context); 35 | 36 | client.addPlugin(new InspectorFlipperPlugin(context, DescriptorMapping.withDefaults())); 37 | client.addPlugin(new DatabasesFlipperPlugin(context)); 38 | client.addPlugin(new SharedPreferencesFlipperPlugin(context)); 39 | client.addPlugin(CrashReporterPlugin.getInstance()); 40 | 41 | NetworkFlipperPlugin networkFlipperPlugin = new NetworkFlipperPlugin(); 42 | NetworkingModule.setCustomClientBuilder( 43 | new NetworkingModule.CustomClientBuilder() { 44 | @Override 45 | public void apply(OkHttpClient.Builder builder) { 46 | builder.addNetworkInterceptor(new FlipperOkhttpInterceptor(networkFlipperPlugin)); 47 | } 48 | }); 49 | client.addPlugin(networkFlipperPlugin); 50 | client.start(); 51 | 52 | // Fresco Plugin needs to ensure that ImagePipelineFactory is initialized 53 | // Hence we run if after all native modules have been initialized 54 | ReactContext reactContext = reactInstanceManager.getCurrentReactContext(); 55 | if (reactContext == null) { 56 | reactInstanceManager.addReactInstanceEventListener( 57 | new ReactInstanceEventListener() { 58 | @Override 59 | public void onReactContextInitialized(ReactContext reactContext) { 60 | reactInstanceManager.removeReactInstanceEventListener(this); 61 | reactContext.runOnNativeModulesQueueThread( 62 | new Runnable() { 63 | @Override 64 | public void run() { 65 | client.addPlugin(new FrescoFlipperPlugin()); 66 | } 67 | }); 68 | } 69 | }); 70 | } else { 71 | client.addPlugin(new FrescoFlipperPlugin()); 72 | } 73 | } 74 | } 75 | } 76 | -------------------------------------------------------------------------------- /android/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 12 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Roboto-Black.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/byprogrammers/LCRN07-expense-tracker-app/679eea4d31f0bbb6374d700758df14ef693db02c/android/app/src/main/assets/fonts/Roboto-Black.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Roboto-BlackItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/byprogrammers/LCRN07-expense-tracker-app/679eea4d31f0bbb6374d700758df14ef693db02c/android/app/src/main/assets/fonts/Roboto-BlackItalic.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Roboto-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/byprogrammers/LCRN07-expense-tracker-app/679eea4d31f0bbb6374d700758df14ef693db02c/android/app/src/main/assets/fonts/Roboto-Bold.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Roboto-BoldItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/byprogrammers/LCRN07-expense-tracker-app/679eea4d31f0bbb6374d700758df14ef693db02c/android/app/src/main/assets/fonts/Roboto-BoldItalic.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Roboto-Italic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/byprogrammers/LCRN07-expense-tracker-app/679eea4d31f0bbb6374d700758df14ef693db02c/android/app/src/main/assets/fonts/Roboto-Italic.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Roboto-Light.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/byprogrammers/LCRN07-expense-tracker-app/679eea4d31f0bbb6374d700758df14ef693db02c/android/app/src/main/assets/fonts/Roboto-Light.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Roboto-LightItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/byprogrammers/LCRN07-expense-tracker-app/679eea4d31f0bbb6374d700758df14ef693db02c/android/app/src/main/assets/fonts/Roboto-LightItalic.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Roboto-Medium.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/byprogrammers/LCRN07-expense-tracker-app/679eea4d31f0bbb6374d700758df14ef693db02c/android/app/src/main/assets/fonts/Roboto-Medium.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Roboto-MediumItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/byprogrammers/LCRN07-expense-tracker-app/679eea4d31f0bbb6374d700758df14ef693db02c/android/app/src/main/assets/fonts/Roboto-MediumItalic.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Roboto-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/byprogrammers/LCRN07-expense-tracker-app/679eea4d31f0bbb6374d700758df14ef693db02c/android/app/src/main/assets/fonts/Roboto-Regular.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Roboto-Thin.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/byprogrammers/LCRN07-expense-tracker-app/679eea4d31f0bbb6374d700758df14ef693db02c/android/app/src/main/assets/fonts/Roboto-Thin.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Roboto-ThinItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/byprogrammers/LCRN07-expense-tracker-app/679eea4d31f0bbb6374d700758df14ef693db02c/android/app/src/main/assets/fonts/Roboto-ThinItalic.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/RobotoCondensed-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/byprogrammers/LCRN07-expense-tracker-app/679eea4d31f0bbb6374d700758df14ef693db02c/android/app/src/main/assets/fonts/RobotoCondensed-Bold.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/RobotoCondensed-BoldItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/byprogrammers/LCRN07-expense-tracker-app/679eea4d31f0bbb6374d700758df14ef693db02c/android/app/src/main/assets/fonts/RobotoCondensed-BoldItalic.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/RobotoCondensed-Italic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/byprogrammers/LCRN07-expense-tracker-app/679eea4d31f0bbb6374d700758df14ef693db02c/android/app/src/main/assets/fonts/RobotoCondensed-Italic.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/RobotoCondensed-Light.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/byprogrammers/LCRN07-expense-tracker-app/679eea4d31f0bbb6374d700758df14ef693db02c/android/app/src/main/assets/fonts/RobotoCondensed-Light.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/RobotoCondensed-LightItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/byprogrammers/LCRN07-expense-tracker-app/679eea4d31f0bbb6374d700758df14ef693db02c/android/app/src/main/assets/fonts/RobotoCondensed-LightItalic.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/RobotoCondensed-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/byprogrammers/LCRN07-expense-tracker-app/679eea4d31f0bbb6374d700758df14ef693db02c/android/app/src/main/assets/fonts/RobotoCondensed-Regular.ttf -------------------------------------------------------------------------------- /android/app/src/main/java/com/expensetracker/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.expensetracker; 2 | 3 | import com.facebook.react.ReactActivity; 4 | import com.facebook.react.ReactActivityDelegate; 5 | import com.facebook.react.defaults.DefaultNewArchitectureEntryPoint; 6 | import com.facebook.react.defaults.DefaultReactActivityDelegate; 7 | 8 | public class MainActivity extends ReactActivity { 9 | 10 | /** 11 | * Returns the name of the main component registered from JavaScript. This is used to schedule 12 | * rendering of the component. 13 | */ 14 | @Override 15 | protected String getMainComponentName() { 16 | return "ExpenseTracker"; 17 | } 18 | 19 | /** 20 | * Returns the instance of the {@link ReactActivityDelegate}. Here we use a util class {@link 21 | * DefaultReactActivityDelegate} which allows you to easily enable Fabric and Concurrent React 22 | * (aka React 18) with two boolean flags. 23 | */ 24 | @Override 25 | protected ReactActivityDelegate createReactActivityDelegate() { 26 | return new DefaultReactActivityDelegate( 27 | this, 28 | getMainComponentName(), 29 | // If you opted-in for the New Architecture, we enable the Fabric Renderer. 30 | DefaultNewArchitectureEntryPoint.getFabricEnabled()); 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /android/app/src/main/java/com/expensetracker/MainApplication.java: -------------------------------------------------------------------------------- 1 | package com.expensetracker; 2 | 3 | import android.app.Application; 4 | import com.facebook.react.PackageList; 5 | import com.facebook.react.ReactApplication; 6 | import com.facebook.react.ReactNativeHost; 7 | import com.facebook.react.ReactPackage; 8 | import com.facebook.react.defaults.DefaultNewArchitectureEntryPoint; 9 | import com.facebook.react.defaults.DefaultReactNativeHost; 10 | import com.facebook.soloader.SoLoader; 11 | import java.util.List; 12 | 13 | public class MainApplication extends Application implements ReactApplication { 14 | 15 | private final ReactNativeHost mReactNativeHost = 16 | new DefaultReactNativeHost(this) { 17 | @Override 18 | public boolean getUseDeveloperSupport() { 19 | return BuildConfig.DEBUG; 20 | } 21 | 22 | @Override 23 | protected List getPackages() { 24 | @SuppressWarnings("UnnecessaryLocalVariable") 25 | List packages = new PackageList(this).getPackages(); 26 | // Packages that cannot be autolinked yet can be added manually here, for example: 27 | // packages.add(new MyReactNativePackage()); 28 | return packages; 29 | } 30 | 31 | @Override 32 | protected String getJSMainModuleName() { 33 | return "index"; 34 | } 35 | 36 | @Override 37 | protected boolean isNewArchEnabled() { 38 | return BuildConfig.IS_NEW_ARCHITECTURE_ENABLED; 39 | } 40 | 41 | @Override 42 | protected Boolean isHermesEnabled() { 43 | return BuildConfig.IS_HERMES_ENABLED; 44 | } 45 | }; 46 | 47 | @Override 48 | public ReactNativeHost getReactNativeHost() { 49 | return mReactNativeHost; 50 | } 51 | 52 | @Override 53 | public void onCreate() { 54 | super.onCreate(); 55 | SoLoader.init(this, /* native exopackage */ false); 56 | if (BuildConfig.IS_NEW_ARCHITECTURE_ENABLED) { 57 | // If you opted-in for the New Architecture, we load the native entry point for this app. 58 | DefaultNewArchitectureEntryPoint.load(); 59 | } 60 | ReactNativeFlipper.initializeFlipper(this, getReactNativeHost().getReactInstanceManager()); 61 | } 62 | } 63 | -------------------------------------------------------------------------------- /android/app/src/main/res/drawable/rn_edit_text_material.xml: -------------------------------------------------------------------------------- 1 | 2 | 16 | 21 | 22 | 23 | 32 | 33 | 34 | 35 | 36 | 37 | -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/byprogrammers/LCRN07-expense-tracker-app/679eea4d31f0bbb6374d700758df14ef693db02c/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/byprogrammers/LCRN07-expense-tracker-app/679eea4d31f0bbb6374d700758df14ef693db02c/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/byprogrammers/LCRN07-expense-tracker-app/679eea4d31f0bbb6374d700758df14ef693db02c/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/byprogrammers/LCRN07-expense-tracker-app/679eea4d31f0bbb6374d700758df14ef693db02c/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/byprogrammers/LCRN07-expense-tracker-app/679eea4d31f0bbb6374d700758df14ef693db02c/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/byprogrammers/LCRN07-expense-tracker-app/679eea4d31f0bbb6374d700758df14ef693db02c/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/byprogrammers/LCRN07-expense-tracker-app/679eea4d31f0bbb6374d700758df14ef693db02c/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/byprogrammers/LCRN07-expense-tracker-app/679eea4d31f0bbb6374d700758df14ef693db02c/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/byprogrammers/LCRN07-expense-tracker-app/679eea4d31f0bbb6374d700758df14ef693db02c/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/byprogrammers/LCRN07-expense-tracker-app/679eea4d31f0bbb6374d700758df14ef693db02c/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /android/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | ExpenseTracker 3 | 4 | -------------------------------------------------------------------------------- /android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /android/app/src/release/java/com/expensetracker/ReactNativeFlipper.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) Meta Platforms, Inc. and affiliates. 3 | * 4 | *

This source code is licensed under the MIT license found in the LICENSE file in the root 5 | * directory of this source tree. 6 | */ 7 | package com.expensetracker; 8 | 9 | import android.content.Context; 10 | import com.facebook.react.ReactInstanceManager; 11 | 12 | /** 13 | * Class responsible of loading Flipper inside your React Native application. This is the release 14 | * flavor of it so it's empty as we don't want to load Flipper. 15 | */ 16 | public class ReactNativeFlipper { 17 | public static void initializeFlipper(Context context, ReactInstanceManager reactInstanceManager) { 18 | // Do nothing as we don't want to initialize Flipper on Release. 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /android/build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | 3 | buildscript { 4 | ext { 5 | buildToolsVersion = "33.0.0" 6 | minSdkVersion = 21 7 | compileSdkVersion = 33 8 | targetSdkVersion = 33 9 | 10 | // We use NDK 23 which has both M1 support and is the side-by-side NDK version from AGP. 11 | ndkVersion = "23.1.7779620" 12 | } 13 | repositories { 14 | google() 15 | mavenCentral() 16 | } 17 | dependencies { 18 | classpath("com.android.tools.build:gradle") 19 | classpath("com.facebook.react:react-native-gradle-plugin") 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /android/gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | 3 | # IDE (e.g. Android Studio) users: 4 | # Gradle settings configured through the IDE *will override* 5 | # any settings specified in this file. 6 | 7 | # For more details on how to configure your build environment visit 8 | # http://www.gradle.org/docs/current/userguide/build_environment.html 9 | 10 | # Specifies the JVM arguments used for the daemon process. 11 | # The setting is particularly useful for tweaking memory settings. 12 | # Default value: -Xmx512m -XX:MaxMetaspaceSize=256m 13 | org.gradle.jvmargs=-Xmx2048m -XX:MaxMetaspaceSize=512m 14 | 15 | # When configured, Gradle will run in incubating parallel mode. 16 | # This option should only be used with decoupled projects. More details, visit 17 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 18 | # org.gradle.parallel=true 19 | 20 | # AndroidX package structure to make it clearer which packages are bundled with the 21 | # Android operating system, and which are packaged with your app's APK 22 | # https://developer.android.com/topic/libraries/support-library/androidx-rn 23 | android.useAndroidX=true 24 | # Automatically convert third-party libraries to use AndroidX 25 | android.enableJetifier=true 26 | 27 | # Version of flipper SDK to use with React Native 28 | FLIPPER_VERSION=0.182.0 29 | 30 | # Use this property to specify which architecture you want to build. 31 | # You can also override it from the CLI using 32 | # ./gradlew -PreactNativeArchitectures=x86_64 33 | reactNativeArchitectures=armeabi-v7a,arm64-v8a,x86,x86_64 34 | 35 | # Use this property to enable support to the new architecture. 36 | # This will allow you to use TurboModules and the Fabric render in 37 | # your application. You should enable this flag either if you want 38 | # to write custom TurboModules/Fabric components OR use libraries that 39 | # are providing them. 40 | newArchEnabled=false 41 | 42 | # Use this property to enable or disable the Hermes JS engine. 43 | # If set to false, you will be using JSC instead. 44 | hermesEnabled=true 45 | -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/byprogrammers/LCRN07-expense-tracker-app/679eea4d31f0bbb6374d700758df14ef693db02c/android/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-8.0.1-all.zip 4 | networkTimeout=10000 5 | zipStoreBase=GRADLE_USER_HOME 6 | zipStorePath=wrapper/dists 7 | -------------------------------------------------------------------------------- /android/gradlew: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # 4 | # Copyright © 2015-2021 the original authors. 5 | # 6 | # Licensed under the Apache License, Version 2.0 (the "License"); 7 | # you may not use this file except in compliance with the License. 8 | # You may obtain a copy of the License at 9 | # 10 | # https://www.apache.org/licenses/LICENSE-2.0 11 | # 12 | # Unless required by applicable law or agreed to in writing, software 13 | # distributed under the License is distributed on an "AS IS" BASIS, 14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | # See the License for the specific language governing permissions and 16 | # limitations under the License. 17 | # 18 | 19 | ############################################################################## 20 | # 21 | # Gradle start up script for POSIX generated by Gradle. 22 | # 23 | # Important for running: 24 | # 25 | # (1) You need a POSIX-compliant shell to run this script. If your /bin/sh is 26 | # noncompliant, but you have some other compliant shell such as ksh or 27 | # bash, then to run this script, type that shell name before the whole 28 | # command line, like: 29 | # 30 | # ksh Gradle 31 | # 32 | # Busybox and similar reduced shells will NOT work, because this script 33 | # requires all of these POSIX shell features: 34 | # * functions; 35 | # * expansions «$var», «${var}», «${var:-default}», «${var+SET}», 36 | # «${var#prefix}», «${var%suffix}», and «$( cmd )»; 37 | # * compound commands having a testable exit status, especially «case»; 38 | # * various built-in commands including «command», «set», and «ulimit». 39 | # 40 | # Important for patching: 41 | # 42 | # (2) This script targets any POSIX shell, so it avoids extensions provided 43 | # by Bash, Ksh, etc; in particular arrays are avoided. 44 | # 45 | # The "traditional" practice of packing multiple parameters into a 46 | # space-separated string is a well documented source of bugs and security 47 | # problems, so this is (mostly) avoided, by progressively accumulating 48 | # options in "$@", and eventually passing that to Java. 49 | # 50 | # Where the inherited environment variables (DEFAULT_JVM_OPTS, JAVA_OPTS, 51 | # and GRADLE_OPTS) rely on word-splitting, this is performed explicitly; 52 | # see the in-line comments for details. 53 | # 54 | # There are tweaks for specific operating systems such as AIX, CygWin, 55 | # Darwin, MinGW, and NonStop. 56 | # 57 | # (3) This script is generated from the Groovy template 58 | # https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt 59 | # within the Gradle project. 60 | # 61 | # You can find Gradle at https://github.com/gradle/gradle/. 62 | # 63 | ############################################################################## 64 | 65 | # Attempt to set APP_HOME 66 | 67 | # Resolve links: $0 may be a link 68 | app_path=$0 69 | 70 | # Need this for daisy-chained symlinks. 71 | while 72 | APP_HOME=${app_path%"${app_path##*/}"} # leaves a trailing /; empty if no leading path 73 | [ -h "$app_path" ] 74 | do 75 | ls=$( ls -ld "$app_path" ) 76 | link=${ls#*' -> '} 77 | case $link in #( 78 | /*) app_path=$link ;; #( 79 | *) app_path=$APP_HOME$link ;; 80 | esac 81 | done 82 | 83 | # This is normally unused 84 | # shellcheck disable=SC2034 85 | APP_BASE_NAME=${0##*/} 86 | APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit 87 | 88 | # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 89 | DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"' 90 | 91 | # Use the maximum available, or set MAX_FD != -1 to use that value. 92 | MAX_FD=maximum 93 | 94 | warn () { 95 | echo "$*" 96 | } >&2 97 | 98 | die () { 99 | echo 100 | echo "$*" 101 | echo 102 | exit 1 103 | } >&2 104 | 105 | # OS specific support (must be 'true' or 'false'). 106 | cygwin=false 107 | msys=false 108 | darwin=false 109 | nonstop=false 110 | case "$( uname )" in #( 111 | CYGWIN* ) cygwin=true ;; #( 112 | Darwin* ) darwin=true ;; #( 113 | MSYS* | MINGW* ) msys=true ;; #( 114 | NONSTOP* ) nonstop=true ;; 115 | esac 116 | 117 | CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar 118 | 119 | 120 | # Determine the Java command to use to start the JVM. 121 | if [ -n "$JAVA_HOME" ] ; then 122 | if [ -x "$JAVA_HOME/jre/sh/java" ] ; then 123 | # IBM's JDK on AIX uses strange locations for the executables 124 | JAVACMD=$JAVA_HOME/jre/sh/java 125 | else 126 | JAVACMD=$JAVA_HOME/bin/java 127 | fi 128 | if [ ! -x "$JAVACMD" ] ; then 129 | die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME 130 | 131 | Please set the JAVA_HOME variable in your environment to match the 132 | location of your Java installation." 133 | fi 134 | else 135 | JAVACMD=java 136 | which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 137 | 138 | Please set the JAVA_HOME variable in your environment to match the 139 | location of your Java installation." 140 | fi 141 | 142 | # Increase the maximum file descriptors if we can. 143 | if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then 144 | case $MAX_FD in #( 145 | max*) 146 | # In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked. 147 | # shellcheck disable=SC3045 148 | MAX_FD=$( ulimit -H -n ) || 149 | warn "Could not query maximum file descriptor limit" 150 | esac 151 | case $MAX_FD in #( 152 | '' | soft) :;; #( 153 | *) 154 | # In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked. 155 | # shellcheck disable=SC3045 156 | ulimit -n "$MAX_FD" || 157 | warn "Could not set maximum file descriptor limit to $MAX_FD" 158 | esac 159 | fi 160 | 161 | # Collect all arguments for the java command, stacking in reverse order: 162 | # * args from the command line 163 | # * the main class name 164 | # * -classpath 165 | # * -D...appname settings 166 | # * --module-path (only if needed) 167 | # * DEFAULT_JVM_OPTS, JAVA_OPTS, and GRADLE_OPTS environment variables. 168 | 169 | # For Cygwin or MSYS, switch paths to Windows format before running java 170 | if "$cygwin" || "$msys" ; then 171 | APP_HOME=$( cygpath --path --mixed "$APP_HOME" ) 172 | CLASSPATH=$( cygpath --path --mixed "$CLASSPATH" ) 173 | 174 | JAVACMD=$( cygpath --unix "$JAVACMD" ) 175 | 176 | # Now convert the arguments - kludge to limit ourselves to /bin/sh 177 | for arg do 178 | if 179 | case $arg in #( 180 | -*) false ;; # don't mess with options #( 181 | /?*) t=${arg#/} t=/${t%%/*} # looks like a POSIX filepath 182 | [ -e "$t" ] ;; #( 183 | *) false ;; 184 | esac 185 | then 186 | arg=$( cygpath --path --ignore --mixed "$arg" ) 187 | fi 188 | # Roll the args list around exactly as many times as the number of 189 | # args, so each arg winds up back in the position where it started, but 190 | # possibly modified. 191 | # 192 | # NB: a `for` loop captures its iteration list before it begins, so 193 | # changing the positional parameters here affects neither the number of 194 | # iterations, nor the values presented in `arg`. 195 | shift # remove old arg 196 | set -- "$@" "$arg" # push replacement arg 197 | done 198 | fi 199 | 200 | # Collect all arguments for the java command; 201 | # * $DEFAULT_JVM_OPTS, $JAVA_OPTS, and $GRADLE_OPTS can contain fragments of 202 | # shell script including quotes and variable substitutions, so put them in 203 | # double quotes to make sure that they get re-expanded; and 204 | # * put everything else in single quotes, so that it's not re-expanded. 205 | 206 | set -- \ 207 | "-Dorg.gradle.appname=$APP_BASE_NAME" \ 208 | -classpath "$CLASSPATH" \ 209 | org.gradle.wrapper.GradleWrapperMain \ 210 | "$@" 211 | 212 | # Stop when "xargs" is not available. 213 | if ! command -v xargs >/dev/null 2>&1 214 | then 215 | die "xargs is not available" 216 | fi 217 | 218 | # Use "xargs" to parse quoted args. 219 | # 220 | # With -n1 it outputs one arg per line, with the quotes and backslashes removed. 221 | # 222 | # In Bash we could simply go: 223 | # 224 | # readarray ARGS < <( xargs -n1 <<<"$var" ) && 225 | # set -- "${ARGS[@]}" "$@" 226 | # 227 | # but POSIX shell has neither arrays nor command substitution, so instead we 228 | # post-process each arg (as a line of input to sed) to backslash-escape any 229 | # character that might be a shell metacharacter, then use eval to reverse 230 | # that process (while maintaining the separation between arguments), and wrap 231 | # the whole thing up as a single "set" statement. 232 | # 233 | # This will of course break if any of these variables contains a newline or 234 | # an unmatched quote. 235 | # 236 | 237 | eval "set -- $( 238 | printf '%s\n' "$DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS" | 239 | xargs -n1 | 240 | sed ' s~[^-[:alnum:]+,./:=@_]~\\&~g; ' | 241 | tr '\n' ' ' 242 | )" '"$@"' 243 | 244 | exec "$JAVACMD" "$@" 245 | -------------------------------------------------------------------------------- /android/gradlew.bat: -------------------------------------------------------------------------------- 1 | @rem 2 | @rem Copyright 2015 the original author or authors. 3 | @rem 4 | @rem Licensed under the Apache License, Version 2.0 (the "License"); 5 | @rem you may not use this file except in compliance with the License. 6 | @rem You may obtain a copy of the License at 7 | @rem 8 | @rem https://www.apache.org/licenses/LICENSE-2.0 9 | @rem 10 | @rem Unless required by applicable law or agreed to in writing, software 11 | @rem distributed under the License is distributed on an "AS IS" BASIS, 12 | @rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | @rem See the License for the specific language governing permissions and 14 | @rem limitations under the License. 15 | @rem 16 | 17 | @if "%DEBUG%"=="" @echo off 18 | @rem ########################################################################## 19 | @rem 20 | @rem Gradle startup script for Windows 21 | @rem 22 | @rem ########################################################################## 23 | 24 | @rem Set local scope for the variables with windows NT shell 25 | if "%OS%"=="Windows_NT" setlocal 26 | 27 | set DIRNAME=%~dp0 28 | if "%DIRNAME%"=="" set DIRNAME=. 29 | @rem This is normally unused 30 | set APP_BASE_NAME=%~n0 31 | set APP_HOME=%DIRNAME% 32 | 33 | @rem Resolve any "." and ".." in APP_HOME to make it shorter. 34 | for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi 35 | 36 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 37 | set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m" 38 | 39 | @rem Find java.exe 40 | if defined JAVA_HOME goto findJavaFromJavaHome 41 | 42 | set JAVA_EXE=java.exe 43 | %JAVA_EXE% -version >NUL 2>&1 44 | if %ERRORLEVEL% equ 0 goto execute 45 | 46 | echo. 47 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 48 | echo. 49 | echo Please set the JAVA_HOME variable in your environment to match the 50 | echo location of your Java installation. 51 | 52 | goto fail 53 | 54 | :findJavaFromJavaHome 55 | set JAVA_HOME=%JAVA_HOME:"=% 56 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe 57 | 58 | if exist "%JAVA_EXE%" goto execute 59 | 60 | echo. 61 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 62 | echo. 63 | echo Please set the JAVA_HOME variable in your environment to match the 64 | echo location of your Java installation. 65 | 66 | goto fail 67 | 68 | :execute 69 | @rem Setup the command line 70 | 71 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar 72 | 73 | 74 | @rem Execute Gradle 75 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %* 76 | 77 | :end 78 | @rem End local scope for the variables with windows NT shell 79 | if %ERRORLEVEL% equ 0 goto mainEnd 80 | 81 | :fail 82 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of 83 | rem the _cmd.exe /c_ return code! 84 | set EXIT_CODE=%ERRORLEVEL% 85 | if %EXIT_CODE% equ 0 set EXIT_CODE=1 86 | if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE% 87 | exit /b %EXIT_CODE% 88 | 89 | :mainEnd 90 | if "%OS%"=="Windows_NT" endlocal 91 | 92 | :omega 93 | -------------------------------------------------------------------------------- /android/link-assets-manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "migIndex": 1, 3 | "data": [ 4 | { 5 | "path": "assets/fonts/Roboto-Black.ttf", 6 | "sha1": "14701060227dbc4a4ec9901970e8a58bb136efd9" 7 | }, 8 | { 9 | "path": "assets/fonts/Roboto-BlackItalic.ttf", 10 | "sha1": "3009f8bc7f3aa84fd483469422442cc3789e0579" 11 | }, 12 | { 13 | "path": "assets/fonts/Roboto-Bold.ttf", 14 | "sha1": "6cbb57ba2355cf442e06899898ff5af55867103e" 15 | }, 16 | { 17 | "path": "assets/fonts/Roboto-BoldItalic.ttf", 18 | "sha1": "cd6a28033099099036e2a2182c9c4475394deaad" 19 | }, 20 | { 21 | "path": "assets/fonts/Roboto-Italic.ttf", 22 | "sha1": "4c4faf7a3fae4d0b1474561f0080995d358861ac" 23 | }, 24 | { 25 | "path": "assets/fonts/Roboto-Light.ttf", 26 | "sha1": "191dda7a5142990cd980727d43b27e4802f0b321" 27 | }, 28 | { 29 | "path": "assets/fonts/Roboto-LightItalic.ttf", 30 | "sha1": "693445f41eaa750b789a77568f9d6d995e85e0b2" 31 | }, 32 | { 33 | "path": "assets/fonts/Roboto-Medium.ttf", 34 | "sha1": "adbc3bde424bcf7dbc38f148005c8319825891f2" 35 | }, 36 | { 37 | "path": "assets/fonts/Roboto-MediumItalic.ttf", 38 | "sha1": "75feb92a7fc61d00e8ca610a700344738ef5ae32" 39 | }, 40 | { 41 | "path": "assets/fonts/Roboto-Regular.ttf", 42 | "sha1": "1d1d41fcadc571decb6444211b7993b99ce926e2" 43 | }, 44 | { 45 | "path": "assets/fonts/Roboto-Thin.ttf", 46 | "sha1": "f71ccd563f95ccc187cf4fe81287445e91f7121b" 47 | }, 48 | { 49 | "path": "assets/fonts/Roboto-ThinItalic.ttf", 50 | "sha1": "e3fb2b2a0dc2daf84d79cfff4b345a2afac132bc" 51 | }, 52 | { 53 | "path": "assets/fonts/RobotoCondensed-Bold.ttf", 54 | "sha1": "c348d9f1b95e103ac2d14d56682867368f385b1a" 55 | }, 56 | { 57 | "path": "assets/fonts/RobotoCondensed-BoldItalic.ttf", 58 | "sha1": "3bd9f2b8c65c4dd80f535b9ddd937784e0d71ce6" 59 | }, 60 | { 61 | "path": "assets/fonts/RobotoCondensed-Italic.ttf", 62 | "sha1": "394439fa97f36bba80f061e32e46ead1650e798e" 63 | }, 64 | { 65 | "path": "assets/fonts/RobotoCondensed-Light.ttf", 66 | "sha1": "df222c27b5e41dc89ca76a4479c9dd3ae6c1acbc" 67 | }, 68 | { 69 | "path": "assets/fonts/RobotoCondensed-LightItalic.ttf", 70 | "sha1": "d974583f3217141e4fc04bf94c3c6f94d9f56f8f" 71 | }, 72 | { 73 | "path": "assets/fonts/RobotoCondensed-Regular.ttf", 74 | "sha1": "c722696501a8663d64208d754e4db8165d3936f6" 75 | } 76 | ] 77 | } 78 | -------------------------------------------------------------------------------- /android/settings.gradle: -------------------------------------------------------------------------------- 1 | rootProject.name = 'ExpenseTracker' 2 | apply from: file("../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesSettingsGradle(settings) 3 | include ':app' 4 | includeBuild('../node_modules/@react-native/gradle-plugin') 5 | -------------------------------------------------------------------------------- /app.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ExpenseTracker", 3 | "displayName": "ExpenseTracker" 4 | } 5 | -------------------------------------------------------------------------------- /assets/fonts/Roboto-Black.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/byprogrammers/LCRN07-expense-tracker-app/679eea4d31f0bbb6374d700758df14ef693db02c/assets/fonts/Roboto-Black.ttf -------------------------------------------------------------------------------- /assets/fonts/Roboto-BlackItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/byprogrammers/LCRN07-expense-tracker-app/679eea4d31f0bbb6374d700758df14ef693db02c/assets/fonts/Roboto-BlackItalic.ttf -------------------------------------------------------------------------------- /assets/fonts/Roboto-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/byprogrammers/LCRN07-expense-tracker-app/679eea4d31f0bbb6374d700758df14ef693db02c/assets/fonts/Roboto-Bold.ttf -------------------------------------------------------------------------------- /assets/fonts/Roboto-BoldItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/byprogrammers/LCRN07-expense-tracker-app/679eea4d31f0bbb6374d700758df14ef693db02c/assets/fonts/Roboto-BoldItalic.ttf -------------------------------------------------------------------------------- /assets/fonts/Roboto-Italic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/byprogrammers/LCRN07-expense-tracker-app/679eea4d31f0bbb6374d700758df14ef693db02c/assets/fonts/Roboto-Italic.ttf -------------------------------------------------------------------------------- /assets/fonts/Roboto-Light.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/byprogrammers/LCRN07-expense-tracker-app/679eea4d31f0bbb6374d700758df14ef693db02c/assets/fonts/Roboto-Light.ttf -------------------------------------------------------------------------------- /assets/fonts/Roboto-LightItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/byprogrammers/LCRN07-expense-tracker-app/679eea4d31f0bbb6374d700758df14ef693db02c/assets/fonts/Roboto-LightItalic.ttf -------------------------------------------------------------------------------- /assets/fonts/Roboto-Medium.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/byprogrammers/LCRN07-expense-tracker-app/679eea4d31f0bbb6374d700758df14ef693db02c/assets/fonts/Roboto-Medium.ttf -------------------------------------------------------------------------------- /assets/fonts/Roboto-MediumItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/byprogrammers/LCRN07-expense-tracker-app/679eea4d31f0bbb6374d700758df14ef693db02c/assets/fonts/Roboto-MediumItalic.ttf -------------------------------------------------------------------------------- /assets/fonts/Roboto-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/byprogrammers/LCRN07-expense-tracker-app/679eea4d31f0bbb6374d700758df14ef693db02c/assets/fonts/Roboto-Regular.ttf -------------------------------------------------------------------------------- /assets/fonts/Roboto-Thin.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/byprogrammers/LCRN07-expense-tracker-app/679eea4d31f0bbb6374d700758df14ef693db02c/assets/fonts/Roboto-Thin.ttf -------------------------------------------------------------------------------- /assets/fonts/Roboto-ThinItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/byprogrammers/LCRN07-expense-tracker-app/679eea4d31f0bbb6374d700758df14ef693db02c/assets/fonts/Roboto-ThinItalic.ttf -------------------------------------------------------------------------------- /assets/fonts/RobotoCondensed-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/byprogrammers/LCRN07-expense-tracker-app/679eea4d31f0bbb6374d700758df14ef693db02c/assets/fonts/RobotoCondensed-Bold.ttf -------------------------------------------------------------------------------- /assets/fonts/RobotoCondensed-BoldItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/byprogrammers/LCRN07-expense-tracker-app/679eea4d31f0bbb6374d700758df14ef693db02c/assets/fonts/RobotoCondensed-BoldItalic.ttf -------------------------------------------------------------------------------- /assets/fonts/RobotoCondensed-Italic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/byprogrammers/LCRN07-expense-tracker-app/679eea4d31f0bbb6374d700758df14ef693db02c/assets/fonts/RobotoCondensed-Italic.ttf -------------------------------------------------------------------------------- /assets/fonts/RobotoCondensed-Light.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/byprogrammers/LCRN07-expense-tracker-app/679eea4d31f0bbb6374d700758df14ef693db02c/assets/fonts/RobotoCondensed-Light.ttf -------------------------------------------------------------------------------- /assets/fonts/RobotoCondensed-LightItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/byprogrammers/LCRN07-expense-tracker-app/679eea4d31f0bbb6374d700758df14ef693db02c/assets/fonts/RobotoCondensed-LightItalic.ttf -------------------------------------------------------------------------------- /assets/fonts/RobotoCondensed-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/byprogrammers/LCRN07-expense-tracker-app/679eea4d31f0bbb6374d700758df14ef693db02c/assets/fonts/RobotoCondensed-Regular.ttf -------------------------------------------------------------------------------- /assets/icons/baby_car_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/byprogrammers/LCRN07-expense-tracker-app/679eea4d31f0bbb6374d700758df14ef693db02c/assets/icons/baby_car_icon.png -------------------------------------------------------------------------------- /assets/icons/back_arrow_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/byprogrammers/LCRN07-expense-tracker-app/679eea4d31f0bbb6374d700758df14ef693db02c/assets/icons/back_arrow_icon.png -------------------------------------------------------------------------------- /assets/icons/calendar_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/byprogrammers/LCRN07-expense-tracker-app/679eea4d31f0bbb6374d700758df14ef693db02c/assets/icons/calendar_icon.png -------------------------------------------------------------------------------- /assets/icons/chart_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/byprogrammers/LCRN07-expense-tracker-app/679eea4d31f0bbb6374d700758df14ef693db02c/assets/icons/chart_icon.png -------------------------------------------------------------------------------- /assets/icons/cloth_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/byprogrammers/LCRN07-expense-tracker-app/679eea4d31f0bbb6374d700758df14ef693db02c/assets/icons/cloth_icon.png -------------------------------------------------------------------------------- /assets/icons/down_arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/byprogrammers/LCRN07-expense-tracker-app/679eea4d31f0bbb6374d700758df14ef693db02c/assets/icons/down_arrow.png -------------------------------------------------------------------------------- /assets/icons/education_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/byprogrammers/LCRN07-expense-tracker-app/679eea4d31f0bbb6374d700758df14ef693db02c/assets/icons/education_icon.png -------------------------------------------------------------------------------- /assets/icons/food_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/byprogrammers/LCRN07-expense-tracker-app/679eea4d31f0bbb6374d700758df14ef693db02c/assets/icons/food_icon.png -------------------------------------------------------------------------------- /assets/icons/healthcare_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/byprogrammers/LCRN07-expense-tracker-app/679eea4d31f0bbb6374d700758df14ef693db02c/assets/icons/healthcare_icon.png -------------------------------------------------------------------------------- /assets/icons/menu_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/byprogrammers/LCRN07-expense-tracker-app/679eea4d31f0bbb6374d700758df14ef693db02c/assets/icons/menu_icon.png -------------------------------------------------------------------------------- /assets/icons/more_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/byprogrammers/LCRN07-expense-tracker-app/679eea4d31f0bbb6374d700758df14ef693db02c/assets/icons/more_icon.png -------------------------------------------------------------------------------- /assets/icons/pin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/byprogrammers/LCRN07-expense-tracker-app/679eea4d31f0bbb6374d700758df14ef693db02c/assets/icons/pin.png -------------------------------------------------------------------------------- /assets/icons/sports_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/byprogrammers/LCRN07-expense-tracker-app/679eea4d31f0bbb6374d700758df14ef693db02c/assets/icons/sports_icon.png -------------------------------------------------------------------------------- /assets/icons/up_arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/byprogrammers/LCRN07-expense-tracker-app/679eea4d31f0bbb6374d700758df14ef693db02c/assets/icons/up_arrow.png -------------------------------------------------------------------------------- /babel.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | presets: ['module:metro-react-native-babel-preset'], 3 | }; 4 | -------------------------------------------------------------------------------- /constants/icons.js: -------------------------------------------------------------------------------- 1 | export const baby_car = require("../assets/icons/baby_car_icon.png"); 2 | export const back_arrow = require("../assets/icons/back_arrow_icon.png"); 3 | export const calendar = require("../assets/icons/calendar_icon.png"); 4 | export const chart = require("../assets/icons/chart_icon.png"); 5 | export const cloth_icon = require("../assets/icons/cloth_icon.png"); 6 | export const down_arrow = require("../assets/icons/down_arrow.png"); 7 | export const education = require("../assets/icons/education_icon.png"); 8 | export const food = require("../assets/icons/food_icon.png"); 9 | export const healthcare = require("../assets/icons/healthcare_icon.png"); 10 | export const menu = require("../assets/icons/menu_icon.png"); 11 | export const more = require("../assets/icons/more_icon.png"); 12 | export const pin = require("../assets/icons/pin.png"); 13 | export const sports_icon = require("../assets/icons/sports_icon.png"); 14 | export const up_arrow = require("../assets/icons/up_arrow.png"); 15 | 16 | export default { 17 | baby_car, 18 | back_arrow, 19 | calendar, 20 | chart, 21 | cloth_icon, 22 | down_arrow, 23 | education, 24 | food, 25 | healthcare, 26 | menu, 27 | more, 28 | pin, 29 | sports_icon, 30 | up_arrow 31 | } -------------------------------------------------------------------------------- /constants/images.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/byprogrammers/LCRN07-expense-tracker-app/679eea4d31f0bbb6374d700758df14ef693db02c/constants/images.js -------------------------------------------------------------------------------- /constants/index.js: -------------------------------------------------------------------------------- 1 | import icons from "./icons"; 2 | import images from "./images"; 3 | import theme, { COLORS, SIZES, FONTS } from "./theme"; 4 | 5 | export { icons, images, theme, COLORS, SIZES, FONTS }; -------------------------------------------------------------------------------- /constants/theme.js: -------------------------------------------------------------------------------- 1 | import { Dimensions } from "react-native"; 2 | const { width, height } = Dimensions.get("window"); 3 | 4 | export const COLORS = { 5 | // base colors 6 | primary: "#194868", // Dark Blue 7 | secondary: "#FF615F", // peach 8 | 9 | // colors 10 | black: "#1E1F20", 11 | white: "#FFFFFF", 12 | lightGray: "#F5F7F9", 13 | lightGray2: '#FAFBFD', 14 | gray: "#BEC1D2", 15 | blue: '#42B0FF', 16 | darkgray: '#898C95', 17 | yellow: '#FFD573', 18 | lightBlue: '#95A9B8', 19 | darkgreen: '#008159', 20 | peach: '#FF615F', 21 | purple: '#8e44ad', 22 | red: '#FF0000', 23 | }; 24 | 25 | export const SIZES = { 26 | // global sizes 27 | base: 8, 28 | font: 14, 29 | radius: 12, 30 | padding: 24, 31 | padding2: 36, 32 | 33 | // font sizes 34 | largeTitle: 50, 35 | h1: 30, 36 | h2: 22, 37 | h3: 16, 38 | h4: 14, 39 | body1: 30, 40 | body2: 20, 41 | body3: 16, 42 | body4: 14, 43 | 44 | // app dimensions 45 | width, 46 | height 47 | }; 48 | 49 | export const FONTS = { 50 | largeTitle: { fontFamily: "Roboto-regular", fontSize: SIZES.largeTitle, lineHeight: 55 }, 51 | h1: { fontFamily: "Roboto-Black", fontSize: SIZES.h1, lineHeight: 36 }, 52 | h2: { fontFamily: "Roboto-Bold", fontSize: SIZES.h2, lineHeight: 30 }, 53 | h3: { fontFamily: "Roboto-Bold", fontSize: SIZES.h3, lineHeight: 22 }, 54 | h4: { fontFamily: "Roboto-Bold", fontSize: SIZES.h4, lineHeight: 22 }, 55 | body1: { fontFamily: "Roboto-Regular", fontSize: SIZES.body1, lineHeight: 36 }, 56 | body2: { fontFamily: "Roboto-Regular", fontSize: SIZES.body2, lineHeight: 30 }, 57 | body3: { fontFamily: "Roboto-Regular", fontSize: SIZES.body3, lineHeight: 22 }, 58 | body4: { fontFamily: "Roboto-Regular", fontSize: SIZES.body4, lineHeight: 22 }, 59 | }; 60 | 61 | const appTheme = { COLORS, SIZES, FONTS }; 62 | 63 | export default appTheme; -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- 1 | /** 2 | * @format 3 | */ 4 | 5 | import {AppRegistry} from 'react-native'; 6 | import App from './App'; 7 | import {name as appName} from './app.json'; 8 | 9 | AppRegistry.registerComponent(appName, () => App); 10 | -------------------------------------------------------------------------------- /ios/.xcode.env: -------------------------------------------------------------------------------- 1 | export NODE_BINARY=$(command -v node) 2 | -------------------------------------------------------------------------------- /ios/ExpenseTracker.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 54; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 00E356F31AD99517003FC87E /* ExpenseTrackerTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* ExpenseTrackerTests.m */; }; 11 | 0C80B921A6F3F58F76C31292 /* libPods-ExpenseTracker.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5DCACB8F33CDC322A6C60F78 /* libPods-ExpenseTracker.a */; }; 12 | 13B07FBC1A68108700A75B9A /* AppDelegate.mm in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.mm */; }; 13 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; }; 14 | 13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; }; 15 | 1875ED1EE14A43D2B6F0469A /* RobotoCondensed-Italic.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 7DA7FC7BB0CA407696CA1E1C /* RobotoCondensed-Italic.ttf */; }; 16 | 1EBCE5D54B2A44B4A66C115D /* RobotoCondensed-Light.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 80DED7EE18D84914BB3E9A37 /* RobotoCondensed-Light.ttf */; }; 17 | 2C431143D65A4FF3B995DA90 /* Roboto-BlackItalic.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 1D4625CC1E3A4783946D2F65 /* Roboto-BlackItalic.ttf */; }; 18 | 495A2EA8E9054EE698291C65 /* RobotoCondensed-Regular.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 7746F27AE3A14921BCE639C2 /* RobotoCondensed-Regular.ttf */; }; 19 | 57E18CF05C014D33B659829A /* Roboto-Light.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 874588F429D64CF7BFA368EF /* Roboto-Light.ttf */; }; 20 | 60BAE87D656A40A8ACFA2775 /* Roboto-Medium.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 02318E47A7634069AC4FD1E0 /* Roboto-Medium.ttf */; }; 21 | 6746D19F8A8449CCB0AFCB98 /* RobotoCondensed-BoldItalic.ttf in Resources */ = {isa = PBXBuildFile; fileRef = F19251F3799D4F6BBE415125 /* RobotoCondensed-BoldItalic.ttf */; }; 22 | 6E37A4E2DFDC4125A1C9F538 /* Roboto-Regular.ttf in Resources */ = {isa = PBXBuildFile; fileRef = F0F8E2A5AF4F4FB1907577D4 /* Roboto-Regular.ttf */; }; 23 | 709C3DB769504B17B8DDA6A3 /* RobotoCondensed-LightItalic.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 0FE1EE38282C415EA7410561 /* RobotoCondensed-LightItalic.ttf */; }; 24 | 7699B88040F8A987B510C191 /* libPods-ExpenseTracker-ExpenseTrackerTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 19F6CBCC0A4E27FBF8BF4A61 /* libPods-ExpenseTracker-ExpenseTrackerTests.a */; }; 25 | 7D25B96161C6446FBCC51B7F /* Roboto-Italic.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 8913BC9459DD426DB8600987 /* Roboto-Italic.ttf */; }; 26 | 7FD60412F242448293FC0847 /* RobotoCondensed-Bold.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 5CB487E8656145B8B491102C /* RobotoCondensed-Bold.ttf */; }; 27 | 81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */; }; 28 | B1E11E29E3E54927BDB0C67F /* Roboto-BoldItalic.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 7963BA57007540518D3ED6DA /* Roboto-BoldItalic.ttf */; }; 29 | B70CC08B5D154E618E8A7BC1 /* Roboto-Bold.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 209BA6DEBF9F4C15903A598D /* Roboto-Bold.ttf */; }; 30 | B8C9C97DB6DB4189A74FC521 /* Roboto-Thin.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 99EDA3A9717043F2B0525DD0 /* Roboto-Thin.ttf */; }; 31 | C53944ED65BC468F9FE4FBD6 /* Roboto-ThinItalic.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 42E8B2EA378A45CF9EEEE192 /* Roboto-ThinItalic.ttf */; }; 32 | DFDDF49D254D4E748F44BD1C /* Roboto-Black.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 3EB6DFDD6D1646F7B6C328C5 /* Roboto-Black.ttf */; }; 33 | F4E70E72DE994F32BDC80A60 /* Roboto-MediumItalic.ttf in Resources */ = {isa = PBXBuildFile; fileRef = F027D18537EA4020954655B6 /* Roboto-MediumItalic.ttf */; }; 34 | FA09190FC2C74859817259B3 /* Roboto-LightItalic.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 7408B8D75B9C47A398E20D3B /* Roboto-LightItalic.ttf */; }; 35 | /* End PBXBuildFile section */ 36 | 37 | /* Begin PBXContainerItemProxy section */ 38 | 00E356F41AD99517003FC87E /* PBXContainerItemProxy */ = { 39 | isa = PBXContainerItemProxy; 40 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */; 41 | proxyType = 1; 42 | remoteGlobalIDString = 13B07F861A680F5B00A75B9A; 43 | remoteInfo = ExpenseTracker; 44 | }; 45 | /* End PBXContainerItemProxy section */ 46 | 47 | /* Begin PBXFileReference section */ 48 | 00E356EE1AD99517003FC87E /* ExpenseTrackerTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = ExpenseTrackerTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 49 | 00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 50 | 00E356F21AD99517003FC87E /* ExpenseTrackerTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ExpenseTrackerTests.m; sourceTree = ""; }; 51 | 02318E47A7634069AC4FD1E0 /* Roboto-Medium.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "Roboto-Medium.ttf"; path = "../assets/fonts/Roboto-Medium.ttf"; sourceTree = ""; }; 52 | 0FE1EE38282C415EA7410561 /* RobotoCondensed-LightItalic.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "RobotoCondensed-LightItalic.ttf"; path = "../assets/fonts/RobotoCondensed-LightItalic.ttf"; sourceTree = ""; }; 53 | 13B07F961A680F5B00A75B9A /* ExpenseTracker.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = ExpenseTracker.app; sourceTree = BUILT_PRODUCTS_DIR; }; 54 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = ExpenseTracker/AppDelegate.h; sourceTree = ""; }; 55 | 13B07FB01A68108700A75B9A /* AppDelegate.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; name = AppDelegate.mm; path = ExpenseTracker/AppDelegate.mm; sourceTree = ""; }; 56 | 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = ExpenseTracker/Images.xcassets; sourceTree = ""; }; 57 | 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = ExpenseTracker/Info.plist; sourceTree = ""; }; 58 | 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = ExpenseTracker/main.m; sourceTree = ""; }; 59 | 19F6CBCC0A4E27FBF8BF4A61 /* libPods-ExpenseTracker-ExpenseTrackerTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-ExpenseTracker-ExpenseTrackerTests.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 60 | 1D4625CC1E3A4783946D2F65 /* Roboto-BlackItalic.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "Roboto-BlackItalic.ttf"; path = "../assets/fonts/Roboto-BlackItalic.ttf"; sourceTree = ""; }; 61 | 209BA6DEBF9F4C15903A598D /* Roboto-Bold.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "Roboto-Bold.ttf"; path = "../assets/fonts/Roboto-Bold.ttf"; sourceTree = ""; }; 62 | 3B4392A12AC88292D35C810B /* Pods-ExpenseTracker.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ExpenseTracker.debug.xcconfig"; path = "Target Support Files/Pods-ExpenseTracker/Pods-ExpenseTracker.debug.xcconfig"; sourceTree = ""; }; 63 | 3EB6DFDD6D1646F7B6C328C5 /* Roboto-Black.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "Roboto-Black.ttf"; path = "../assets/fonts/Roboto-Black.ttf"; sourceTree = ""; }; 64 | 42E8B2EA378A45CF9EEEE192 /* Roboto-ThinItalic.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "Roboto-ThinItalic.ttf"; path = "../assets/fonts/Roboto-ThinItalic.ttf"; sourceTree = ""; }; 65 | 5709B34CF0A7D63546082F79 /* Pods-ExpenseTracker.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ExpenseTracker.release.xcconfig"; path = "Target Support Files/Pods-ExpenseTracker/Pods-ExpenseTracker.release.xcconfig"; sourceTree = ""; }; 66 | 5B7EB9410499542E8C5724F5 /* Pods-ExpenseTracker-ExpenseTrackerTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ExpenseTracker-ExpenseTrackerTests.debug.xcconfig"; path = "Target Support Files/Pods-ExpenseTracker-ExpenseTrackerTests/Pods-ExpenseTracker-ExpenseTrackerTests.debug.xcconfig"; sourceTree = ""; }; 67 | 5CB487E8656145B8B491102C /* RobotoCondensed-Bold.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "RobotoCondensed-Bold.ttf"; path = "../assets/fonts/RobotoCondensed-Bold.ttf"; sourceTree = ""; }; 68 | 5DCACB8F33CDC322A6C60F78 /* libPods-ExpenseTracker.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-ExpenseTracker.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 69 | 7408B8D75B9C47A398E20D3B /* Roboto-LightItalic.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "Roboto-LightItalic.ttf"; path = "../assets/fonts/Roboto-LightItalic.ttf"; sourceTree = ""; }; 70 | 7746F27AE3A14921BCE639C2 /* RobotoCondensed-Regular.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "RobotoCondensed-Regular.ttf"; path = "../assets/fonts/RobotoCondensed-Regular.ttf"; sourceTree = ""; }; 71 | 7963BA57007540518D3ED6DA /* Roboto-BoldItalic.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "Roboto-BoldItalic.ttf"; path = "../assets/fonts/Roboto-BoldItalic.ttf"; sourceTree = ""; }; 72 | 7DA7FC7BB0CA407696CA1E1C /* RobotoCondensed-Italic.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "RobotoCondensed-Italic.ttf"; path = "../assets/fonts/RobotoCondensed-Italic.ttf"; sourceTree = ""; }; 73 | 80DED7EE18D84914BB3E9A37 /* RobotoCondensed-Light.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "RobotoCondensed-Light.ttf"; path = "../assets/fonts/RobotoCondensed-Light.ttf"; sourceTree = ""; }; 74 | 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = LaunchScreen.storyboard; path = ExpenseTracker/LaunchScreen.storyboard; sourceTree = ""; }; 75 | 874588F429D64CF7BFA368EF /* Roboto-Light.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "Roboto-Light.ttf"; path = "../assets/fonts/Roboto-Light.ttf"; sourceTree = ""; }; 76 | 8913BC9459DD426DB8600987 /* Roboto-Italic.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "Roboto-Italic.ttf"; path = "../assets/fonts/Roboto-Italic.ttf"; sourceTree = ""; }; 77 | 89C6BE57DB24E9ADA2F236DE /* Pods-ExpenseTracker-ExpenseTrackerTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-ExpenseTracker-ExpenseTrackerTests.release.xcconfig"; path = "Target Support Files/Pods-ExpenseTracker-ExpenseTrackerTests/Pods-ExpenseTracker-ExpenseTrackerTests.release.xcconfig"; sourceTree = ""; }; 78 | 99EDA3A9717043F2B0525DD0 /* Roboto-Thin.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "Roboto-Thin.ttf"; path = "../assets/fonts/Roboto-Thin.ttf"; sourceTree = ""; }; 79 | ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; }; 80 | F027D18537EA4020954655B6 /* Roboto-MediumItalic.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "Roboto-MediumItalic.ttf"; path = "../assets/fonts/Roboto-MediumItalic.ttf"; sourceTree = ""; }; 81 | F0F8E2A5AF4F4FB1907577D4 /* Roboto-Regular.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "Roboto-Regular.ttf"; path = "../assets/fonts/Roboto-Regular.ttf"; sourceTree = ""; }; 82 | F19251F3799D4F6BBE415125 /* RobotoCondensed-BoldItalic.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "RobotoCondensed-BoldItalic.ttf"; path = "../assets/fonts/RobotoCondensed-BoldItalic.ttf"; sourceTree = ""; }; 83 | /* End PBXFileReference section */ 84 | 85 | /* Begin PBXFrameworksBuildPhase section */ 86 | 00E356EB1AD99517003FC87E /* Frameworks */ = { 87 | isa = PBXFrameworksBuildPhase; 88 | buildActionMask = 2147483647; 89 | files = ( 90 | 7699B88040F8A987B510C191 /* libPods-ExpenseTracker-ExpenseTrackerTests.a in Frameworks */, 91 | ); 92 | runOnlyForDeploymentPostprocessing = 0; 93 | }; 94 | 13B07F8C1A680F5B00A75B9A /* Frameworks */ = { 95 | isa = PBXFrameworksBuildPhase; 96 | buildActionMask = 2147483647; 97 | files = ( 98 | 0C80B921A6F3F58F76C31292 /* libPods-ExpenseTracker.a in Frameworks */, 99 | ); 100 | runOnlyForDeploymentPostprocessing = 0; 101 | }; 102 | /* End PBXFrameworksBuildPhase section */ 103 | 104 | /* Begin PBXGroup section */ 105 | 00E356EF1AD99517003FC87E /* ExpenseTrackerTests */ = { 106 | isa = PBXGroup; 107 | children = ( 108 | 00E356F21AD99517003FC87E /* ExpenseTrackerTests.m */, 109 | 00E356F01AD99517003FC87E /* Supporting Files */, 110 | ); 111 | path = ExpenseTrackerTests; 112 | sourceTree = ""; 113 | }; 114 | 00E356F01AD99517003FC87E /* Supporting Files */ = { 115 | isa = PBXGroup; 116 | children = ( 117 | 00E356F11AD99517003FC87E /* Info.plist */, 118 | ); 119 | name = "Supporting Files"; 120 | sourceTree = ""; 121 | }; 122 | 13B07FAE1A68108700A75B9A /* ExpenseTracker */ = { 123 | isa = PBXGroup; 124 | children = ( 125 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */, 126 | 13B07FB01A68108700A75B9A /* AppDelegate.mm */, 127 | 13B07FB51A68108700A75B9A /* Images.xcassets */, 128 | 13B07FB61A68108700A75B9A /* Info.plist */, 129 | 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */, 130 | 13B07FB71A68108700A75B9A /* main.m */, 131 | ); 132 | name = ExpenseTracker; 133 | sourceTree = ""; 134 | }; 135 | 2D16E6871FA4F8E400B85C8A /* Frameworks */ = { 136 | isa = PBXGroup; 137 | children = ( 138 | ED297162215061F000B7C4FE /* JavaScriptCore.framework */, 139 | 5DCACB8F33CDC322A6C60F78 /* libPods-ExpenseTracker.a */, 140 | 19F6CBCC0A4E27FBF8BF4A61 /* libPods-ExpenseTracker-ExpenseTrackerTests.a */, 141 | ); 142 | name = Frameworks; 143 | sourceTree = ""; 144 | }; 145 | 832341AE1AAA6A7D00B99B32 /* Libraries */ = { 146 | isa = PBXGroup; 147 | children = ( 148 | ); 149 | name = Libraries; 150 | sourceTree = ""; 151 | }; 152 | 83CBB9F61A601CBA00E9B192 = { 153 | isa = PBXGroup; 154 | children = ( 155 | 13B07FAE1A68108700A75B9A /* ExpenseTracker */, 156 | 832341AE1AAA6A7D00B99B32 /* Libraries */, 157 | 00E356EF1AD99517003FC87E /* ExpenseTrackerTests */, 158 | 83CBBA001A601CBA00E9B192 /* Products */, 159 | 2D16E6871FA4F8E400B85C8A /* Frameworks */, 160 | BBD78D7AC51CEA395F1C20DB /* Pods */, 161 | CB0298220A4C45CA9813EB09 /* Resources */, 162 | ); 163 | indentWidth = 2; 164 | sourceTree = ""; 165 | tabWidth = 2; 166 | usesTabs = 0; 167 | }; 168 | 83CBBA001A601CBA00E9B192 /* Products */ = { 169 | isa = PBXGroup; 170 | children = ( 171 | 13B07F961A680F5B00A75B9A /* ExpenseTracker.app */, 172 | 00E356EE1AD99517003FC87E /* ExpenseTrackerTests.xctest */, 173 | ); 174 | name = Products; 175 | sourceTree = ""; 176 | }; 177 | BBD78D7AC51CEA395F1C20DB /* Pods */ = { 178 | isa = PBXGroup; 179 | children = ( 180 | 3B4392A12AC88292D35C810B /* Pods-ExpenseTracker.debug.xcconfig */, 181 | 5709B34CF0A7D63546082F79 /* Pods-ExpenseTracker.release.xcconfig */, 182 | 5B7EB9410499542E8C5724F5 /* Pods-ExpenseTracker-ExpenseTrackerTests.debug.xcconfig */, 183 | 89C6BE57DB24E9ADA2F236DE /* Pods-ExpenseTracker-ExpenseTrackerTests.release.xcconfig */, 184 | ); 185 | path = Pods; 186 | sourceTree = ""; 187 | }; 188 | CB0298220A4C45CA9813EB09 /* Resources */ = { 189 | isa = PBXGroup; 190 | children = ( 191 | 3EB6DFDD6D1646F7B6C328C5 /* Roboto-Black.ttf */, 192 | 1D4625CC1E3A4783946D2F65 /* Roboto-BlackItalic.ttf */, 193 | 209BA6DEBF9F4C15903A598D /* Roboto-Bold.ttf */, 194 | 7963BA57007540518D3ED6DA /* Roboto-BoldItalic.ttf */, 195 | 8913BC9459DD426DB8600987 /* Roboto-Italic.ttf */, 196 | 874588F429D64CF7BFA368EF /* Roboto-Light.ttf */, 197 | 7408B8D75B9C47A398E20D3B /* Roboto-LightItalic.ttf */, 198 | 02318E47A7634069AC4FD1E0 /* Roboto-Medium.ttf */, 199 | F027D18537EA4020954655B6 /* Roboto-MediumItalic.ttf */, 200 | F0F8E2A5AF4F4FB1907577D4 /* Roboto-Regular.ttf */, 201 | 99EDA3A9717043F2B0525DD0 /* Roboto-Thin.ttf */, 202 | 42E8B2EA378A45CF9EEEE192 /* Roboto-ThinItalic.ttf */, 203 | 5CB487E8656145B8B491102C /* RobotoCondensed-Bold.ttf */, 204 | F19251F3799D4F6BBE415125 /* RobotoCondensed-BoldItalic.ttf */, 205 | 7DA7FC7BB0CA407696CA1E1C /* RobotoCondensed-Italic.ttf */, 206 | 80DED7EE18D84914BB3E9A37 /* RobotoCondensed-Light.ttf */, 207 | 0FE1EE38282C415EA7410561 /* RobotoCondensed-LightItalic.ttf */, 208 | 7746F27AE3A14921BCE639C2 /* RobotoCondensed-Regular.ttf */, 209 | ); 210 | name = Resources; 211 | sourceTree = ""; 212 | }; 213 | /* End PBXGroup section */ 214 | 215 | /* Begin PBXNativeTarget section */ 216 | 00E356ED1AD99517003FC87E /* ExpenseTrackerTests */ = { 217 | isa = PBXNativeTarget; 218 | buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "ExpenseTrackerTests" */; 219 | buildPhases = ( 220 | A55EABD7B0C7F3A422A6CC61 /* [CP] Check Pods Manifest.lock */, 221 | 00E356EA1AD99517003FC87E /* Sources */, 222 | 00E356EB1AD99517003FC87E /* Frameworks */, 223 | 00E356EC1AD99517003FC87E /* Resources */, 224 | C59DA0FBD6956966B86A3779 /* [CP] Embed Pods Frameworks */, 225 | F6A41C54EA430FDDC6A6ED99 /* [CP] Copy Pods Resources */, 226 | ); 227 | buildRules = ( 228 | ); 229 | dependencies = ( 230 | 00E356F51AD99517003FC87E /* PBXTargetDependency */, 231 | ); 232 | name = ExpenseTrackerTests; 233 | productName = ExpenseTrackerTests; 234 | productReference = 00E356EE1AD99517003FC87E /* ExpenseTrackerTests.xctest */; 235 | productType = "com.apple.product-type.bundle.unit-test"; 236 | }; 237 | 13B07F861A680F5B00A75B9A /* ExpenseTracker */ = { 238 | isa = PBXNativeTarget; 239 | buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "ExpenseTracker" */; 240 | buildPhases = ( 241 | C38B50BA6285516D6DCD4F65 /* [CP] Check Pods Manifest.lock */, 242 | FD10A7F022414F080027D42C /* Start Packager */, 243 | 13B07F871A680F5B00A75B9A /* Sources */, 244 | 13B07F8C1A680F5B00A75B9A /* Frameworks */, 245 | 13B07F8E1A680F5B00A75B9A /* Resources */, 246 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */, 247 | 00EEFC60759A1932668264C0 /* [CP] Embed Pods Frameworks */, 248 | E235C05ADACE081382539298 /* [CP] Copy Pods Resources */, 249 | ); 250 | buildRules = ( 251 | ); 252 | dependencies = ( 253 | ); 254 | name = ExpenseTracker; 255 | productName = ExpenseTracker; 256 | productReference = 13B07F961A680F5B00A75B9A /* ExpenseTracker.app */; 257 | productType = "com.apple.product-type.application"; 258 | }; 259 | /* End PBXNativeTarget section */ 260 | 261 | /* Begin PBXProject section */ 262 | 83CBB9F71A601CBA00E9B192 /* Project object */ = { 263 | isa = PBXProject; 264 | attributes = { 265 | LastUpgradeCheck = 1210; 266 | TargetAttributes = { 267 | 00E356ED1AD99517003FC87E = { 268 | CreatedOnToolsVersion = 6.2; 269 | TestTargetID = 13B07F861A680F5B00A75B9A; 270 | }; 271 | 13B07F861A680F5B00A75B9A = { 272 | LastSwiftMigration = 1120; 273 | }; 274 | }; 275 | }; 276 | buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "ExpenseTracker" */; 277 | compatibilityVersion = "Xcode 12.0"; 278 | developmentRegion = en; 279 | hasScannedForEncodings = 0; 280 | knownRegions = ( 281 | en, 282 | Base, 283 | ); 284 | mainGroup = 83CBB9F61A601CBA00E9B192; 285 | productRefGroup = 83CBBA001A601CBA00E9B192 /* Products */; 286 | projectDirPath = ""; 287 | projectRoot = ""; 288 | targets = ( 289 | 13B07F861A680F5B00A75B9A /* ExpenseTracker */, 290 | 00E356ED1AD99517003FC87E /* ExpenseTrackerTests */, 291 | ); 292 | }; 293 | /* End PBXProject section */ 294 | 295 | /* Begin PBXResourcesBuildPhase section */ 296 | 00E356EC1AD99517003FC87E /* Resources */ = { 297 | isa = PBXResourcesBuildPhase; 298 | buildActionMask = 2147483647; 299 | files = ( 300 | ); 301 | runOnlyForDeploymentPostprocessing = 0; 302 | }; 303 | 13B07F8E1A680F5B00A75B9A /* Resources */ = { 304 | isa = PBXResourcesBuildPhase; 305 | buildActionMask = 2147483647; 306 | files = ( 307 | 81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */, 308 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */, 309 | DFDDF49D254D4E748F44BD1C /* Roboto-Black.ttf in Resources */, 310 | 2C431143D65A4FF3B995DA90 /* Roboto-BlackItalic.ttf in Resources */, 311 | B70CC08B5D154E618E8A7BC1 /* Roboto-Bold.ttf in Resources */, 312 | B1E11E29E3E54927BDB0C67F /* Roboto-BoldItalic.ttf in Resources */, 313 | 7D25B96161C6446FBCC51B7F /* Roboto-Italic.ttf in Resources */, 314 | 57E18CF05C014D33B659829A /* Roboto-Light.ttf in Resources */, 315 | FA09190FC2C74859817259B3 /* Roboto-LightItalic.ttf in Resources */, 316 | 60BAE87D656A40A8ACFA2775 /* Roboto-Medium.ttf in Resources */, 317 | F4E70E72DE994F32BDC80A60 /* Roboto-MediumItalic.ttf in Resources */, 318 | 6E37A4E2DFDC4125A1C9F538 /* Roboto-Regular.ttf in Resources */, 319 | B8C9C97DB6DB4189A74FC521 /* Roboto-Thin.ttf in Resources */, 320 | C53944ED65BC468F9FE4FBD6 /* Roboto-ThinItalic.ttf in Resources */, 321 | 7FD60412F242448293FC0847 /* RobotoCondensed-Bold.ttf in Resources */, 322 | 6746D19F8A8449CCB0AFCB98 /* RobotoCondensed-BoldItalic.ttf in Resources */, 323 | 1875ED1EE14A43D2B6F0469A /* RobotoCondensed-Italic.ttf in Resources */, 324 | 1EBCE5D54B2A44B4A66C115D /* RobotoCondensed-Light.ttf in Resources */, 325 | 709C3DB769504B17B8DDA6A3 /* RobotoCondensed-LightItalic.ttf in Resources */, 326 | 495A2EA8E9054EE698291C65 /* RobotoCondensed-Regular.ttf in Resources */, 327 | ); 328 | runOnlyForDeploymentPostprocessing = 0; 329 | }; 330 | /* End PBXResourcesBuildPhase section */ 331 | 332 | /* Begin PBXShellScriptBuildPhase section */ 333 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */ = { 334 | isa = PBXShellScriptBuildPhase; 335 | buildActionMask = 2147483647; 336 | files = ( 337 | ); 338 | inputPaths = ( 339 | "$(SRCROOT)/.xcode.env.local", 340 | "$(SRCROOT)/.xcode.env", 341 | ); 342 | name = "Bundle React Native code and images"; 343 | outputPaths = ( 344 | ); 345 | runOnlyForDeploymentPostprocessing = 0; 346 | shellPath = /bin/sh; 347 | shellScript = "set -e\n\nWITH_ENVIRONMENT=\"../node_modules/react-native/scripts/xcode/with-environment.sh\"\nREACT_NATIVE_XCODE=\"../node_modules/react-native/scripts/react-native-xcode.sh\"\n\n/bin/sh -c \"$WITH_ENVIRONMENT $REACT_NATIVE_XCODE\"\n"; 348 | }; 349 | 00EEFC60759A1932668264C0 /* [CP] Embed Pods Frameworks */ = { 350 | isa = PBXShellScriptBuildPhase; 351 | buildActionMask = 2147483647; 352 | files = ( 353 | ); 354 | inputFileListPaths = ( 355 | "${PODS_ROOT}/Target Support Files/Pods-ExpenseTracker/Pods-ExpenseTracker-frameworks-${CONFIGURATION}-input-files.xcfilelist", 356 | ); 357 | name = "[CP] Embed Pods Frameworks"; 358 | outputFileListPaths = ( 359 | "${PODS_ROOT}/Target Support Files/Pods-ExpenseTracker/Pods-ExpenseTracker-frameworks-${CONFIGURATION}-output-files.xcfilelist", 360 | ); 361 | runOnlyForDeploymentPostprocessing = 0; 362 | shellPath = /bin/sh; 363 | shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-ExpenseTracker/Pods-ExpenseTracker-frameworks.sh\"\n"; 364 | showEnvVarsInLog = 0; 365 | }; 366 | A55EABD7B0C7F3A422A6CC61 /* [CP] Check Pods Manifest.lock */ = { 367 | isa = PBXShellScriptBuildPhase; 368 | buildActionMask = 2147483647; 369 | files = ( 370 | ); 371 | inputFileListPaths = ( 372 | ); 373 | inputPaths = ( 374 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 375 | "${PODS_ROOT}/Manifest.lock", 376 | ); 377 | name = "[CP] Check Pods Manifest.lock"; 378 | outputFileListPaths = ( 379 | ); 380 | outputPaths = ( 381 | "$(DERIVED_FILE_DIR)/Pods-ExpenseTracker-ExpenseTrackerTests-checkManifestLockResult.txt", 382 | ); 383 | runOnlyForDeploymentPostprocessing = 0; 384 | shellPath = /bin/sh; 385 | shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; 386 | showEnvVarsInLog = 0; 387 | }; 388 | C38B50BA6285516D6DCD4F65 /* [CP] Check Pods Manifest.lock */ = { 389 | isa = PBXShellScriptBuildPhase; 390 | buildActionMask = 2147483647; 391 | files = ( 392 | ); 393 | inputFileListPaths = ( 394 | ); 395 | inputPaths = ( 396 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 397 | "${PODS_ROOT}/Manifest.lock", 398 | ); 399 | name = "[CP] Check Pods Manifest.lock"; 400 | outputFileListPaths = ( 401 | ); 402 | outputPaths = ( 403 | "$(DERIVED_FILE_DIR)/Pods-ExpenseTracker-checkManifestLockResult.txt", 404 | ); 405 | runOnlyForDeploymentPostprocessing = 0; 406 | shellPath = /bin/sh; 407 | shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; 408 | showEnvVarsInLog = 0; 409 | }; 410 | C59DA0FBD6956966B86A3779 /* [CP] Embed Pods Frameworks */ = { 411 | isa = PBXShellScriptBuildPhase; 412 | buildActionMask = 2147483647; 413 | files = ( 414 | ); 415 | inputFileListPaths = ( 416 | "${PODS_ROOT}/Target Support Files/Pods-ExpenseTracker-ExpenseTrackerTests/Pods-ExpenseTracker-ExpenseTrackerTests-frameworks-${CONFIGURATION}-input-files.xcfilelist", 417 | ); 418 | name = "[CP] Embed Pods Frameworks"; 419 | outputFileListPaths = ( 420 | "${PODS_ROOT}/Target Support Files/Pods-ExpenseTracker-ExpenseTrackerTests/Pods-ExpenseTracker-ExpenseTrackerTests-frameworks-${CONFIGURATION}-output-files.xcfilelist", 421 | ); 422 | runOnlyForDeploymentPostprocessing = 0; 423 | shellPath = /bin/sh; 424 | shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-ExpenseTracker-ExpenseTrackerTests/Pods-ExpenseTracker-ExpenseTrackerTests-frameworks.sh\"\n"; 425 | showEnvVarsInLog = 0; 426 | }; 427 | E235C05ADACE081382539298 /* [CP] Copy Pods Resources */ = { 428 | isa = PBXShellScriptBuildPhase; 429 | buildActionMask = 2147483647; 430 | files = ( 431 | ); 432 | inputFileListPaths = ( 433 | "${PODS_ROOT}/Target Support Files/Pods-ExpenseTracker/Pods-ExpenseTracker-resources-${CONFIGURATION}-input-files.xcfilelist", 434 | ); 435 | name = "[CP] Copy Pods Resources"; 436 | outputFileListPaths = ( 437 | "${PODS_ROOT}/Target Support Files/Pods-ExpenseTracker/Pods-ExpenseTracker-resources-${CONFIGURATION}-output-files.xcfilelist", 438 | ); 439 | runOnlyForDeploymentPostprocessing = 0; 440 | shellPath = /bin/sh; 441 | shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-ExpenseTracker/Pods-ExpenseTracker-resources.sh\"\n"; 442 | showEnvVarsInLog = 0; 443 | }; 444 | F6A41C54EA430FDDC6A6ED99 /* [CP] Copy Pods Resources */ = { 445 | isa = PBXShellScriptBuildPhase; 446 | buildActionMask = 2147483647; 447 | files = ( 448 | ); 449 | inputFileListPaths = ( 450 | "${PODS_ROOT}/Target Support Files/Pods-ExpenseTracker-ExpenseTrackerTests/Pods-ExpenseTracker-ExpenseTrackerTests-resources-${CONFIGURATION}-input-files.xcfilelist", 451 | ); 452 | name = "[CP] Copy Pods Resources"; 453 | outputFileListPaths = ( 454 | "${PODS_ROOT}/Target Support Files/Pods-ExpenseTracker-ExpenseTrackerTests/Pods-ExpenseTracker-ExpenseTrackerTests-resources-${CONFIGURATION}-output-files.xcfilelist", 455 | ); 456 | runOnlyForDeploymentPostprocessing = 0; 457 | shellPath = /bin/sh; 458 | shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-ExpenseTracker-ExpenseTrackerTests/Pods-ExpenseTracker-ExpenseTrackerTests-resources.sh\"\n"; 459 | showEnvVarsInLog = 0; 460 | }; 461 | FD10A7F022414F080027D42C /* Start Packager */ = { 462 | isa = PBXShellScriptBuildPhase; 463 | buildActionMask = 2147483647; 464 | files = ( 465 | ); 466 | inputFileListPaths = ( 467 | ); 468 | inputPaths = ( 469 | ); 470 | name = "Start Packager"; 471 | outputFileListPaths = ( 472 | ); 473 | outputPaths = ( 474 | ); 475 | runOnlyForDeploymentPostprocessing = 0; 476 | shellPath = /bin/sh; 477 | shellScript = "export RCT_METRO_PORT=\"${RCT_METRO_PORT:=8081}\"\necho \"export RCT_METRO_PORT=${RCT_METRO_PORT}\" > \"${SRCROOT}/../node_modules/react-native/scripts/.packager.env\"\nif [ -z \"${RCT_NO_LAUNCH_PACKAGER+xxx}\" ] ; then\n if nc -w 5 -z localhost ${RCT_METRO_PORT} ; then\n if ! curl -s \"http://localhost:${RCT_METRO_PORT}/status\" | grep -q \"packager-status:running\" ; then\n echo \"Port ${RCT_METRO_PORT} already in use, packager is either not running or not running correctly\"\n exit 2\n fi\n else\n open \"$SRCROOT/../node_modules/react-native/scripts/launchPackager.command\" || echo \"Can't start packager automatically\"\n fi\nfi\n"; 478 | showEnvVarsInLog = 0; 479 | }; 480 | /* End PBXShellScriptBuildPhase section */ 481 | 482 | /* Begin PBXSourcesBuildPhase section */ 483 | 00E356EA1AD99517003FC87E /* Sources */ = { 484 | isa = PBXSourcesBuildPhase; 485 | buildActionMask = 2147483647; 486 | files = ( 487 | 00E356F31AD99517003FC87E /* ExpenseTrackerTests.m in Sources */, 488 | ); 489 | runOnlyForDeploymentPostprocessing = 0; 490 | }; 491 | 13B07F871A680F5B00A75B9A /* Sources */ = { 492 | isa = PBXSourcesBuildPhase; 493 | buildActionMask = 2147483647; 494 | files = ( 495 | 13B07FBC1A68108700A75B9A /* AppDelegate.mm in Sources */, 496 | 13B07FC11A68108700A75B9A /* main.m in Sources */, 497 | ); 498 | runOnlyForDeploymentPostprocessing = 0; 499 | }; 500 | /* End PBXSourcesBuildPhase section */ 501 | 502 | /* Begin PBXTargetDependency section */ 503 | 00E356F51AD99517003FC87E /* PBXTargetDependency */ = { 504 | isa = PBXTargetDependency; 505 | target = 13B07F861A680F5B00A75B9A /* ExpenseTracker */; 506 | targetProxy = 00E356F41AD99517003FC87E /* PBXContainerItemProxy */; 507 | }; 508 | /* End PBXTargetDependency section */ 509 | 510 | /* Begin XCBuildConfiguration section */ 511 | 00E356F61AD99517003FC87E /* Debug */ = { 512 | isa = XCBuildConfiguration; 513 | baseConfigurationReference = 5B7EB9410499542E8C5724F5 /* Pods-ExpenseTracker-ExpenseTrackerTests.debug.xcconfig */; 514 | buildSettings = { 515 | BUNDLE_LOADER = "$(TEST_HOST)"; 516 | GCC_PREPROCESSOR_DEFINITIONS = ( 517 | "DEBUG=1", 518 | "$(inherited)", 519 | ); 520 | INFOPLIST_FILE = ExpenseTrackerTests/Info.plist; 521 | IPHONEOS_DEPLOYMENT_TARGET = 12.4; 522 | LD_RUNPATH_SEARCH_PATHS = ( 523 | "$(inherited)", 524 | "@executable_path/Frameworks", 525 | "@loader_path/Frameworks", 526 | ); 527 | OTHER_LDFLAGS = ( 528 | "-ObjC", 529 | "-lc++", 530 | "$(inherited)", 531 | ); 532 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; 533 | PRODUCT_NAME = "$(TARGET_NAME)"; 534 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/ExpenseTracker.app/ExpenseTracker"; 535 | }; 536 | name = Debug; 537 | }; 538 | 00E356F71AD99517003FC87E /* Release */ = { 539 | isa = XCBuildConfiguration; 540 | baseConfigurationReference = 89C6BE57DB24E9ADA2F236DE /* Pods-ExpenseTracker-ExpenseTrackerTests.release.xcconfig */; 541 | buildSettings = { 542 | BUNDLE_LOADER = "$(TEST_HOST)"; 543 | COPY_PHASE_STRIP = NO; 544 | INFOPLIST_FILE = ExpenseTrackerTests/Info.plist; 545 | IPHONEOS_DEPLOYMENT_TARGET = 12.4; 546 | LD_RUNPATH_SEARCH_PATHS = ( 547 | "$(inherited)", 548 | "@executable_path/Frameworks", 549 | "@loader_path/Frameworks", 550 | ); 551 | OTHER_LDFLAGS = ( 552 | "-ObjC", 553 | "-lc++", 554 | "$(inherited)", 555 | ); 556 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; 557 | PRODUCT_NAME = "$(TARGET_NAME)"; 558 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/ExpenseTracker.app/ExpenseTracker"; 559 | }; 560 | name = Release; 561 | }; 562 | 13B07F941A680F5B00A75B9A /* Debug */ = { 563 | isa = XCBuildConfiguration; 564 | baseConfigurationReference = 3B4392A12AC88292D35C810B /* Pods-ExpenseTracker.debug.xcconfig */; 565 | buildSettings = { 566 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 567 | CLANG_ENABLE_MODULES = YES; 568 | CURRENT_PROJECT_VERSION = 1; 569 | DEVELOPMENT_TEAM = 533XFZCQL4; 570 | ENABLE_BITCODE = NO; 571 | INFOPLIST_FILE = ExpenseTracker/Info.plist; 572 | LD_RUNPATH_SEARCH_PATHS = ( 573 | "$(inherited)", 574 | "@executable_path/Frameworks", 575 | ); 576 | MARKETING_VERSION = 1.0; 577 | OTHER_LDFLAGS = ( 578 | "$(inherited)", 579 | "-ObjC", 580 | "-lc++", 581 | ); 582 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; 583 | PRODUCT_NAME = ExpenseTracker; 584 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 585 | SWIFT_VERSION = 5.0; 586 | VERSIONING_SYSTEM = "apple-generic"; 587 | }; 588 | name = Debug; 589 | }; 590 | 13B07F951A680F5B00A75B9A /* Release */ = { 591 | isa = XCBuildConfiguration; 592 | baseConfigurationReference = 5709B34CF0A7D63546082F79 /* Pods-ExpenseTracker.release.xcconfig */; 593 | buildSettings = { 594 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 595 | CLANG_ENABLE_MODULES = YES; 596 | CURRENT_PROJECT_VERSION = 1; 597 | DEVELOPMENT_TEAM = 533XFZCQL4; 598 | INFOPLIST_FILE = ExpenseTracker/Info.plist; 599 | LD_RUNPATH_SEARCH_PATHS = ( 600 | "$(inherited)", 601 | "@executable_path/Frameworks", 602 | ); 603 | MARKETING_VERSION = 1.0; 604 | OTHER_LDFLAGS = ( 605 | "$(inherited)", 606 | "-ObjC", 607 | "-lc++", 608 | ); 609 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; 610 | PRODUCT_NAME = ExpenseTracker; 611 | SWIFT_VERSION = 5.0; 612 | VERSIONING_SYSTEM = "apple-generic"; 613 | }; 614 | name = Release; 615 | }; 616 | 83CBBA201A601CBA00E9B192 /* Debug */ = { 617 | isa = XCBuildConfiguration; 618 | buildSettings = { 619 | ALWAYS_SEARCH_USER_PATHS = NO; 620 | CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; 621 | CLANG_CXX_LANGUAGE_STANDARD = "c++17"; 622 | CLANG_CXX_LIBRARY = "libc++"; 623 | CLANG_ENABLE_MODULES = YES; 624 | CLANG_ENABLE_OBJC_ARC = YES; 625 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 626 | CLANG_WARN_BOOL_CONVERSION = YES; 627 | CLANG_WARN_COMMA = YES; 628 | CLANG_WARN_CONSTANT_CONVERSION = YES; 629 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 630 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 631 | CLANG_WARN_EMPTY_BODY = YES; 632 | CLANG_WARN_ENUM_CONVERSION = YES; 633 | CLANG_WARN_INFINITE_RECURSION = YES; 634 | CLANG_WARN_INT_CONVERSION = YES; 635 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 636 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 637 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 638 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 639 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; 640 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 641 | CLANG_WARN_STRICT_PROTOTYPES = YES; 642 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 643 | CLANG_WARN_UNREACHABLE_CODE = YES; 644 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 645 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 646 | COPY_PHASE_STRIP = NO; 647 | ENABLE_STRICT_OBJC_MSGSEND = YES; 648 | ENABLE_TESTABILITY = YES; 649 | "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = i386; 650 | GCC_C_LANGUAGE_STANDARD = gnu99; 651 | GCC_DYNAMIC_NO_PIC = NO; 652 | GCC_NO_COMMON_BLOCKS = YES; 653 | GCC_OPTIMIZATION_LEVEL = 0; 654 | GCC_PREPROCESSOR_DEFINITIONS = ( 655 | "DEBUG=1", 656 | "$(inherited)", 657 | ); 658 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 659 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 660 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 661 | GCC_WARN_UNDECLARED_SELECTOR = YES; 662 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 663 | GCC_WARN_UNUSED_FUNCTION = YES; 664 | GCC_WARN_UNUSED_VARIABLE = YES; 665 | IPHONEOS_DEPLOYMENT_TARGET = 12.4; 666 | LD_RUNPATH_SEARCH_PATHS = ( 667 | /usr/lib/swift, 668 | "$(inherited)", 669 | ); 670 | LIBRARY_SEARCH_PATHS = ( 671 | "\"$(SDKROOT)/usr/lib/swift\"", 672 | "\"$(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)\"", 673 | "\"$(inherited)\"", 674 | ); 675 | MTL_ENABLE_DEBUG_INFO = YES; 676 | ONLY_ACTIVE_ARCH = YES; 677 | OTHER_CFLAGS = "$(inherited)"; 678 | OTHER_CPLUSPLUSFLAGS = ( 679 | "$(OTHER_CFLAGS)", 680 | "-DFOLLY_NO_CONFIG", 681 | "-DFOLLY_MOBILE=1", 682 | "-DFOLLY_USE_LIBCPP=1", 683 | ); 684 | REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native"; 685 | SDKROOT = iphoneos; 686 | }; 687 | name = Debug; 688 | }; 689 | 83CBBA211A601CBA00E9B192 /* Release */ = { 690 | isa = XCBuildConfiguration; 691 | buildSettings = { 692 | ALWAYS_SEARCH_USER_PATHS = NO; 693 | CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; 694 | CLANG_CXX_LANGUAGE_STANDARD = "c++17"; 695 | CLANG_CXX_LIBRARY = "libc++"; 696 | CLANG_ENABLE_MODULES = YES; 697 | CLANG_ENABLE_OBJC_ARC = YES; 698 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 699 | CLANG_WARN_BOOL_CONVERSION = YES; 700 | CLANG_WARN_COMMA = YES; 701 | CLANG_WARN_CONSTANT_CONVERSION = YES; 702 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 703 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 704 | CLANG_WARN_EMPTY_BODY = YES; 705 | CLANG_WARN_ENUM_CONVERSION = YES; 706 | CLANG_WARN_INFINITE_RECURSION = YES; 707 | CLANG_WARN_INT_CONVERSION = YES; 708 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 709 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 710 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 711 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 712 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; 713 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 714 | CLANG_WARN_STRICT_PROTOTYPES = YES; 715 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 716 | CLANG_WARN_UNREACHABLE_CODE = YES; 717 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 718 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 719 | COPY_PHASE_STRIP = YES; 720 | ENABLE_NS_ASSERTIONS = NO; 721 | ENABLE_STRICT_OBJC_MSGSEND = YES; 722 | "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = i386; 723 | GCC_C_LANGUAGE_STANDARD = gnu99; 724 | GCC_NO_COMMON_BLOCKS = YES; 725 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 726 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 727 | GCC_WARN_UNDECLARED_SELECTOR = YES; 728 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 729 | GCC_WARN_UNUSED_FUNCTION = YES; 730 | GCC_WARN_UNUSED_VARIABLE = YES; 731 | IPHONEOS_DEPLOYMENT_TARGET = 12.4; 732 | LD_RUNPATH_SEARCH_PATHS = ( 733 | /usr/lib/swift, 734 | "$(inherited)", 735 | ); 736 | LIBRARY_SEARCH_PATHS = ( 737 | "\"$(SDKROOT)/usr/lib/swift\"", 738 | "\"$(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)\"", 739 | "\"$(inherited)\"", 740 | ); 741 | MTL_ENABLE_DEBUG_INFO = NO; 742 | OTHER_CFLAGS = "$(inherited)"; 743 | OTHER_CPLUSPLUSFLAGS = ( 744 | "$(OTHER_CFLAGS)", 745 | "-DFOLLY_NO_CONFIG", 746 | "-DFOLLY_MOBILE=1", 747 | "-DFOLLY_USE_LIBCPP=1", 748 | ); 749 | REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native"; 750 | SDKROOT = iphoneos; 751 | VALIDATE_PRODUCT = YES; 752 | }; 753 | name = Release; 754 | }; 755 | /* End XCBuildConfiguration section */ 756 | 757 | /* Begin XCConfigurationList section */ 758 | 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "ExpenseTrackerTests" */ = { 759 | isa = XCConfigurationList; 760 | buildConfigurations = ( 761 | 00E356F61AD99517003FC87E /* Debug */, 762 | 00E356F71AD99517003FC87E /* Release */, 763 | ); 764 | defaultConfigurationIsVisible = 0; 765 | defaultConfigurationName = Release; 766 | }; 767 | 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "ExpenseTracker" */ = { 768 | isa = XCConfigurationList; 769 | buildConfigurations = ( 770 | 13B07F941A680F5B00A75B9A /* Debug */, 771 | 13B07F951A680F5B00A75B9A /* Release */, 772 | ); 773 | defaultConfigurationIsVisible = 0; 774 | defaultConfigurationName = Release; 775 | }; 776 | 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "ExpenseTracker" */ = { 777 | isa = XCConfigurationList; 778 | buildConfigurations = ( 779 | 83CBBA201A601CBA00E9B192 /* Debug */, 780 | 83CBBA211A601CBA00E9B192 /* Release */, 781 | ); 782 | defaultConfigurationIsVisible = 0; 783 | defaultConfigurationName = Release; 784 | }; 785 | /* End XCConfigurationList section */ 786 | }; 787 | rootObject = 83CBB9F71A601CBA00E9B192 /* Project object */; 788 | } 789 | -------------------------------------------------------------------------------- /ios/ExpenseTracker.xcodeproj/xcshareddata/xcschemes/ExpenseTracker.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 33 | 39 | 40 | 41 | 42 | 43 | 53 | 55 | 61 | 62 | 63 | 64 | 70 | 72 | 78 | 79 | 80 | 81 | 83 | 84 | 87 | 88 | 89 | -------------------------------------------------------------------------------- /ios/ExpenseTracker.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /ios/ExpenseTracker.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /ios/ExpenseTracker/AppDelegate.h: -------------------------------------------------------------------------------- 1 | #import 2 | #import 3 | 4 | @interface AppDelegate : RCTAppDelegate 5 | 6 | @end 7 | -------------------------------------------------------------------------------- /ios/ExpenseTracker/AppDelegate.mm: -------------------------------------------------------------------------------- 1 | #import "AppDelegate.h" 2 | 3 | #import 4 | 5 | @implementation AppDelegate 6 | 7 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 8 | { 9 | self.moduleName = @"ExpenseTracker"; 10 | // You can add your custom initial props in the dictionary below. 11 | // They will be passed down to the ViewController used by React Native. 12 | self.initialProps = @{}; 13 | 14 | return [super application:application didFinishLaunchingWithOptions:launchOptions]; 15 | } 16 | 17 | - (NSURL *)sourceURLForBridge:(RCTBridge *)bridge 18 | { 19 | #if DEBUG 20 | return [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index"]; 21 | #else 22 | return [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"]; 23 | #endif 24 | } 25 | 26 | @end 27 | -------------------------------------------------------------------------------- /ios/ExpenseTracker/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "scale" : "2x", 6 | "size" : "20x20" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "scale" : "3x", 11 | "size" : "20x20" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "scale" : "2x", 16 | "size" : "29x29" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "scale" : "3x", 21 | "size" : "29x29" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "scale" : "2x", 26 | "size" : "40x40" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "scale" : "3x", 31 | "size" : "40x40" 32 | }, 33 | { 34 | "idiom" : "iphone", 35 | "scale" : "2x", 36 | "size" : "60x60" 37 | }, 38 | { 39 | "idiom" : "iphone", 40 | "scale" : "3x", 41 | "size" : "60x60" 42 | }, 43 | { 44 | "idiom" : "ios-marketing", 45 | "scale" : "1x", 46 | "size" : "1024x1024" 47 | } 48 | ], 49 | "info" : { 50 | "author" : "xcode", 51 | "version" : 1 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /ios/ExpenseTracker/Images.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /ios/ExpenseTracker/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | ExpenseTracker 9 | CFBundleExecutable 10 | $(EXECUTABLE_NAME) 11 | CFBundleIdentifier 12 | $(PRODUCT_BUNDLE_IDENTIFIER) 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | $(PRODUCT_NAME) 17 | CFBundlePackageType 18 | APPL 19 | CFBundleShortVersionString 20 | $(MARKETING_VERSION) 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | $(CURRENT_PROJECT_VERSION) 25 | LSRequiresIPhoneOS 26 | 27 | NSAppTransportSecurity 28 | 29 | NSExceptionDomains 30 | 31 | localhost 32 | 33 | NSExceptionAllowsInsecureHTTPLoads 34 | 35 | 36 | 37 | 38 | NSLocationWhenInUseUsageDescription 39 | 40 | UILaunchStoryboardName 41 | LaunchScreen 42 | UIRequiredDeviceCapabilities 43 | 44 | armv7 45 | 46 | UISupportedInterfaceOrientations 47 | 48 | UIInterfaceOrientationPortrait 49 | UIInterfaceOrientationLandscapeLeft 50 | UIInterfaceOrientationLandscapeRight 51 | 52 | UIViewControllerBasedStatusBarAppearance 53 | 54 | UIAppFonts 55 | 56 | Roboto-Black.ttf 57 | Roboto-BlackItalic.ttf 58 | Roboto-Bold.ttf 59 | Roboto-BoldItalic.ttf 60 | Roboto-Italic.ttf 61 | Roboto-Light.ttf 62 | Roboto-LightItalic.ttf 63 | Roboto-Medium.ttf 64 | Roboto-MediumItalic.ttf 65 | Roboto-Regular.ttf 66 | Roboto-Thin.ttf 67 | Roboto-ThinItalic.ttf 68 | RobotoCondensed-Bold.ttf 69 | RobotoCondensed-BoldItalic.ttf 70 | RobotoCondensed-Italic.ttf 71 | RobotoCondensed-Light.ttf 72 | RobotoCondensed-LightItalic.ttf 73 | RobotoCondensed-Regular.ttf 74 | 75 | 76 | 77 | -------------------------------------------------------------------------------- /ios/ExpenseTracker/LaunchScreen.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 24 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | -------------------------------------------------------------------------------- /ios/ExpenseTracker/main.m: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | #import "AppDelegate.h" 4 | 5 | int main(int argc, char *argv[]) 6 | { 7 | @autoreleasepool { 8 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /ios/ExpenseTrackerTests/ExpenseTrackerTests.m: -------------------------------------------------------------------------------- 1 | #import 2 | #import 3 | 4 | #import 5 | #import 6 | 7 | #define TIMEOUT_SECONDS 600 8 | #define TEXT_TO_LOOK_FOR @"Welcome to React" 9 | 10 | @interface ExpenseTrackerTests : XCTestCase 11 | 12 | @end 13 | 14 | @implementation ExpenseTrackerTests 15 | 16 | - (BOOL)findSubviewInView:(UIView *)view matching:(BOOL (^)(UIView *view))test 17 | { 18 | if (test(view)) { 19 | return YES; 20 | } 21 | for (UIView *subview in [view subviews]) { 22 | if ([self findSubviewInView:subview matching:test]) { 23 | return YES; 24 | } 25 | } 26 | return NO; 27 | } 28 | 29 | - (void)testRendersWelcomeScreen 30 | { 31 | UIViewController *vc = [[[RCTSharedApplication() delegate] window] rootViewController]; 32 | NSDate *date = [NSDate dateWithTimeIntervalSinceNow:TIMEOUT_SECONDS]; 33 | BOOL foundElement = NO; 34 | 35 | __block NSString *redboxError = nil; 36 | #ifdef DEBUG 37 | RCTSetLogFunction( 38 | ^(RCTLogLevel level, RCTLogSource source, NSString *fileName, NSNumber *lineNumber, NSString *message) { 39 | if (level >= RCTLogLevelError) { 40 | redboxError = message; 41 | } 42 | }); 43 | #endif 44 | 45 | while ([date timeIntervalSinceNow] > 0 && !foundElement && !redboxError) { 46 | [[NSRunLoop mainRunLoop] runMode:NSDefaultRunLoopMode beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]]; 47 | [[NSRunLoop mainRunLoop] runMode:NSRunLoopCommonModes beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]]; 48 | 49 | foundElement = [self findSubviewInView:vc.view 50 | matching:^BOOL(UIView *view) { 51 | if ([view.accessibilityLabel isEqualToString:TEXT_TO_LOOK_FOR]) { 52 | return YES; 53 | } 54 | return NO; 55 | }]; 56 | } 57 | 58 | #ifdef DEBUG 59 | RCTSetLogFunction(RCTDefaultLogFunction); 60 | #endif 61 | 62 | XCTAssertNil(redboxError, @"RedBox error: %@", redboxError); 63 | XCTAssertTrue(foundElement, @"Couldn't find element with text '%@' in %d seconds", TEXT_TO_LOOK_FOR, TIMEOUT_SECONDS); 64 | } 65 | 66 | @end 67 | -------------------------------------------------------------------------------- /ios/ExpenseTrackerTests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | 24 | 25 | -------------------------------------------------------------------------------- /ios/Podfile: -------------------------------------------------------------------------------- 1 | # Resolve react_native_pods.rb with node to allow for hoisting 2 | require Pod::Executable.execute_command('node', ['-p', 3 | 'require.resolve( 4 | "react-native/scripts/react_native_pods.rb", 5 | {paths: [process.argv[1]]}, 6 | )', __dir__]).strip 7 | 8 | platform :ios, min_ios_version_supported 9 | prepare_react_native_project! 10 | 11 | # If you are using a `react-native-flipper` your iOS build will fail when `NO_FLIPPER=1` is set. 12 | # because `react-native-flipper` depends on (FlipperKit,...) that will be excluded 13 | # 14 | # To fix this you can also exclude `react-native-flipper` using a `react-native.config.js` 15 | # ```js 16 | # module.exports = { 17 | # dependencies: { 18 | # ...(process.env.NO_FLIPPER ? { 'react-native-flipper': { platforms: { ios: null } } } : {}), 19 | # ``` 20 | flipper_config = ENV['NO_FLIPPER'] == "1" ? FlipperConfiguration.disabled : FlipperConfiguration.enabled 21 | 22 | linkage = ENV['USE_FRAMEWORKS'] 23 | if linkage != nil 24 | Pod::UI.puts "Configuring Pod with #{linkage}ally linked Frameworks".green 25 | use_frameworks! :linkage => linkage.to_sym 26 | end 27 | 28 | target 'ExpenseTracker' do 29 | config = use_native_modules! 30 | 31 | # Flags change depending on the env values. 32 | flags = get_default_flags() 33 | 34 | use_react_native!( 35 | :path => config[:reactNativePath], 36 | # Hermes is now enabled by default. Disable by setting this flag to false. 37 | :hermes_enabled => flags[:hermes_enabled], 38 | :fabric_enabled => flags[:fabric_enabled], 39 | # Enables Flipper. 40 | # 41 | # Note that if you have use_frameworks! enabled, Flipper will not work and 42 | # you should disable the next line. 43 | :flipper_configuration => flipper_config, 44 | # An absolute path to your application root. 45 | :app_path => "#{Pod::Config.instance.installation_root}/.." 46 | ) 47 | 48 | target 'ExpenseTrackerTests' do 49 | inherit! :complete 50 | # Pods for testing 51 | end 52 | 53 | post_install do |installer| 54 | # https://github.com/facebook/react-native/blob/main/packages/react-native/scripts/react_native_pods.rb#L197-L202 55 | react_native_post_install( 56 | installer, 57 | config[:reactNativePath], 58 | :mac_catalyst_enabled => false 59 | ) 60 | __apply_Xcode_12_5_M1_post_install_workaround(installer) 61 | end 62 | end 63 | -------------------------------------------------------------------------------- /ios/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - boost (1.76.0) 3 | - CocoaAsyncSocket (7.6.5) 4 | - DoubleConversion (1.1.6) 5 | - FBLazyVector (0.72.4) 6 | - FBReactNativeSpec (0.72.4): 7 | - RCT-Folly (= 2021.07.22.00) 8 | - RCTRequired (= 0.72.4) 9 | - RCTTypeSafety (= 0.72.4) 10 | - React-Core (= 0.72.4) 11 | - React-jsi (= 0.72.4) 12 | - ReactCommon/turbomodule/core (= 0.72.4) 13 | - Flipper (0.182.0): 14 | - Flipper-Folly (~> 2.6) 15 | - Flipper-Boost-iOSX (1.76.0.1.11) 16 | - Flipper-DoubleConversion (3.2.0.1) 17 | - Flipper-Fmt (7.1.7) 18 | - Flipper-Folly (2.6.10): 19 | - Flipper-Boost-iOSX 20 | - Flipper-DoubleConversion 21 | - Flipper-Fmt (= 7.1.7) 22 | - Flipper-Glog 23 | - libevent (~> 2.1.12) 24 | - OpenSSL-Universal (= 1.1.1100) 25 | - Flipper-Glog (0.5.0.5) 26 | - Flipper-PeerTalk (0.0.4) 27 | - FlipperKit (0.182.0): 28 | - FlipperKit/Core (= 0.182.0) 29 | - FlipperKit/Core (0.182.0): 30 | - Flipper (~> 0.182.0) 31 | - FlipperKit/CppBridge 32 | - FlipperKit/FBCxxFollyDynamicConvert 33 | - FlipperKit/FBDefines 34 | - FlipperKit/FKPortForwarding 35 | - SocketRocket (~> 0.6.0) 36 | - FlipperKit/CppBridge (0.182.0): 37 | - Flipper (~> 0.182.0) 38 | - FlipperKit/FBCxxFollyDynamicConvert (0.182.0): 39 | - Flipper-Folly (~> 2.6) 40 | - FlipperKit/FBDefines (0.182.0) 41 | - FlipperKit/FKPortForwarding (0.182.0): 42 | - CocoaAsyncSocket (~> 7.6) 43 | - Flipper-PeerTalk (~> 0.0.4) 44 | - FlipperKit/FlipperKitHighlightOverlay (0.182.0) 45 | - FlipperKit/FlipperKitLayoutHelpers (0.182.0): 46 | - FlipperKit/Core 47 | - FlipperKit/FlipperKitHighlightOverlay 48 | - FlipperKit/FlipperKitLayoutTextSearchable 49 | - FlipperKit/FlipperKitLayoutIOSDescriptors (0.182.0): 50 | - FlipperKit/Core 51 | - FlipperKit/FlipperKitHighlightOverlay 52 | - FlipperKit/FlipperKitLayoutHelpers 53 | - YogaKit (~> 1.18) 54 | - FlipperKit/FlipperKitLayoutPlugin (0.182.0): 55 | - FlipperKit/Core 56 | - FlipperKit/FlipperKitHighlightOverlay 57 | - FlipperKit/FlipperKitLayoutHelpers 58 | - FlipperKit/FlipperKitLayoutIOSDescriptors 59 | - FlipperKit/FlipperKitLayoutTextSearchable 60 | - YogaKit (~> 1.18) 61 | - FlipperKit/FlipperKitLayoutTextSearchable (0.182.0) 62 | - FlipperKit/FlipperKitNetworkPlugin (0.182.0): 63 | - FlipperKit/Core 64 | - FlipperKit/FlipperKitReactPlugin (0.182.0): 65 | - FlipperKit/Core 66 | - FlipperKit/FlipperKitUserDefaultsPlugin (0.182.0): 67 | - FlipperKit/Core 68 | - FlipperKit/SKIOSNetworkPlugin (0.182.0): 69 | - FlipperKit/Core 70 | - FlipperKit/FlipperKitNetworkPlugin 71 | - fmt (6.2.1) 72 | - glog (0.3.5) 73 | - hermes-engine (0.72.4): 74 | - hermes-engine/Pre-built (= 0.72.4) 75 | - hermes-engine/Pre-built (0.72.4) 76 | - libevent (2.1.12) 77 | - OpenSSL-Universal (1.1.1100) 78 | - RCT-Folly (2021.07.22.00): 79 | - boost 80 | - DoubleConversion 81 | - fmt (~> 6.2.1) 82 | - glog 83 | - RCT-Folly/Default (= 2021.07.22.00) 84 | - RCT-Folly/Default (2021.07.22.00): 85 | - boost 86 | - DoubleConversion 87 | - fmt (~> 6.2.1) 88 | - glog 89 | - RCT-Folly/Futures (2021.07.22.00): 90 | - boost 91 | - DoubleConversion 92 | - fmt (~> 6.2.1) 93 | - glog 94 | - libevent 95 | - RCTRequired (0.72.4) 96 | - RCTTypeSafety (0.72.4): 97 | - FBLazyVector (= 0.72.4) 98 | - RCTRequired (= 0.72.4) 99 | - React-Core (= 0.72.4) 100 | - React (0.72.4): 101 | - React-Core (= 0.72.4) 102 | - React-Core/DevSupport (= 0.72.4) 103 | - React-Core/RCTWebSocket (= 0.72.4) 104 | - React-RCTActionSheet (= 0.72.4) 105 | - React-RCTAnimation (= 0.72.4) 106 | - React-RCTBlob (= 0.72.4) 107 | - React-RCTImage (= 0.72.4) 108 | - React-RCTLinking (= 0.72.4) 109 | - React-RCTNetwork (= 0.72.4) 110 | - React-RCTSettings (= 0.72.4) 111 | - React-RCTText (= 0.72.4) 112 | - React-RCTVibration (= 0.72.4) 113 | - React-callinvoker (0.72.4) 114 | - React-Codegen (0.72.4): 115 | - DoubleConversion 116 | - FBReactNativeSpec 117 | - glog 118 | - hermes-engine 119 | - RCT-Folly 120 | - RCTRequired 121 | - RCTTypeSafety 122 | - React-Core 123 | - React-jsi 124 | - React-jsiexecutor 125 | - React-NativeModulesApple 126 | - React-rncore 127 | - ReactCommon/turbomodule/bridging 128 | - ReactCommon/turbomodule/core 129 | - React-Core (0.72.4): 130 | - glog 131 | - hermes-engine 132 | - RCT-Folly (= 2021.07.22.00) 133 | - React-Core/Default (= 0.72.4) 134 | - React-cxxreact 135 | - React-hermes 136 | - React-jsi 137 | - React-jsiexecutor 138 | - React-perflogger 139 | - React-runtimeexecutor 140 | - React-utils 141 | - SocketRocket (= 0.6.1) 142 | - Yoga 143 | - React-Core/CoreModulesHeaders (0.72.4): 144 | - glog 145 | - hermes-engine 146 | - RCT-Folly (= 2021.07.22.00) 147 | - React-Core/Default 148 | - React-cxxreact 149 | - React-hermes 150 | - React-jsi 151 | - React-jsiexecutor 152 | - React-perflogger 153 | - React-runtimeexecutor 154 | - React-utils 155 | - SocketRocket (= 0.6.1) 156 | - Yoga 157 | - React-Core/Default (0.72.4): 158 | - glog 159 | - hermes-engine 160 | - RCT-Folly (= 2021.07.22.00) 161 | - React-cxxreact 162 | - React-hermes 163 | - React-jsi 164 | - React-jsiexecutor 165 | - React-perflogger 166 | - React-runtimeexecutor 167 | - React-utils 168 | - SocketRocket (= 0.6.1) 169 | - Yoga 170 | - React-Core/DevSupport (0.72.4): 171 | - glog 172 | - hermes-engine 173 | - RCT-Folly (= 2021.07.22.00) 174 | - React-Core/Default (= 0.72.4) 175 | - React-Core/RCTWebSocket (= 0.72.4) 176 | - React-cxxreact 177 | - React-hermes 178 | - React-jsi 179 | - React-jsiexecutor 180 | - React-jsinspector (= 0.72.4) 181 | - React-perflogger 182 | - React-runtimeexecutor 183 | - React-utils 184 | - SocketRocket (= 0.6.1) 185 | - Yoga 186 | - React-Core/RCTActionSheetHeaders (0.72.4): 187 | - glog 188 | - hermes-engine 189 | - RCT-Folly (= 2021.07.22.00) 190 | - React-Core/Default 191 | - React-cxxreact 192 | - React-hermes 193 | - React-jsi 194 | - React-jsiexecutor 195 | - React-perflogger 196 | - React-runtimeexecutor 197 | - React-utils 198 | - SocketRocket (= 0.6.1) 199 | - Yoga 200 | - React-Core/RCTAnimationHeaders (0.72.4): 201 | - glog 202 | - hermes-engine 203 | - RCT-Folly (= 2021.07.22.00) 204 | - React-Core/Default 205 | - React-cxxreact 206 | - React-hermes 207 | - React-jsi 208 | - React-jsiexecutor 209 | - React-perflogger 210 | - React-runtimeexecutor 211 | - React-utils 212 | - SocketRocket (= 0.6.1) 213 | - Yoga 214 | - React-Core/RCTBlobHeaders (0.72.4): 215 | - glog 216 | - hermes-engine 217 | - RCT-Folly (= 2021.07.22.00) 218 | - React-Core/Default 219 | - React-cxxreact 220 | - React-hermes 221 | - React-jsi 222 | - React-jsiexecutor 223 | - React-perflogger 224 | - React-runtimeexecutor 225 | - React-utils 226 | - SocketRocket (= 0.6.1) 227 | - Yoga 228 | - React-Core/RCTImageHeaders (0.72.4): 229 | - glog 230 | - hermes-engine 231 | - RCT-Folly (= 2021.07.22.00) 232 | - React-Core/Default 233 | - React-cxxreact 234 | - React-hermes 235 | - React-jsi 236 | - React-jsiexecutor 237 | - React-perflogger 238 | - React-runtimeexecutor 239 | - React-utils 240 | - SocketRocket (= 0.6.1) 241 | - Yoga 242 | - React-Core/RCTLinkingHeaders (0.72.4): 243 | - glog 244 | - hermes-engine 245 | - RCT-Folly (= 2021.07.22.00) 246 | - React-Core/Default 247 | - React-cxxreact 248 | - React-hermes 249 | - React-jsi 250 | - React-jsiexecutor 251 | - React-perflogger 252 | - React-runtimeexecutor 253 | - React-utils 254 | - SocketRocket (= 0.6.1) 255 | - Yoga 256 | - React-Core/RCTNetworkHeaders (0.72.4): 257 | - glog 258 | - hermes-engine 259 | - RCT-Folly (= 2021.07.22.00) 260 | - React-Core/Default 261 | - React-cxxreact 262 | - React-hermes 263 | - React-jsi 264 | - React-jsiexecutor 265 | - React-perflogger 266 | - React-runtimeexecutor 267 | - React-utils 268 | - SocketRocket (= 0.6.1) 269 | - Yoga 270 | - React-Core/RCTSettingsHeaders (0.72.4): 271 | - glog 272 | - hermes-engine 273 | - RCT-Folly (= 2021.07.22.00) 274 | - React-Core/Default 275 | - React-cxxreact 276 | - React-hermes 277 | - React-jsi 278 | - React-jsiexecutor 279 | - React-perflogger 280 | - React-runtimeexecutor 281 | - React-utils 282 | - SocketRocket (= 0.6.1) 283 | - Yoga 284 | - React-Core/RCTTextHeaders (0.72.4): 285 | - glog 286 | - hermes-engine 287 | - RCT-Folly (= 2021.07.22.00) 288 | - React-Core/Default 289 | - React-cxxreact 290 | - React-hermes 291 | - React-jsi 292 | - React-jsiexecutor 293 | - React-perflogger 294 | - React-runtimeexecutor 295 | - React-utils 296 | - SocketRocket (= 0.6.1) 297 | - Yoga 298 | - React-Core/RCTVibrationHeaders (0.72.4): 299 | - glog 300 | - hermes-engine 301 | - RCT-Folly (= 2021.07.22.00) 302 | - React-Core/Default 303 | - React-cxxreact 304 | - React-hermes 305 | - React-jsi 306 | - React-jsiexecutor 307 | - React-perflogger 308 | - React-runtimeexecutor 309 | - React-utils 310 | - SocketRocket (= 0.6.1) 311 | - Yoga 312 | - React-Core/RCTWebSocket (0.72.4): 313 | - glog 314 | - hermes-engine 315 | - RCT-Folly (= 2021.07.22.00) 316 | - React-Core/Default (= 0.72.4) 317 | - React-cxxreact 318 | - React-hermes 319 | - React-jsi 320 | - React-jsiexecutor 321 | - React-perflogger 322 | - React-runtimeexecutor 323 | - React-utils 324 | - SocketRocket (= 0.6.1) 325 | - Yoga 326 | - React-CoreModules (0.72.4): 327 | - RCT-Folly (= 2021.07.22.00) 328 | - RCTTypeSafety (= 0.72.4) 329 | - React-Codegen (= 0.72.4) 330 | - React-Core/CoreModulesHeaders (= 0.72.4) 331 | - React-jsi (= 0.72.4) 332 | - React-RCTBlob 333 | - React-RCTImage (= 0.72.4) 334 | - ReactCommon/turbomodule/core (= 0.72.4) 335 | - SocketRocket (= 0.6.1) 336 | - React-cxxreact (0.72.4): 337 | - boost (= 1.76.0) 338 | - DoubleConversion 339 | - glog 340 | - hermes-engine 341 | - RCT-Folly (= 2021.07.22.00) 342 | - React-callinvoker (= 0.72.4) 343 | - React-debug (= 0.72.4) 344 | - React-jsi (= 0.72.4) 345 | - React-jsinspector (= 0.72.4) 346 | - React-logger (= 0.72.4) 347 | - React-perflogger (= 0.72.4) 348 | - React-runtimeexecutor (= 0.72.4) 349 | - React-debug (0.72.4) 350 | - React-hermes (0.72.4): 351 | - DoubleConversion 352 | - glog 353 | - hermes-engine 354 | - RCT-Folly (= 2021.07.22.00) 355 | - RCT-Folly/Futures (= 2021.07.22.00) 356 | - React-cxxreact (= 0.72.4) 357 | - React-jsi 358 | - React-jsiexecutor (= 0.72.4) 359 | - React-jsinspector (= 0.72.4) 360 | - React-perflogger (= 0.72.4) 361 | - React-jsi (0.72.4): 362 | - boost (= 1.76.0) 363 | - DoubleConversion 364 | - glog 365 | - hermes-engine 366 | - RCT-Folly (= 2021.07.22.00) 367 | - React-jsiexecutor (0.72.4): 368 | - DoubleConversion 369 | - glog 370 | - hermes-engine 371 | - RCT-Folly (= 2021.07.22.00) 372 | - React-cxxreact (= 0.72.4) 373 | - React-jsi (= 0.72.4) 374 | - React-perflogger (= 0.72.4) 375 | - React-jsinspector (0.72.4) 376 | - React-logger (0.72.4): 377 | - glog 378 | - react-native-safe-area-context (4.6.3): 379 | - RCT-Folly 380 | - RCTRequired 381 | - RCTTypeSafety 382 | - React-Core 383 | - ReactCommon/turbomodule/core 384 | - React-NativeModulesApple (0.72.4): 385 | - hermes-engine 386 | - React-callinvoker 387 | - React-Core 388 | - React-cxxreact 389 | - React-jsi 390 | - React-runtimeexecutor 391 | - ReactCommon/turbomodule/bridging 392 | - ReactCommon/turbomodule/core 393 | - React-perflogger (0.72.4) 394 | - React-RCTActionSheet (0.72.4): 395 | - React-Core/RCTActionSheetHeaders (= 0.72.4) 396 | - React-RCTAnimation (0.72.4): 397 | - RCT-Folly (= 2021.07.22.00) 398 | - RCTTypeSafety (= 0.72.4) 399 | - React-Codegen (= 0.72.4) 400 | - React-Core/RCTAnimationHeaders (= 0.72.4) 401 | - React-jsi (= 0.72.4) 402 | - ReactCommon/turbomodule/core (= 0.72.4) 403 | - React-RCTAppDelegate (0.72.4): 404 | - RCT-Folly 405 | - RCTRequired 406 | - RCTTypeSafety 407 | - React-Core 408 | - React-CoreModules 409 | - React-hermes 410 | - React-NativeModulesApple 411 | - React-RCTImage 412 | - React-RCTNetwork 413 | - React-runtimescheduler 414 | - ReactCommon/turbomodule/core 415 | - React-RCTBlob (0.72.4): 416 | - hermes-engine 417 | - RCT-Folly (= 2021.07.22.00) 418 | - React-Codegen (= 0.72.4) 419 | - React-Core/RCTBlobHeaders (= 0.72.4) 420 | - React-Core/RCTWebSocket (= 0.72.4) 421 | - React-jsi (= 0.72.4) 422 | - React-RCTNetwork (= 0.72.4) 423 | - ReactCommon/turbomodule/core (= 0.72.4) 424 | - React-RCTImage (0.72.4): 425 | - RCT-Folly (= 2021.07.22.00) 426 | - RCTTypeSafety (= 0.72.4) 427 | - React-Codegen (= 0.72.4) 428 | - React-Core/RCTImageHeaders (= 0.72.4) 429 | - React-jsi (= 0.72.4) 430 | - React-RCTNetwork (= 0.72.4) 431 | - ReactCommon/turbomodule/core (= 0.72.4) 432 | - React-RCTLinking (0.72.4): 433 | - React-Codegen (= 0.72.4) 434 | - React-Core/RCTLinkingHeaders (= 0.72.4) 435 | - React-jsi (= 0.72.4) 436 | - ReactCommon/turbomodule/core (= 0.72.4) 437 | - React-RCTNetwork (0.72.4): 438 | - RCT-Folly (= 2021.07.22.00) 439 | - RCTTypeSafety (= 0.72.4) 440 | - React-Codegen (= 0.72.4) 441 | - React-Core/RCTNetworkHeaders (= 0.72.4) 442 | - React-jsi (= 0.72.4) 443 | - ReactCommon/turbomodule/core (= 0.72.4) 444 | - React-RCTSettings (0.72.4): 445 | - RCT-Folly (= 2021.07.22.00) 446 | - RCTTypeSafety (= 0.72.4) 447 | - React-Codegen (= 0.72.4) 448 | - React-Core/RCTSettingsHeaders (= 0.72.4) 449 | - React-jsi (= 0.72.4) 450 | - ReactCommon/turbomodule/core (= 0.72.4) 451 | - React-RCTText (0.72.4): 452 | - React-Core/RCTTextHeaders (= 0.72.4) 453 | - React-RCTVibration (0.72.4): 454 | - RCT-Folly (= 2021.07.22.00) 455 | - React-Codegen (= 0.72.4) 456 | - React-Core/RCTVibrationHeaders (= 0.72.4) 457 | - React-jsi (= 0.72.4) 458 | - ReactCommon/turbomodule/core (= 0.72.4) 459 | - React-rncore (0.72.4) 460 | - React-runtimeexecutor (0.72.4): 461 | - React-jsi (= 0.72.4) 462 | - React-runtimescheduler (0.72.4): 463 | - glog 464 | - hermes-engine 465 | - RCT-Folly (= 2021.07.22.00) 466 | - React-callinvoker 467 | - React-debug 468 | - React-jsi 469 | - React-runtimeexecutor 470 | - React-utils (0.72.4): 471 | - glog 472 | - RCT-Folly (= 2021.07.22.00) 473 | - React-debug 474 | - ReactCommon/turbomodule/bridging (0.72.4): 475 | - DoubleConversion 476 | - glog 477 | - hermes-engine 478 | - RCT-Folly (= 2021.07.22.00) 479 | - React-callinvoker (= 0.72.4) 480 | - React-cxxreact (= 0.72.4) 481 | - React-jsi (= 0.72.4) 482 | - React-logger (= 0.72.4) 483 | - React-perflogger (= 0.72.4) 484 | - ReactCommon/turbomodule/core (0.72.4): 485 | - DoubleConversion 486 | - glog 487 | - hermes-engine 488 | - RCT-Folly (= 2021.07.22.00) 489 | - React-callinvoker (= 0.72.4) 490 | - React-cxxreact (= 0.72.4) 491 | - React-jsi (= 0.72.4) 492 | - React-logger (= 0.72.4) 493 | - React-perflogger (= 0.72.4) 494 | - RNGestureHandler (2.12.1): 495 | - React-Core 496 | - RNReanimated (3.3.0): 497 | - DoubleConversion 498 | - FBLazyVector 499 | - glog 500 | - hermes-engine 501 | - RCT-Folly 502 | - RCTRequired 503 | - RCTTypeSafety 504 | - React-callinvoker 505 | - React-Core 506 | - React-Core/DevSupport 507 | - React-Core/RCTWebSocket 508 | - React-CoreModules 509 | - React-cxxreact 510 | - React-hermes 511 | - React-jsi 512 | - React-jsiexecutor 513 | - React-jsinspector 514 | - React-RCTActionSheet 515 | - React-RCTAnimation 516 | - React-RCTAppDelegate 517 | - React-RCTBlob 518 | - React-RCTImage 519 | - React-RCTLinking 520 | - React-RCTNetwork 521 | - React-RCTSettings 522 | - React-RCTText 523 | - ReactCommon/turbomodule/core 524 | - Yoga 525 | - RNScreens (3.22.1): 526 | - React-Core 527 | - React-RCTImage 528 | - RNSVG (13.9.0): 529 | - React-Core 530 | - SocketRocket (0.6.1) 531 | - Yoga (1.14.0) 532 | - YogaKit (1.18.1): 533 | - Yoga (~> 1.14) 534 | 535 | DEPENDENCIES: 536 | - boost (from `../node_modules/react-native/third-party-podspecs/boost.podspec`) 537 | - DoubleConversion (from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`) 538 | - FBLazyVector (from `../node_modules/react-native/Libraries/FBLazyVector`) 539 | - FBReactNativeSpec (from `../node_modules/react-native/React/FBReactNativeSpec`) 540 | - Flipper (= 0.182.0) 541 | - Flipper-Boost-iOSX (= 1.76.0.1.11) 542 | - Flipper-DoubleConversion (= 3.2.0.1) 543 | - Flipper-Fmt (= 7.1.7) 544 | - Flipper-Folly (= 2.6.10) 545 | - Flipper-Glog (= 0.5.0.5) 546 | - Flipper-PeerTalk (= 0.0.4) 547 | - FlipperKit (= 0.182.0) 548 | - FlipperKit/Core (= 0.182.0) 549 | - FlipperKit/CppBridge (= 0.182.0) 550 | - FlipperKit/FBCxxFollyDynamicConvert (= 0.182.0) 551 | - FlipperKit/FBDefines (= 0.182.0) 552 | - FlipperKit/FKPortForwarding (= 0.182.0) 553 | - FlipperKit/FlipperKitHighlightOverlay (= 0.182.0) 554 | - FlipperKit/FlipperKitLayoutPlugin (= 0.182.0) 555 | - FlipperKit/FlipperKitLayoutTextSearchable (= 0.182.0) 556 | - FlipperKit/FlipperKitNetworkPlugin (= 0.182.0) 557 | - FlipperKit/FlipperKitReactPlugin (= 0.182.0) 558 | - FlipperKit/FlipperKitUserDefaultsPlugin (= 0.182.0) 559 | - FlipperKit/SKIOSNetworkPlugin (= 0.182.0) 560 | - glog (from `../node_modules/react-native/third-party-podspecs/glog.podspec`) 561 | - hermes-engine (from `../node_modules/react-native/sdks/hermes-engine/hermes-engine.podspec`) 562 | - libevent (~> 2.1.12) 563 | - OpenSSL-Universal (= 1.1.1100) 564 | - RCT-Folly (from `../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec`) 565 | - RCTRequired (from `../node_modules/react-native/Libraries/RCTRequired`) 566 | - RCTTypeSafety (from `../node_modules/react-native/Libraries/TypeSafety`) 567 | - React (from `../node_modules/react-native/`) 568 | - React-callinvoker (from `../node_modules/react-native/ReactCommon/callinvoker`) 569 | - React-Codegen (from `build/generated/ios`) 570 | - React-Core (from `../node_modules/react-native/`) 571 | - React-Core/DevSupport (from `../node_modules/react-native/`) 572 | - React-Core/RCTWebSocket (from `../node_modules/react-native/`) 573 | - React-CoreModules (from `../node_modules/react-native/React/CoreModules`) 574 | - React-cxxreact (from `../node_modules/react-native/ReactCommon/cxxreact`) 575 | - React-debug (from `../node_modules/react-native/ReactCommon/react/debug`) 576 | - React-hermes (from `../node_modules/react-native/ReactCommon/hermes`) 577 | - React-jsi (from `../node_modules/react-native/ReactCommon/jsi`) 578 | - React-jsiexecutor (from `../node_modules/react-native/ReactCommon/jsiexecutor`) 579 | - React-jsinspector (from `../node_modules/react-native/ReactCommon/jsinspector`) 580 | - React-logger (from `../node_modules/react-native/ReactCommon/logger`) 581 | - react-native-safe-area-context (from `../node_modules/react-native-safe-area-context`) 582 | - React-NativeModulesApple (from `../node_modules/react-native/ReactCommon/react/nativemodule/core/platform/ios`) 583 | - React-perflogger (from `../node_modules/react-native/ReactCommon/reactperflogger`) 584 | - React-RCTActionSheet (from `../node_modules/react-native/Libraries/ActionSheetIOS`) 585 | - React-RCTAnimation (from `../node_modules/react-native/Libraries/NativeAnimation`) 586 | - React-RCTAppDelegate (from `../node_modules/react-native/Libraries/AppDelegate`) 587 | - React-RCTBlob (from `../node_modules/react-native/Libraries/Blob`) 588 | - React-RCTImage (from `../node_modules/react-native/Libraries/Image`) 589 | - React-RCTLinking (from `../node_modules/react-native/Libraries/LinkingIOS`) 590 | - React-RCTNetwork (from `../node_modules/react-native/Libraries/Network`) 591 | - React-RCTSettings (from `../node_modules/react-native/Libraries/Settings`) 592 | - React-RCTText (from `../node_modules/react-native/Libraries/Text`) 593 | - React-RCTVibration (from `../node_modules/react-native/Libraries/Vibration`) 594 | - React-rncore (from `../node_modules/react-native/ReactCommon`) 595 | - React-runtimeexecutor (from `../node_modules/react-native/ReactCommon/runtimeexecutor`) 596 | - React-runtimescheduler (from `../node_modules/react-native/ReactCommon/react/renderer/runtimescheduler`) 597 | - React-utils (from `../node_modules/react-native/ReactCommon/react/utils`) 598 | - ReactCommon/turbomodule/core (from `../node_modules/react-native/ReactCommon`) 599 | - RNGestureHandler (from `../node_modules/react-native-gesture-handler`) 600 | - RNReanimated (from `../node_modules/react-native-reanimated`) 601 | - RNScreens (from `../node_modules/react-native-screens`) 602 | - RNSVG (from `../node_modules/react-native-svg`) 603 | - Yoga (from `../node_modules/react-native/ReactCommon/yoga`) 604 | 605 | SPEC REPOS: 606 | trunk: 607 | - CocoaAsyncSocket 608 | - Flipper 609 | - Flipper-Boost-iOSX 610 | - Flipper-DoubleConversion 611 | - Flipper-Fmt 612 | - Flipper-Folly 613 | - Flipper-Glog 614 | - Flipper-PeerTalk 615 | - FlipperKit 616 | - fmt 617 | - libevent 618 | - OpenSSL-Universal 619 | - SocketRocket 620 | - YogaKit 621 | 622 | EXTERNAL SOURCES: 623 | boost: 624 | :podspec: "../node_modules/react-native/third-party-podspecs/boost.podspec" 625 | DoubleConversion: 626 | :podspec: "../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec" 627 | FBLazyVector: 628 | :path: "../node_modules/react-native/Libraries/FBLazyVector" 629 | FBReactNativeSpec: 630 | :path: "../node_modules/react-native/React/FBReactNativeSpec" 631 | glog: 632 | :podspec: "../node_modules/react-native/third-party-podspecs/glog.podspec" 633 | hermes-engine: 634 | :podspec: "../node_modules/react-native/sdks/hermes-engine/hermes-engine.podspec" 635 | :tag: hermes-2023-08-07-RNv0.72.4-813b2def12bc9df02654b3e3653ae4a68d0572e0 636 | RCT-Folly: 637 | :podspec: "../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec" 638 | RCTRequired: 639 | :path: "../node_modules/react-native/Libraries/RCTRequired" 640 | RCTTypeSafety: 641 | :path: "../node_modules/react-native/Libraries/TypeSafety" 642 | React: 643 | :path: "../node_modules/react-native/" 644 | React-callinvoker: 645 | :path: "../node_modules/react-native/ReactCommon/callinvoker" 646 | React-Codegen: 647 | :path: build/generated/ios 648 | React-Core: 649 | :path: "../node_modules/react-native/" 650 | React-CoreModules: 651 | :path: "../node_modules/react-native/React/CoreModules" 652 | React-cxxreact: 653 | :path: "../node_modules/react-native/ReactCommon/cxxreact" 654 | React-debug: 655 | :path: "../node_modules/react-native/ReactCommon/react/debug" 656 | React-hermes: 657 | :path: "../node_modules/react-native/ReactCommon/hermes" 658 | React-jsi: 659 | :path: "../node_modules/react-native/ReactCommon/jsi" 660 | React-jsiexecutor: 661 | :path: "../node_modules/react-native/ReactCommon/jsiexecutor" 662 | React-jsinspector: 663 | :path: "../node_modules/react-native/ReactCommon/jsinspector" 664 | React-logger: 665 | :path: "../node_modules/react-native/ReactCommon/logger" 666 | react-native-safe-area-context: 667 | :path: "../node_modules/react-native-safe-area-context" 668 | React-NativeModulesApple: 669 | :path: "../node_modules/react-native/ReactCommon/react/nativemodule/core/platform/ios" 670 | React-perflogger: 671 | :path: "../node_modules/react-native/ReactCommon/reactperflogger" 672 | React-RCTActionSheet: 673 | :path: "../node_modules/react-native/Libraries/ActionSheetIOS" 674 | React-RCTAnimation: 675 | :path: "../node_modules/react-native/Libraries/NativeAnimation" 676 | React-RCTAppDelegate: 677 | :path: "../node_modules/react-native/Libraries/AppDelegate" 678 | React-RCTBlob: 679 | :path: "../node_modules/react-native/Libraries/Blob" 680 | React-RCTImage: 681 | :path: "../node_modules/react-native/Libraries/Image" 682 | React-RCTLinking: 683 | :path: "../node_modules/react-native/Libraries/LinkingIOS" 684 | React-RCTNetwork: 685 | :path: "../node_modules/react-native/Libraries/Network" 686 | React-RCTSettings: 687 | :path: "../node_modules/react-native/Libraries/Settings" 688 | React-RCTText: 689 | :path: "../node_modules/react-native/Libraries/Text" 690 | React-RCTVibration: 691 | :path: "../node_modules/react-native/Libraries/Vibration" 692 | React-rncore: 693 | :path: "../node_modules/react-native/ReactCommon" 694 | React-runtimeexecutor: 695 | :path: "../node_modules/react-native/ReactCommon/runtimeexecutor" 696 | React-runtimescheduler: 697 | :path: "../node_modules/react-native/ReactCommon/react/renderer/runtimescheduler" 698 | React-utils: 699 | :path: "../node_modules/react-native/ReactCommon/react/utils" 700 | ReactCommon: 701 | :path: "../node_modules/react-native/ReactCommon" 702 | RNGestureHandler: 703 | :path: "../node_modules/react-native-gesture-handler" 704 | RNReanimated: 705 | :path: "../node_modules/react-native-reanimated" 706 | RNScreens: 707 | :path: "../node_modules/react-native-screens" 708 | RNSVG: 709 | :path: "../node_modules/react-native-svg" 710 | Yoga: 711 | :path: "../node_modules/react-native/ReactCommon/yoga" 712 | 713 | SPEC CHECKSUMS: 714 | boost: 57d2868c099736d80fcd648bf211b4431e51a558 715 | CocoaAsyncSocket: 065fd1e645c7abab64f7a6a2007a48038fdc6a99 716 | DoubleConversion: 5189b271737e1565bdce30deb4a08d647e3f5f54 717 | FBLazyVector: 5d4a3b7f411219a45a6d952f77d2c0a6c9989da5 718 | FBReactNativeSpec: 3fc2d478e1c4b08276f9dd9128f80ec6d5d85c1f 719 | Flipper: 6edb735e6c3e332975d1b17956bcc584eccf5818 720 | Flipper-Boost-iOSX: fd1e2b8cbef7e662a122412d7ac5f5bea715403c 721 | Flipper-DoubleConversion: 2dc99b02f658daf147069aad9dbd29d8feb06d30 722 | Flipper-Fmt: 60cbdd92fc254826e61d669a5d87ef7015396a9b 723 | Flipper-Folly: 584845625005ff068a6ebf41f857f468decd26b3 724 | Flipper-Glog: 70c50ce58ddaf67dc35180db05f191692570f446 725 | Flipper-PeerTalk: 116d8f857dc6ef55c7a5a75ea3ceaafe878aadc9 726 | FlipperKit: 2efad7007d6745a3f95e4034d547be637f89d3f6 727 | fmt: ff9d55029c625d3757ed641535fd4a75fedc7ce9 728 | glog: 04b94705f318337d7ead9e6d17c019bd9b1f6b1b 729 | hermes-engine: 81191603c4eaa01f5e4ae5737a9efcf64756c7b2 730 | libevent: 4049cae6c81cdb3654a443be001fb9bdceff7913 731 | OpenSSL-Universal: ebc357f1e6bc71fa463ccb2fe676756aff50e88c 732 | RCT-Folly: 424b8c9a7a0b9ab2886ffe9c3b041ef628fd4fb1 733 | RCTRequired: c0569ecc035894e4a68baecb30fe6a7ea6e399f9 734 | RCTTypeSafety: e90354072c21236e0bcf1699011e39acd25fea2f 735 | React: a1be3c6dc0a6e949ccd3e659781aa47bbae1868f 736 | React-callinvoker: 1020b33f6cb1a1824f9ca2a86609fbce2a73c6ed 737 | React-Codegen: a0a26badf098d4a779acda922caf74f6ecabed28 738 | React-Core: 52075b80f10c26f62219d7b5d13d7d8089f027b3 739 | React-CoreModules: 21abab85d7ad9038ce2b1c33d39e3baaf7dc9244 740 | React-cxxreact: 4ad1cc861e32fb533dad6ff7a4ea25680fa1c994 741 | React-debug: 17366a3d5c5d2f5fc04f09101a4af38cb42b54ae 742 | React-hermes: 37377d0a56aa0cf55c65248271866ce3268cde3f 743 | React-jsi: 6de8b0ccc6b765b58e4eee9ee38049dbeaf5c221 744 | React-jsiexecutor: c7f826e40fa9cab5d37cab6130b1af237332b594 745 | React-jsinspector: aaed4cf551c4a1c98092436518c2d267b13a673f 746 | React-logger: da1ebe05ae06eb6db4b162202faeafac4b435e77 747 | react-native-safe-area-context: 36cc67648134e89465663b8172336a19eeda493d 748 | React-NativeModulesApple: edb5ace14f73f4969df6e7b1f3e41bef0012740f 749 | React-perflogger: 496a1a3dc6737f964107cb3ddae7f9e265ddda58 750 | React-RCTActionSheet: 02904b932b50e680f4e26e7a686b33ebf7ef3c00 751 | React-RCTAnimation: 88feaf0a85648fb8fd497ce749829774910276d6 752 | React-RCTAppDelegate: 5792ac0f0feccb584765fdd7aa81ea320c4d9b0b 753 | React-RCTBlob: 0dbc9e2a13d241b37d46b53e54630cbad1f0e141 754 | React-RCTImage: b111645ab901f8e59fc68fbe31f5731bdbeef087 755 | React-RCTLinking: 3d719727b4c098aad3588aa3559361ee0579f5de 756 | React-RCTNetwork: b44d3580be05d74556ba4efbf53570f17e38f734 757 | React-RCTSettings: c0c54b330442c29874cd4dae6e94190dc11a6f6f 758 | React-RCTText: 9b9f5589d9b649d7246c3f336e116496df28cfe6 759 | React-RCTVibration: 691c67f3beaf1d084ceed5eb5c1dddd9afa8591e 760 | React-rncore: 142268f6c92e296dc079aadda3fade778562f9e4 761 | React-runtimeexecutor: d465ba0c47ef3ed8281143f59605cacc2244d5c7 762 | React-runtimescheduler: 4941cc1b3cf08b792fbf666342c9fc95f1969035 763 | React-utils: b79f2411931f9d3ea5781404dcbb2fa8a837e13a 764 | ReactCommon: 4b2bdcb50a3543e1c2b2849ad44533686610826d 765 | RNGestureHandler: c0d04458598fcb26052494ae23dda8f8f5162b13 766 | RNReanimated: 9f7068e43b9358a46a688d94a5a3adb258139457 767 | RNScreens: 50ffe2fa2342eabb2d0afbe19f7c1af286bc7fb3 768 | RNSVG: 53c661b76829783cdaf9b7a57258f3d3b4c28315 769 | SocketRocket: f32cd54efbe0f095c4d7594881e52619cfe80b17 770 | Yoga: 3efc43e0d48686ce2e8c60f99d4e6bd349aff981 771 | YogaKit: f782866e155069a2cca2517aafea43200b01fd5a 772 | 773 | PODFILE CHECKSUM: 2881f07aaf8afb76631b12a0434041a2ea613120 774 | 775 | COCOAPODS: 1.11.2 776 | -------------------------------------------------------------------------------- /ios/_xcode.env: -------------------------------------------------------------------------------- 1 | # This `.xcode.env` file is versioned and is used to source the environment 2 | # used when running script phases inside Xcode. 3 | # To customize your local environment, you can create an `.xcode.env.local` 4 | # file that is not versioned. 5 | 6 | # NODE_BINARY variable contains the PATH to the node executable. 7 | # 8 | # Customize the NODE_BINARY variable here. 9 | # For example, to use nvm with brew, add the following line 10 | # . "$(brew --prefix nvm)/nvm.sh" --no-use 11 | export NODE_BINARY=$(command -v node) 12 | -------------------------------------------------------------------------------- /ios/link-assets-manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "migIndex": 1, 3 | "data": [ 4 | { 5 | "path": "assets/fonts/Roboto-Black.ttf", 6 | "sha1": "14701060227dbc4a4ec9901970e8a58bb136efd9" 7 | }, 8 | { 9 | "path": "assets/fonts/Roboto-BlackItalic.ttf", 10 | "sha1": "3009f8bc7f3aa84fd483469422442cc3789e0579" 11 | }, 12 | { 13 | "path": "assets/fonts/Roboto-Bold.ttf", 14 | "sha1": "6cbb57ba2355cf442e06899898ff5af55867103e" 15 | }, 16 | { 17 | "path": "assets/fonts/Roboto-BoldItalic.ttf", 18 | "sha1": "cd6a28033099099036e2a2182c9c4475394deaad" 19 | }, 20 | { 21 | "path": "assets/fonts/Roboto-Italic.ttf", 22 | "sha1": "4c4faf7a3fae4d0b1474561f0080995d358861ac" 23 | }, 24 | { 25 | "path": "assets/fonts/Roboto-Light.ttf", 26 | "sha1": "191dda7a5142990cd980727d43b27e4802f0b321" 27 | }, 28 | { 29 | "path": "assets/fonts/Roboto-LightItalic.ttf", 30 | "sha1": "693445f41eaa750b789a77568f9d6d995e85e0b2" 31 | }, 32 | { 33 | "path": "assets/fonts/Roboto-Medium.ttf", 34 | "sha1": "adbc3bde424bcf7dbc38f148005c8319825891f2" 35 | }, 36 | { 37 | "path": "assets/fonts/Roboto-MediumItalic.ttf", 38 | "sha1": "75feb92a7fc61d00e8ca610a700344738ef5ae32" 39 | }, 40 | { 41 | "path": "assets/fonts/Roboto-Regular.ttf", 42 | "sha1": "1d1d41fcadc571decb6444211b7993b99ce926e2" 43 | }, 44 | { 45 | "path": "assets/fonts/Roboto-Thin.ttf", 46 | "sha1": "f71ccd563f95ccc187cf4fe81287445e91f7121b" 47 | }, 48 | { 49 | "path": "assets/fonts/Roboto-ThinItalic.ttf", 50 | "sha1": "e3fb2b2a0dc2daf84d79cfff4b345a2afac132bc" 51 | }, 52 | { 53 | "path": "assets/fonts/RobotoCondensed-Bold.ttf", 54 | "sha1": "c348d9f1b95e103ac2d14d56682867368f385b1a" 55 | }, 56 | { 57 | "path": "assets/fonts/RobotoCondensed-BoldItalic.ttf", 58 | "sha1": "3bd9f2b8c65c4dd80f535b9ddd937784e0d71ce6" 59 | }, 60 | { 61 | "path": "assets/fonts/RobotoCondensed-Italic.ttf", 62 | "sha1": "394439fa97f36bba80f061e32e46ead1650e798e" 63 | }, 64 | { 65 | "path": "assets/fonts/RobotoCondensed-Light.ttf", 66 | "sha1": "df222c27b5e41dc89ca76a4479c9dd3ae6c1acbc" 67 | }, 68 | { 69 | "path": "assets/fonts/RobotoCondensed-LightItalic.ttf", 70 | "sha1": "d974583f3217141e4fc04bf94c3c6f94d9f56f8f" 71 | }, 72 | { 73 | "path": "assets/fonts/RobotoCondensed-Regular.ttf", 74 | "sha1": "c722696501a8663d64208d754e4db8165d3936f6" 75 | } 76 | ] 77 | } 78 | -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | preset: 'react-native', 3 | }; 4 | -------------------------------------------------------------------------------- /metro.config.js: -------------------------------------------------------------------------------- 1 | const {getDefaultConfig, mergeConfig} = require('@react-native/metro-config'); 2 | 3 | /** 4 | * Metro configuration 5 | * https://facebook.github.io/metro/docs/configuration 6 | * 7 | * @type {import('metro-config').MetroConfig} 8 | */ 9 | const config = {}; 10 | 11 | module.exports = mergeConfig(getDefaultConfig(__dirname), config); 12 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "expensetracker", 3 | "version": "0.0.1", 4 | "private": true, 5 | "scripts": { 6 | "android": "react-native run-android", 7 | "ios": "react-native run-ios", 8 | "lint": "eslint .", 9 | "start": "react-native start", 10 | "test": "jest" 11 | }, 12 | "dependencies": { 13 | "@react-navigation/native": "^6.1.7", 14 | "@react-navigation/stack": "^6.3.17", 15 | "react": "18.2.0", 16 | "react-native": "0.72.4", 17 | "react-native-gesture-handler": "^2.12.0", 18 | "react-native-iphone-x-helper": "^1.3.1", 19 | "react-native-reanimated": "~3.3.0", 20 | "react-native-safe-area-context": "4.6.3", 21 | "react-native-screens": "~3.22.0", 22 | "react-native-svg": "13.9.0", 23 | "react-native-web": "~0.19.6", 24 | "victory-native": "^36.6.0" 25 | }, 26 | "devDependencies": { 27 | "@babel/core": "^7.20.0", 28 | "@babel/preset-env": "^7.20.0", 29 | "@babel/runtime": "^7.20.0", 30 | "@react-native/eslint-config": "^0.72.2", 31 | "@react-native/metro-config": "^0.72.11", 32 | "@tsconfig/react-native": "^3.0.0", 33 | "@types/react": "^18.0.24", 34 | "@types/react-test-renderer": "^18.0.0", 35 | "babel-jest": "^29.2.1", 36 | "eslint": "^8.19.0", 37 | "jest": "^29.2.1", 38 | "metro-react-native-babel-preset": "0.76.8", 39 | "prettier": "^2.4.1", 40 | "react-test-renderer": "18.2.0", 41 | "typescript": "4.8.4" 42 | }, 43 | "engines": { 44 | "node": ">=16" 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /react-native.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | project: { 3 | ios: {}, 4 | android: {}, // grouped into "project" 5 | }, 6 | assets: ["./assets/fonts/"], // stays the same 7 | }; -------------------------------------------------------------------------------- /screens/Home.js: -------------------------------------------------------------------------------- 1 | import React, { useRef } from "react"; 2 | import { 3 | SafeAreaView, 4 | StyleSheet, 5 | ScrollView, 6 | View, 7 | Text, 8 | StatusBar, 9 | Image, 10 | ImageBackground, 11 | TouchableOpacity, 12 | FlatList, 13 | Animated, 14 | Platform 15 | } from 'react-native'; 16 | import { VictoryPie } from 'victory-native'; 17 | 18 | import {Svg} from 'react-native-svg'; 19 | 20 | import { COLORS, FONTS, SIZES, icons, images } from '../constants'; 21 | 22 | const Home = () => { 23 | 24 | // dummy data 25 | const confirmStatus = "C" 26 | const pendingStatus = "P" 27 | 28 | let categoriesData = [ 29 | { 30 | id: 1, 31 | name: "Education", 32 | icon: icons.education, 33 | color: COLORS.yellow, 34 | expenses: [ 35 | { 36 | id: 1, 37 | title: "Tuition Fee", 38 | description: "Tuition fee", 39 | location: "ByProgrammers' tuition center", 40 | total: 100.00, 41 | status: pendingStatus 42 | }, 43 | { 44 | id: 2, 45 | title: "Arduino", 46 | description: "Hardward", 47 | location: "ByProgrammers' tuition center", 48 | total: 30.00, 49 | status: pendingStatus 50 | }, 51 | { 52 | id: 3, 53 | title: "Javascript Books", 54 | description: "Javascript books", 55 | location: "ByProgrammers' Book Store", 56 | total: 20.00, 57 | status: confirmStatus 58 | }, 59 | { 60 | id: 4, 61 | title: "PHP Books", 62 | description: "PHP books", 63 | location: "ByProgrammers' Book Store", 64 | total: 20.00, 65 | status: confirmStatus 66 | } 67 | ], 68 | }, 69 | { 70 | id: 2, 71 | name: "Nutrition", 72 | icon: icons.food, 73 | color: COLORS.lightBlue, 74 | expenses: [ 75 | { 76 | id: 5, 77 | title: "Vitamins", 78 | description: "Vitamin", 79 | location: "ByProgrammers' Pharmacy", 80 | total: 25.00, 81 | status: pendingStatus, 82 | }, 83 | 84 | { 85 | id: 6, 86 | title: "Protein powder", 87 | description: "Protein", 88 | location: "ByProgrammers' Pharmacy", 89 | total: 50.00, 90 | status: confirmStatus, 91 | }, 92 | 93 | ], 94 | }, 95 | { 96 | id: 3, 97 | name: "Child", 98 | icon: icons.baby_car, 99 | color: COLORS.darkgreen, 100 | expenses: [ 101 | { 102 | id: 7, 103 | title: "Toys", 104 | description: "toys", 105 | location: "ByProgrammers' Toy Store", 106 | total: 25.00, 107 | status: confirmStatus, 108 | }, 109 | { 110 | id: 8, 111 | title: "Baby Car Seat", 112 | description: "Baby Car Seat", 113 | location: "ByProgrammers' Baby Care Store", 114 | total: 100.00, 115 | status: pendingStatus, 116 | }, 117 | { 118 | id: 9, 119 | title: "Pampers", 120 | description: "Pampers", 121 | location: "ByProgrammers' Supermarket", 122 | total: 100.00, 123 | status: pendingStatus, 124 | }, 125 | { 126 | id: 10, 127 | title: "Baby T-Shirt", 128 | description: "T-Shirt", 129 | location: "ByProgrammers' Fashion Store", 130 | total: 20.00, 131 | status: pendingStatus, 132 | }, 133 | ], 134 | }, 135 | { 136 | id: 4, 137 | name: "Beauty & Care", 138 | icon: icons.healthcare, 139 | color: COLORS.peach, 140 | expenses: [ 141 | { 142 | id: 11, 143 | title: "Skin Care product", 144 | description: "skin care", 145 | location: "ByProgrammers' Pharmacy", 146 | total: 10.00, 147 | status: pendingStatus, 148 | }, 149 | { 150 | id: 12, 151 | title: "Lotion", 152 | description: "Lotion", 153 | location: "ByProgrammers' Pharmacy", 154 | total: 50.00, 155 | status: confirmStatus, 156 | }, 157 | { 158 | id: 13, 159 | title: "Face Mask", 160 | description: "Face Mask", 161 | location: "ByProgrammers' Pharmacy", 162 | total: 50.00, 163 | status: pendingStatus, 164 | }, 165 | { 166 | id: 14, 167 | title: "Sunscreen cream", 168 | description: "Sunscreen cream", 169 | location: "ByProgrammers' Pharmacy", 170 | total: 50.00, 171 | status: pendingStatus, 172 | }, 173 | ], 174 | }, 175 | { 176 | id: 5, 177 | name: "Sports", 178 | icon: icons.sports_icon, 179 | color: COLORS.purple, 180 | expenses: [ 181 | { 182 | id: 15, 183 | title: "Gym Membership", 184 | description: "Monthly Fee", 185 | location: "ByProgrammers' Gym", 186 | total: 45.00, 187 | status: pendingStatus, 188 | }, 189 | { 190 | id: 16, 191 | title: "Gloves", 192 | description: "Gym Equipment", 193 | location: "ByProgrammers' Gym", 194 | total: 15.00, 195 | status: confirmStatus, 196 | }, 197 | ], 198 | }, 199 | { 200 | id: 6, 201 | name: "Clothing", 202 | icon: icons.cloth_icon, 203 | color: COLORS.red, 204 | expenses: [ 205 | { 206 | id: 17, 207 | title: "T-Shirt", 208 | description: "Plain Color T-Shirt", 209 | location: "ByProgrammers' Mall", 210 | total: 20.00, 211 | status: pendingStatus, 212 | }, 213 | { 214 | id: 18, 215 | title: "Jeans", 216 | description: "Blue Jeans", 217 | location: "ByProgrammers' Mall", 218 | total: 50.00, 219 | status: confirmStatus, 220 | }, 221 | ], 222 | } 223 | ] 224 | 225 | const categoryListHeightAnimationValue = useRef(new Animated.Value(115)).current; 226 | 227 | const [categories, setCategories] = React.useState(categoriesData) 228 | const [viewMode, setViewMode] = React.useState("chart") 229 | const [selectedCategory, setSelectedCategory] = React.useState(null) 230 | const [showMoreToggle, setShowMoreToggle] = React.useState(false) 231 | 232 | function renderNavBar() { 233 | return ( 234 | 244 | console.log('Go Back')} 247 | > 248 | 256 | 257 | 258 | console.log('More')} 261 | > 262 | 270 | 271 | 272 | ) 273 | } 274 | 275 | function renderHeader() { 276 | return ( 277 | 278 | 279 | My Expenses 280 | Summary (private) 281 | 282 | 283 | 284 | 292 | 300 | 301 | 302 | 303 | 11 Nov, 2020 304 | 18% more than last month 305 | 306 | 307 | 308 | ) 309 | } 310 | 311 | function renderCategoryHeaderSection() { 312 | return ( 313 | 314 | {/* Title */} 315 | 316 | CATEGORIES 317 | {categories.length} Total 318 | 319 | 320 | {/* Button */} 321 | 322 | setViewMode("chart")} 332 | > 333 | 342 | 343 | 344 | setViewMode("list")} 355 | > 356 | 365 | 366 | 367 | 368 | ) 369 | } 370 | 371 | function renderCategoryList() { 372 | const renderItem = ({ item }) => ( 373 | setSelectedCategory(item)} 375 | style={{ 376 | flex: 1, 377 | flexDirection: 'row', 378 | margin: 5, 379 | paddingVertical: SIZES.radius, 380 | paddingHorizontal: SIZES.padding, 381 | borderRadius: 5, 382 | backgroundColor: COLORS.white, 383 | ...styles.shadow 384 | }} 385 | > 386 | 394 | {item.name} 395 | 396 | ) 397 | 398 | return ( 399 | 400 | 401 | `${item.id}`} 405 | numColumns={2} 406 | /> 407 | 408 | 409 | { 416 | if (showMoreToggle) { 417 | Animated.timing(categoryListHeightAnimationValue, { 418 | toValue: 115, 419 | duration: 500, 420 | useNativeDriver: false 421 | }).start() 422 | } else { 423 | Animated.timing(categoryListHeightAnimationValue, { 424 | toValue: 172.5, 425 | duration: 500, 426 | useNativeDriver: false 427 | }).start() 428 | } 429 | 430 | setShowMoreToggle(!showMoreToggle) 431 | }} 432 | > 433 | {showMoreToggle ? "LESS" : "MORE"} 434 | 438 | 439 | 440 | ) 441 | } 442 | 443 | function renderIncomingExpensesTitle() { 444 | return ( 445 | 446 | {/* Title */} 447 | INCOMING EXPENSES 448 | 12 Total 449 | 450 | ) 451 | } 452 | 453 | function renderIncomingExpenses() { 454 | let allExpenses = selectedCategory ? selectedCategory.expenses : [] 455 | let incomingExpenses = allExpenses.filter(a => a.status == "P") 456 | 457 | const renderItem = ({ item, index }) => ( 458 | 467 | {/* Title */} 468 | 469 | 480 | 488 | 489 | 490 | {selectedCategory.name} 491 | 492 | 493 | {/* Expense Description */} 494 | 495 | {/* Title and description */} 496 | {item.title} 497 | 498 | {item.description} 499 | 500 | 501 | {/* Location */} 502 | Location 503 | 504 | 513 | {item.location} 514 | 515 | 516 | 517 | {/* Price */} 518 | 528 | CONFIRM {item.total.toFixed(2)} USD 529 | 530 | 531 | ) 532 | 533 | return ( 534 | 535 | {renderIncomingExpensesTitle()} 536 | 537 | { 538 | incomingExpenses.length > 0 && 539 | `${item.id}`} 543 | horizontal 544 | showsHorizontalScrollIndicator={false} 545 | /> 546 | } 547 | 548 | { 549 | incomingExpenses.length == 0 && 550 | 551 | No Record 552 | 553 | } 554 | 555 | 556 | 557 | ) 558 | } 559 | 560 | function processCategoryDataToDisplay() { 561 | // Filter expenses with "Confirmed" status 562 | let chartData = categories.map((item) => { 563 | let confirmExpenses = item.expenses.filter(a => a.status == "C") 564 | var total = confirmExpenses.reduce((a, b) => a + (b.total || 0), 0) 565 | 566 | return { 567 | name: item.name, 568 | y: total, 569 | expenseCount: confirmExpenses.length, 570 | color: item.color, 571 | id: item.id 572 | } 573 | }) 574 | 575 | // filter out categories with no data/expenses 576 | let filterChartData = chartData.filter(a => a.y > 0) 577 | 578 | // Calculate the total expenses 579 | let totalExpense = filterChartData.reduce((a, b) => a + (b.y || 0), 0) 580 | 581 | // Calculate percentage and repopulate chart data 582 | let finalChartData = filterChartData.map((item) => { 583 | let percentage = (item.y / totalExpense * 100).toFixed(0) 584 | return { 585 | label: `${percentage}%`, 586 | y: Number(item.y), 587 | expenseCount: item.expenseCount, 588 | color: item.color, 589 | name: item.name, 590 | id: item.id 591 | } 592 | }) 593 | 594 | return finalChartData 595 | } 596 | 597 | function setSelectCategoryByName(name) { 598 | let category = categories.filter(a => a.name == name) 599 | setSelectedCategory(category[0]) 600 | } 601 | 602 | function renderChart() { 603 | 604 | let chartData = processCategoryDataToDisplay() 605 | let colorScales = chartData.map((item) => item.color) 606 | let totalExpenseCount = chartData.reduce((a, b) => a + (b.expenseCount || 0), 0) 607 | 608 | console.log("Check Chart") 609 | console.log(chartData) 610 | 611 | if(Platform.OS == 'ios') 612 | { 613 | return ( 614 | 615 | `${datum.y}`} 619 | radius={({ datum }) => (selectedCategory && selectedCategory.name == datum.name) ? SIZES.width * 0.4 : SIZES.width * 0.4 - 10} 620 | innerRadius={70} 621 | labelRadius={({ innerRadius }) => (SIZES.width * 0.4 + innerRadius) / 2.5} 622 | style={{ 623 | labels: { fill: "white", ...FONTS.body3 }, 624 | parent: { 625 | ...styles.shadow 626 | }, 627 | }} 628 | width={SIZES.width * 0.8} 629 | height={SIZES.width * 0.8} 630 | colorScale={colorScales} 631 | events={[{ 632 | target: "data", 633 | eventHandlers: { 634 | onPress: () => { 635 | return [{ 636 | target: "labels", 637 | mutation: (props) => { 638 | let categoryName = chartData[props.index].name 639 | setSelectCategoryByName(categoryName) 640 | } 641 | }] 642 | } 643 | } 644 | }]} 645 | 646 | /> 647 | 648 | 649 | {totalExpenseCount} 650 | Expenses 651 | 652 | 653 | 654 | ) 655 | } 656 | else 657 | { 658 | // Android workaround by wrapping VictoryPie with SVG 659 | return ( 660 | 661 | 662 | 663 | `${datum.y}`} 667 | radius={({ datum }) => (selectedCategory && selectedCategory.name == datum.name) ? SIZES.width * 0.4 : SIZES.width * 0.4 - 10} 668 | innerRadius={70} 669 | labelRadius={({ innerRadius }) => (SIZES.width * 0.4 + innerRadius) / 2.5} 670 | style={{ 671 | labels: { fill: "white", ...FONTS.body3 }, 672 | parent: { 673 | ...styles.shadow 674 | }, 675 | }} 676 | width={SIZES.width} 677 | height={SIZES.width} 678 | colorScale={colorScales} 679 | events={[{ 680 | target: "data", 681 | eventHandlers: { 682 | onPress: () => { 683 | return [{ 684 | target: "labels", 685 | mutation: (props) => { 686 | let categoryName = chartData[props.index].name 687 | setSelectCategoryByName(categoryName) 688 | } 689 | }] 690 | } 691 | } 692 | }]} 693 | 694 | /> 695 | 696 | 697 | {totalExpenseCount} 698 | Expenses 699 | 700 | 701 | ) 702 | } 703 | 704 | } 705 | 706 | function renderExpenseSummary() { 707 | let data = processCategoryDataToDisplay() 708 | 709 | const renderItem = ({ item }) => ( 710 | { 719 | let categoryName = item.name 720 | setSelectCategoryByName(categoryName) 721 | }} 722 | > 723 | {/* Name/Category */} 724 | 725 | 733 | 734 | {item.name} 735 | 736 | 737 | {/* Expenses */} 738 | 739 | {item.y} USD - {item.label} 740 | 741 | 742 | ) 743 | 744 | return ( 745 | 746 | `${item.id}`} 750 | /> 751 | 752 | 753 | ) 754 | } 755 | 756 | return ( 757 | 758 | {/* Nav bar section */} 759 | {renderNavBar()} 760 | 761 | {/* Header section */} 762 | {renderHeader()} 763 | 764 | {/* Category Header Section */} 765 | {renderCategoryHeaderSection()} 766 | 767 | 768 | { 769 | viewMode == "list" && 770 | 771 | {renderCategoryList()} 772 | {renderIncomingExpenses()} 773 | 774 | } 775 | { 776 | viewMode == "chart" && 777 | 778 | {renderChart()} 779 | {renderExpenseSummary()} 780 | 781 | } 782 | 783 | 784 | ) 785 | } 786 | 787 | const styles = StyleSheet.create({ 788 | shadow: { 789 | shadowColor: "#000", 790 | shadowOffset: { 791 | width: 2, 792 | height: 2, 793 | }, 794 | shadowOpacity: 0.25, 795 | shadowRadius: 3.84, 796 | elevation: 3, 797 | } 798 | }) 799 | 800 | export default Home; -------------------------------------------------------------------------------- /screens/index.js: -------------------------------------------------------------------------------- 1 | import Home from "./Home"; 2 | 3 | export { 4 | Home 5 | }; -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@tsconfig/react-native/tsconfig.json" 3 | } 4 | --------------------------------------------------------------------------------