├── .buckconfig ├── .editorconfig ├── .eslintrc.js ├── .gitattributes ├── .gitignore ├── .plop ├── componentName.sfc.tsx.hbs ├── componentName.story.tsx.hbs ├── componentName.test.tsx.hbs ├── index.ts.hbs └── plop.config.js ├── .prettierrc ├── .storybook ├── main.js ├── preview.js └── webpack.config.js ├── .watchmanconfig ├── README.md ├── __tests__ └── App-test.tsx ├── android ├── .project ├── .settings │ └── org.eclipse.buildship.core.prefs ├── app │ ├── .classpath │ ├── .project │ ├── .settings │ │ └── org.eclipse.buildship.core.prefs │ ├── _BUCK │ ├── build.gradle │ ├── build_defs.bzl │ ├── debug.keystore │ ├── proguard-rules.pro │ └── src │ │ ├── debug │ │ └── AndroidManifest.xml │ │ └── main │ │ ├── AndroidManifest.xml │ │ ├── assets │ │ └── fonts │ │ │ ├── AntDesign.ttf │ │ │ ├── Entypo.ttf │ │ │ ├── EvilIcons.ttf │ │ │ ├── Feather.ttf │ │ │ ├── FontAwesome.ttf │ │ │ ├── FontAwesome5_Brands.ttf │ │ │ ├── FontAwesome5_Regular.ttf │ │ │ ├── FontAwesome5_Solid.ttf │ │ │ ├── Fontisto.ttf │ │ │ ├── Foundation.ttf │ │ │ ├── Ionicons.ttf │ │ │ ├── MaterialCommunityIcons.ttf │ │ │ ├── MaterialIcons.ttf │ │ │ ├── Octicons.ttf │ │ │ ├── SimpleLineIcons.ttf │ │ │ └── Zocial.ttf │ │ ├── java │ │ └── com │ │ │ └── myapp │ │ │ ├── MainActivity.java │ │ │ └── MainApplication.java │ │ └── res │ │ ├── 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 ├── build.gradle ├── gradle.properties ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat └── settings.gradle ├── app.json ├── babel.config.js ├── index.js ├── ios ├── Podfile ├── Podfile.lock ├── myApp.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ ├── contents.xcworkspacedata │ │ └── xcshareddata │ │ │ └── IDEWorkspaceChecks.plist │ └── xcshareddata │ │ └── xcschemes │ │ └── myApp.xcscheme ├── myApp.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ │ └── IDEWorkspaceChecks.plist ├── myApp │ ├── AppDelegate.h │ ├── AppDelegate.m │ ├── Images.xcassets │ │ ├── AppIcon.appiconset │ │ │ └── Contents.json │ │ └── Contents.json │ ├── Info.plist │ ├── LaunchScreen.storyboard │ └── main.m └── myAppTests │ ├── Info.plist │ └── myAppTests.m ├── metro.config.js ├── package.json ├── paths.json ├── src ├── App.tsx ├── assets │ └── package.json ├── components │ ├── Button │ │ ├── Button.stories.tsx │ │ ├── Button.test.tsx │ │ ├── Button.tsx │ │ └── index.tsx │ ├── Card │ │ ├── Card.stories.tsx │ │ ├── Card.test.tsx │ │ ├── Card.tsx │ │ ├── CardActions.tsx │ │ ├── CardContent.tsx │ │ ├── CardCover.tsx │ │ ├── CardTitle.tsx │ │ └── index.tsx │ └── package.json ├── navigation │ ├── BaseNavigator.tsx │ ├── constants.ts │ └── package.json ├── package.json ├── react-app-env.d.ts ├── screens │ ├── ExampleScreen1 │ │ ├── ExampleScreen1.tsx │ │ └── index.tsx │ ├── ExampleScreen2 │ │ ├── ExampleScreen2.tsx │ │ └── index.tsx │ └── package.json ├── services │ ├── package.json │ └── theming │ │ ├── index.ts │ │ └── themes.ts └── utils │ └── package.json ├── static └── index.html ├── tsconfig.json ├── webpack.common.js ├── webpack.dev.js ├── webpack.prod.js └── yarn.lock /.buckconfig: -------------------------------------------------------------------------------- 1 | 2 | [android] 3 | target = Google Inc.:Google APIs:23 4 | 5 | [maven_repositories] 6 | central = https://repo1.maven.org/maven2 7 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | # Windows files 2 | [*.bat] 3 | end_of_line = crlf 4 | -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | extends: "react-native-typescript", 3 | rules: { 4 | "react-native/no-color-literals": 0, 5 | "react-native-a11y/has-accessibility-hint": 0, 6 | "react-native-a11y/has-valid-accessibility-state": 0, 7 | "@typescript-eslint/no-explicit-any": 0, 8 | "import-order-alphabetical/order": 0, 9 | "@typescript-eslint/ban-types": 0, 10 | "react-native-a11y/has-valid-accessibility-ignores-invert-colors": 0, 11 | "react/no-did-mount-set-state": 0, 12 | "@typescript-eslint/no-empty-interface": 0, 13 | "no-catch-shadow": 0, 14 | "@typescript-eslint/ban-ts-comment": 0, 15 | "react/react-in-jsx-scope": 0, 16 | }, 17 | settings: { 18 | "import/resolver": { 19 | typescript: {}, 20 | }, 21 | }, 22 | }; 23 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | # Windows files should use crlf line endings 2 | # https://help.github.com/articles/dealing-with-line-endings/ 3 | *.bat text eol=crlf 4 | -------------------------------------------------------------------------------- /.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 | 24 | # Android/IntelliJ 25 | # 26 | build/ 27 | .idea 28 | .gradle 29 | local.properties 30 | *.iml 31 | *.keystore 32 | *.apk 33 | *.aab 34 | *.hprof 35 | 36 | # node.js 37 | # 38 | node_modules/ 39 | npm-debug.log 40 | yarn-error.log 41 | 42 | # BUCK 43 | buck-out/ 44 | \.buckd/ 45 | *.keystore 46 | !debug.keystore 47 | 48 | # fastlane 49 | # 50 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the 51 | # screenshots whenever they are needed. 52 | # For more information about the recommended setup visit: 53 | # https://docs.fastlane.tools/best-practices/source-control/ 54 | 55 | */fastlane/report.xml 56 | */fastlane/Preview.html 57 | */fastlane/screenshots 58 | 59 | # Bundle artifact 60 | *.jsbundle 61 | 62 | # CocoaPods 63 | /ios/Pods/ 64 | 65 | #Output 66 | dist/ 67 | -------------------------------------------------------------------------------- /.plop/componentName.sfc.tsx.hbs: -------------------------------------------------------------------------------- 1 | import React, { ReactElement, useEffect } from "react"; 2 | 3 | interface I{{ properCase name }}Props { 4 | 5 | } 6 | const {{ properCase name }}: React.FC = (props):ReactElement => { 7 | 8 | 9 | useEffect(() => { 10 | console.log("{{ properCase name }} mounted") 11 | return () => { 12 | console.log("{{ properCase name }} unmounted") 13 | }; 14 | }, []); 15 | 16 | return ( 17 | <> 18 | 19 | ) 20 | 21 | }; 22 | 23 | export default {{ properCase name }}; -------------------------------------------------------------------------------- /.plop/componentName.story.tsx.hbs: -------------------------------------------------------------------------------- 1 | import {boolean, color, select, text, withKnobs} from "@storybook/addon-knobs"; 2 | 3 | import {storiesOf} from "@storybook/react-native"; 4 | import {{ properCase name }} from "./{{ properCase name }}"; 5 | 6 | const stories = storiesOf("Components/{{ properCase name }}", module); 7 | stories.addDecorator(withKnobs); 8 | 9 | stories.add("{{ properCase name }}",()=>( 10 | <{{ properCase name }}> 11 | 12 | 13 | )); -------------------------------------------------------------------------------- /.plop/componentName.test.tsx.hbs: -------------------------------------------------------------------------------- 1 | 2 | import {{ properCase name }} from "./{{ properCase name }}"; 3 | 4 | describe("{{ properCase name }}", () => { 5 | it("should render correctly", () => { 6 | const component = ( 7 | <{{ properCase name }}> 8 | Test 9 | 10 | ); 11 | 12 | expect(component).toMatchSnapshot(); 13 | }); 14 | }); 15 | -------------------------------------------------------------------------------- /.plop/index.ts.hbs: -------------------------------------------------------------------------------- 1 | export {default} from "./{{ properCase name }}"; -------------------------------------------------------------------------------- /.plop/plop.config.js: -------------------------------------------------------------------------------- 1 | const COMPONENTS_PATH = "../src/components/"; 2 | const SCREENS_PATH = "../src/screens/"; 3 | const componentGenerator = { 4 | description: "Create a new component", 5 | prompts: [ 6 | { 7 | type: "input", 8 | name: "name", 9 | message: "Component name?", 10 | default: "Button", 11 | }, 12 | ], 13 | actions: () => { 14 | const actions = [ 15 | { 16 | type: "add", 17 | path: COMPONENTS_PATH + "{{properCase name}}/index.ts", 18 | templateFile: "./index.ts.hbs", 19 | abortOnFail: true, 20 | }, 21 | { 22 | type: "add", 23 | path: COMPONENTS_PATH + "{{properCase name}}/{{properCase name}}.tsx", 24 | templateFile: "./componentName.sfc.tsx.hbs", 25 | abortOnFail: true, 26 | }, 27 | { 28 | type: "add", 29 | path: COMPONENTS_PATH + "{{properCase name}}/{{properCase name}}.test.tsx", 30 | templateFile: "./componentName.test.tsx.hbs", 31 | abortOnFail: true, 32 | }, 33 | { 34 | type: "add", 35 | path: COMPONENTS_PATH + "{{properCase name}}/{{properCase name}}.stories.tsx", 36 | templateFile: "./componentName.story.tsx.hbs", 37 | abortOnFail: true, 38 | }, 39 | ]; 40 | 41 | return actions; 42 | }, 43 | }; 44 | 45 | const screenGenerator = { 46 | description: "Create a new screen", 47 | prompts: [ 48 | { 49 | type: "input", 50 | name: "name", 51 | message: "Screen name?", 52 | default: "Home", 53 | }, 54 | ], 55 | actions: () => { 56 | const actions = [ 57 | { 58 | type: "add", 59 | path: SCREENS_PATH + "{{properCase name}}/index.ts", 60 | templateFile: "./index.ts.hbs", 61 | abortOnFail: true, 62 | }, 63 | { 64 | type: "add", 65 | path: SCREENS_PATH + "{{properCase name}}/{{properCase name}}.tsx", 66 | templateFile: "./componentName.sfc.tsx.hbs", 67 | abortOnFail: true, 68 | }, 69 | ]; 70 | return actions; 71 | }, 72 | }; 73 | 74 | module.exports = plop => { 75 | plop.setGenerator("component", componentGenerator); 76 | plop.setGenerator("screen", screenGenerator); 77 | }; 78 | -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "singleQuote": false, 3 | "trailingComma": "all", 4 | "tabWidth": 2, 5 | "printWidth": 120, 6 | "semi": true, 7 | "arrowParens": "avoid", 8 | "bracketSpacing": false, 9 | "jsxBracketSameLine": true 10 | } 11 | -------------------------------------------------------------------------------- /.storybook/main.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | stories: ["../src/components/**/*.stories.@(tsx|jsx)"], 3 | addons: ["@storybook/addon-knobs", "@storybook/addon-docs"], 4 | }; 5 | -------------------------------------------------------------------------------- /.storybook/preview.js: -------------------------------------------------------------------------------- 1 | import React from "react"; 2 | import iconFont from "react-native-vector-icons/Fonts/MaterialCommunityIcons.ttf"; 3 | 4 | export const decorators = [ 5 | Story => ( 6 |
7 | 13 | 14 |
15 | ), 16 | ]; 17 | 18 | export const parameters = { 19 | backgrounds: { 20 | values: [ 21 | {name: "red", value: "#f00"}, 22 | {name: "green", value: "#0f0"}, 23 | ], 24 | }, 25 | }; 26 | 27 | export const globalTypes = { 28 | theme: { 29 | name: "Theme", 30 | description: "Global theme for components", 31 | defaultValue: "dark", 32 | toolbar: { 33 | icon: "circlehollow", 34 | // Array of plain string values or MenuItem shape (see below) 35 | items: ["light", "dark"], 36 | }, 37 | }, 38 | }; 39 | -------------------------------------------------------------------------------- /.storybook/webpack.config.js: -------------------------------------------------------------------------------- 1 | const path = require("path"); 2 | 3 | module.exports = ({config}) => { 4 | config.module.rules.push({ 5 | test: /\.(js|jsx|ts|tsx)$/, 6 | loader: "babel-loader", 7 | include: path.resolve(__dirname, "../node_modules/"), 8 | options: { 9 | // Disable reading babel configuration 10 | babelrc: false, 11 | configFile: false, 12 | presets: [ 13 | "@babel/preset-env", 14 | "@babel/preset-react", 15 | "@babel/preset-flow", 16 | "@babel/preset-typescript", 17 | "module:metro-react-native-babel-preset", 18 | { 19 | plugins: [ 20 | "react-native-web", 21 | "@babel/plugin-proposal-class-properties", 22 | "@babel/plugin-proposal-object-rest-spread", 23 | ], 24 | }, 25 | ], 26 | }, 27 | }); 28 | 29 | config.module.rules.push({ 30 | test: /\.(jpg|png|woff|woff2|eot|ttf|svg)$/, 31 | loader: "file-loader", 32 | }); 33 | 34 | config.module.rules.push({ 35 | test: /\.ttf$/, 36 | loader: "url-loader", 37 | include: path.resolve(__dirname, "../node_modules/react-native-vector-icons/dist"), 38 | }); 39 | 40 | config.resolve.alias = { 41 | "react-native": "react-native-web", 42 | "@storybook/react-native": "@storybook/react", 43 | }; 44 | return config; 45 | }; 46 | -------------------------------------------------------------------------------- /.watchmanconfig: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Typescript Template for React Native Web 2 | 3 | ![ezgif com-gif-maker (12)](https://user-images.githubusercontent.com/19613367/118410958-ce345400-b6af-11eb-922d-2697ceb17b82.gif) 4 | 5 | * Android + iOS + Web 6 | * Storybook 7 | * React Native Paper 8 | * Custom Webpack 9 | * Plop file generator 10 | * React Navigation 11 | * Jest 12 | * Prettier 13 | * Eslint 14 | 15 | ### Install global dependencies - Brew, Node, Cocoapods and Yarn 16 | 17 | ```sh 18 | /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" 19 | brew install node 20 | sudo gem install cocoapods 21 | npm i -g yarn 22 | ``` 23 | 24 | ### Remove git connection to this project and start fresh 25 | 26 | ```sh 27 | rm -rf .git 28 | git init 29 | ``` 30 | 31 | ### Install local dependencies - node modules, pods and cleanup 32 | 33 | ```sh 34 | yarn clean 35 | ``` 36 | 37 | ### Rename app 38 | 39 | ```sh 40 | npx react-native-rename "New App Name" 41 | ``` 42 | 43 | ### Generate components and screens 44 | 45 | ```sh 46 | yarn generate component 47 | yarn generate screen 48 | ``` 49 | 50 | ### Run - iOS, Android and Web respectively 51 | 52 | ```sh 53 | yarn ios 54 | yarn android 55 | yarn web 56 | ``` 57 | 58 | ### Deploy 59 | 60 | ```sh 61 | yarn build 62 | ``` 63 | -------------------------------------------------------------------------------- /__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: test renderer must be required after react-native. 10 | import renderer from 'react-test-renderer'; 11 | 12 | it('renders correctly', () => { 13 | renderer.create(); 14 | }); 15 | -------------------------------------------------------------------------------- /android/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | myApp 4 | Project android created by Buildship. 5 | 6 | 7 | 8 | 9 | org.eclipse.buildship.core.gradleprojectbuilder 10 | 11 | 12 | 13 | 14 | 15 | org.eclipse.buildship.core.gradleprojectnature 16 | 17 | 18 | 19 | 1621169915432 20 | 21 | 30 22 | 23 | org.eclipse.core.resources.regexFilterMatcher 24 | node_modules|.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__ 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /android/.settings/org.eclipse.buildship.core.prefs: -------------------------------------------------------------------------------- 1 | arguments= 2 | auto.sync=false 3 | build.scans.enabled=false 4 | connection.gradle.distribution=GRADLE_DISTRIBUTION(WRAPPER) 5 | connection.project.dir= 6 | eclipse.preferences.version=1 7 | gradle.user.home= 8 | java.home=/Library/Java/JavaVirtualMachines/adoptopenjdk-11.jdk/Contents/Home 9 | jvm.arguments= 10 | offline.mode=false 11 | override.workspace.settings=true 12 | show.console.view=true 13 | show.executions.view=true 14 | -------------------------------------------------------------------------------- /android/app/.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /android/app/.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | app 4 | Project app created by Buildship. 5 | 6 | 7 | 8 | 9 | org.eclipse.jdt.core.javabuilder 10 | 11 | 12 | 13 | 14 | org.eclipse.buildship.core.gradleprojectbuilder 15 | 16 | 17 | 18 | 19 | 20 | org.eclipse.jdt.core.javanature 21 | org.eclipse.buildship.core.gradleprojectnature 22 | 23 | 24 | 25 | 1621169915425 26 | 27 | 30 28 | 29 | org.eclipse.core.resources.regexFilterMatcher 30 | node_modules|.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__ 31 | 32 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /android/app/.settings/org.eclipse.buildship.core.prefs: -------------------------------------------------------------------------------- 1 | connection.project.dir=.. 2 | eclipse.preferences.version=1 3 | -------------------------------------------------------------------------------- /android/app/_BUCK: -------------------------------------------------------------------------------- 1 | # To learn about Buck see [Docs](https://buckbuild.com/). 2 | # To run your application with Buck: 3 | # - install Buck 4 | # - `npm start` - to start the packager 5 | # - `cd android` 6 | # - `keytool -genkey -v -keystore keystores/debug.keystore -storepass android -alias androiddebugkey -keypass android -dname "CN=Android Debug,O=Android,C=US"` 7 | # - `./gradlew :app:copyDownloadableDepsToLibs` - make all Gradle compile dependencies available to Buck 8 | # - `buck install -r android/app` - compile, install and run application 9 | # 10 | 11 | load(":build_defs.bzl", "create_aar_targets", "create_jar_targets") 12 | 13 | lib_deps = [] 14 | 15 | create_aar_targets(glob(["libs/*.aar"])) 16 | 17 | create_jar_targets(glob(["libs/*.jar"])) 18 | 19 | android_library( 20 | name = "all-libs", 21 | exported_deps = lib_deps, 22 | ) 23 | 24 | android_library( 25 | name = "app-code", 26 | srcs = glob([ 27 | "src/main/java/**/*.java", 28 | ]), 29 | deps = [ 30 | ":all-libs", 31 | ":build_config", 32 | ":res", 33 | ], 34 | ) 35 | 36 | android_build_config( 37 | name = "build_config", 38 | package = "com.myapp", 39 | ) 40 | 41 | android_resource( 42 | name = "res", 43 | package = "com.myapp", 44 | res = "src/main/res", 45 | ) 46 | 47 | android_binary( 48 | name = "app", 49 | keystore = "//android/keystores:debug", 50 | manifest = "src/main/AndroidManifest.xml", 51 | package_type = "debug", 52 | deps = [ 53 | ":app-code", 54 | ], 55 | ) 56 | -------------------------------------------------------------------------------- /android/app/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: "com.android.application" 2 | 3 | import com.android.build.OutputFile 4 | 5 | /** 6 | * The react.gradle file registers a task for each build variant (e.g. bundleDebugJsAndAssets 7 | * and bundleReleaseJsAndAssets). 8 | * These basically call `react-native bundle` with the correct arguments during the Android build 9 | * cycle. By default, bundleDebugJsAndAssets is skipped, as in debug/dev mode we prefer to load the 10 | * bundle directly from the development server. Below you can see all the possible configurations 11 | * and their defaults. If you decide to add a configuration block, make sure to add it before the 12 | * `apply from: "../../node_modules/react-native/react.gradle"` line. 13 | * 14 | * project.ext.react = [ 15 | * // the name of the generated asset file containing your JS bundle 16 | * bundleAssetName: "index.android.bundle", 17 | * 18 | * // the entry file for bundle generation. If none specified and 19 | * // "index.android.js" exists, it will be used. Otherwise "index.js" is 20 | * // default. Can be overridden with ENTRY_FILE environment variable. 21 | * entryFile: "index.android.js", 22 | * 23 | * // https://reactnative.dev/docs/performance#enable-the-ram-format 24 | * bundleCommand: "ram-bundle", 25 | * 26 | * // whether to bundle JS and assets in debug mode 27 | * bundleInDebug: false, 28 | * 29 | * // whether to bundle JS and assets in release mode 30 | * bundleInRelease: true, 31 | * 32 | * // whether to bundle JS and assets in another build variant (if configured). 33 | * // See http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Build-Variants 34 | * // The configuration property can be in the following formats 35 | * // 'bundleIn${productFlavor}${buildType}' 36 | * // 'bundleIn${buildType}' 37 | * // bundleInFreeDebug: true, 38 | * // bundleInPaidRelease: true, 39 | * // bundleInBeta: true, 40 | * 41 | * // whether to disable dev mode in custom build variants (by default only disabled in release) 42 | * // for example: to disable dev mode in the staging build type (if configured) 43 | * devDisabledInStaging: true, 44 | * // The configuration property can be in the following formats 45 | * // 'devDisabledIn${productFlavor}${buildType}' 46 | * // 'devDisabledIn${buildType}' 47 | * 48 | * // the root of your project, i.e. where "package.json" lives 49 | * root: "../../", 50 | * 51 | * // where to put the JS bundle asset in debug mode 52 | * jsBundleDirDebug: "$buildDir/intermediates/assets/debug", 53 | * 54 | * // where to put the JS bundle asset in release mode 55 | * jsBundleDirRelease: "$buildDir/intermediates/assets/release", 56 | * 57 | * // where to put drawable resources / React Native assets, e.g. the ones you use via 58 | * // require('./image.png')), in debug mode 59 | * resourcesDirDebug: "$buildDir/intermediates/res/merged/debug", 60 | * 61 | * // where to put drawable resources / React Native assets, e.g. the ones you use via 62 | * // require('./image.png')), in release mode 63 | * resourcesDirRelease: "$buildDir/intermediates/res/merged/release", 64 | * 65 | * // by default the gradle tasks are skipped if none of the JS files or assets change; this means 66 | * // that we don't look at files in android/ or ios/ to determine whether the tasks are up to 67 | * // date; if you have any other folders that you want to ignore for performance reasons (gradle 68 | * // indexes the entire tree), add them here. Alternatively, if you have JS files in android/ 69 | * // for example, you might want to remove it from here. 70 | * inputExcludes: ["android/**", "ios/**"], 71 | * 72 | * // override which node gets called and with what additional arguments 73 | * nodeExecutableAndArgs: ["node"], 74 | * 75 | * // supply additional arguments to the packager 76 | * extraPackagerArgs: [] 77 | * ] 78 | */ 79 | 80 | project.ext.react = [ 81 | enableHermes: false, // clean and rebuild if changing 82 | ] 83 | 84 | apply from: "../../node_modules/react-native/react.gradle" 85 | 86 | /** 87 | * Set this to true to create two separate APKs instead of one: 88 | * - An APK that only works on ARM devices 89 | * - An APK that only works on x86 devices 90 | * The advantage is the size of the APK is reduced by about 4MB. 91 | * Upload all the APKs to the Play Store and people will download 92 | * the correct one based on the CPU architecture of their device. 93 | */ 94 | def enableSeparateBuildPerCPUArchitecture = false 95 | 96 | /** 97 | * Run Proguard to shrink the Java bytecode in release builds. 98 | */ 99 | def enableProguardInReleaseBuilds = false 100 | 101 | /** 102 | * The preferred build flavor of JavaScriptCore. 103 | * 104 | * For example, to use the international variant, you can use: 105 | * `def jscFlavor = 'org.webkit:android-jsc-intl:+'` 106 | * 107 | * The international variant includes ICU i18n library and necessary data 108 | * allowing to use e.g. `Date.toLocaleString` and `String.localeCompare` that 109 | * give correct results when using with locales other than en-US. Note that 110 | * this variant is about 6MiB larger per architecture than default. 111 | */ 112 | def jscFlavor = 'org.webkit:android-jsc:+' 113 | 114 | /** 115 | * Whether to enable the Hermes VM. 116 | * 117 | * This should be set on project.ext.react and mirrored here. If it is not set 118 | * on project.ext.react, JavaScript will not be compiled to Hermes Bytecode 119 | * and the benefits of using Hermes will therefore be sharply reduced. 120 | */ 121 | def enableHermes = project.ext.react.get("enableHermes", false); 122 | 123 | android { 124 | ndkVersion rootProject.ext.ndkVersion 125 | 126 | compileSdkVersion rootProject.ext.compileSdkVersion 127 | 128 | compileOptions { 129 | sourceCompatibility JavaVersion.VERSION_1_8 130 | targetCompatibility JavaVersion.VERSION_1_8 131 | } 132 | 133 | defaultConfig { 134 | applicationId "com.myapp" 135 | minSdkVersion rootProject.ext.minSdkVersion 136 | targetSdkVersion rootProject.ext.targetSdkVersion 137 | versionCode 1 138 | versionName "1.0" 139 | } 140 | splits { 141 | abi { 142 | reset() 143 | enable enableSeparateBuildPerCPUArchitecture 144 | universalApk false // If true, also generate a universal APK 145 | include "armeabi-v7a", "x86", "arm64-v8a", "x86_64" 146 | } 147 | } 148 | signingConfigs { 149 | debug { 150 | storeFile file('debug.keystore') 151 | storePassword 'android' 152 | keyAlias 'androiddebugkey' 153 | keyPassword 'android' 154 | } 155 | } 156 | buildTypes { 157 | debug { 158 | signingConfig signingConfigs.debug 159 | } 160 | release { 161 | // Caution! In production, you need to generate your own keystore file. 162 | // see https://reactnative.dev/docs/signed-apk-android. 163 | signingConfig signingConfigs.debug 164 | minifyEnabled enableProguardInReleaseBuilds 165 | proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro" 166 | } 167 | } 168 | 169 | // applicationVariants are e.g. debug, release 170 | applicationVariants.all { variant -> 171 | variant.outputs.each { output -> 172 | // For each separate APK per architecture, set a unique version code as described here: 173 | // https://developer.android.com/studio/build/configure-apk-splits.html 174 | // Example: versionCode 1 will generate 1001 for armeabi-v7a, 1002 for x86, etc. 175 | def versionCodes = ["armeabi-v7a": 1, "x86": 2, "arm64-v8a": 3, "x86_64": 4] 176 | def abi = output.getFilter(OutputFile.ABI) 177 | if (abi != null) { // null for the universal-debug, universal-release variants 178 | output.versionCodeOverride = 179 | defaultConfig.versionCode * 1000 + versionCodes.get(abi) 180 | } 181 | 182 | } 183 | } 184 | } 185 | 186 | dependencies { 187 | implementation fileTree(dir: "libs", include: ["*.jar"]) 188 | //noinspection GradleDynamicVersion 189 | implementation "com.facebook.react:react-native:+" // From node_modules 190 | 191 | implementation "androidx.swiperefreshlayout:swiperefreshlayout:1.0.0" 192 | 193 | if (enableHermes) { 194 | def hermesPath = "../../node_modules/hermes-engine/android/"; 195 | debugImplementation files(hermesPath + "hermes-debug.aar") 196 | releaseImplementation files(hermesPath + "hermes-release.aar") 197 | } else { 198 | implementation jscFlavor 199 | } 200 | } 201 | 202 | // Run this once to be able to run the application with BUCK 203 | // puts all compile dependencies into folder libs for BUCK to use 204 | task copyDownloadableDepsToLibs(type: Copy) { 205 | from configurations.compile 206 | into 'libs' 207 | } 208 | 209 | apply from: file("../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesAppBuildGradle(project) 210 | -------------------------------------------------------------------------------- /android/app/build_defs.bzl: -------------------------------------------------------------------------------- 1 | """Helper definitions to glob .aar and .jar targets""" 2 | 3 | def create_aar_targets(aarfiles): 4 | for aarfile in aarfiles: 5 | name = "aars__" + aarfile[aarfile.rindex("/") + 1:aarfile.rindex(".aar")] 6 | lib_deps.append(":" + name) 7 | android_prebuilt_aar( 8 | name = name, 9 | aar = aarfile, 10 | ) 11 | 12 | def create_jar_targets(jarfiles): 13 | for jarfile in jarfiles: 14 | name = "jars__" + jarfile[jarfile.rindex("/") + 1:jarfile.rindex(".jar")] 15 | lib_deps.append(":" + name) 16 | prebuilt_jar( 17 | name = name, 18 | binary_jar = jarfile, 19 | ) 20 | -------------------------------------------------------------------------------- /android/app/debug.keystore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashish-dsa/react-native-web-typescript/5ad389a4671bf6a5025828676f7e86ada94338b9/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/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 13 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/AntDesign.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashish-dsa/react-native-web-typescript/5ad389a4671bf6a5025828676f7e86ada94338b9/android/app/src/main/assets/fonts/AntDesign.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Entypo.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashish-dsa/react-native-web-typescript/5ad389a4671bf6a5025828676f7e86ada94338b9/android/app/src/main/assets/fonts/Entypo.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/EvilIcons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashish-dsa/react-native-web-typescript/5ad389a4671bf6a5025828676f7e86ada94338b9/android/app/src/main/assets/fonts/EvilIcons.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Feather.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashish-dsa/react-native-web-typescript/5ad389a4671bf6a5025828676f7e86ada94338b9/android/app/src/main/assets/fonts/Feather.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/FontAwesome.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashish-dsa/react-native-web-typescript/5ad389a4671bf6a5025828676f7e86ada94338b9/android/app/src/main/assets/fonts/FontAwesome.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/FontAwesome5_Brands.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashish-dsa/react-native-web-typescript/5ad389a4671bf6a5025828676f7e86ada94338b9/android/app/src/main/assets/fonts/FontAwesome5_Brands.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/FontAwesome5_Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashish-dsa/react-native-web-typescript/5ad389a4671bf6a5025828676f7e86ada94338b9/android/app/src/main/assets/fonts/FontAwesome5_Regular.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/FontAwesome5_Solid.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashish-dsa/react-native-web-typescript/5ad389a4671bf6a5025828676f7e86ada94338b9/android/app/src/main/assets/fonts/FontAwesome5_Solid.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Fontisto.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashish-dsa/react-native-web-typescript/5ad389a4671bf6a5025828676f7e86ada94338b9/android/app/src/main/assets/fonts/Fontisto.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Foundation.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashish-dsa/react-native-web-typescript/5ad389a4671bf6a5025828676f7e86ada94338b9/android/app/src/main/assets/fonts/Foundation.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Ionicons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashish-dsa/react-native-web-typescript/5ad389a4671bf6a5025828676f7e86ada94338b9/android/app/src/main/assets/fonts/Ionicons.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/MaterialCommunityIcons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashish-dsa/react-native-web-typescript/5ad389a4671bf6a5025828676f7e86ada94338b9/android/app/src/main/assets/fonts/MaterialCommunityIcons.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/MaterialIcons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashish-dsa/react-native-web-typescript/5ad389a4671bf6a5025828676f7e86ada94338b9/android/app/src/main/assets/fonts/MaterialIcons.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Octicons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashish-dsa/react-native-web-typescript/5ad389a4671bf6a5025828676f7e86ada94338b9/android/app/src/main/assets/fonts/Octicons.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/SimpleLineIcons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashish-dsa/react-native-web-typescript/5ad389a4671bf6a5025828676f7e86ada94338b9/android/app/src/main/assets/fonts/SimpleLineIcons.ttf -------------------------------------------------------------------------------- /android/app/src/main/assets/fonts/Zocial.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashish-dsa/react-native-web-typescript/5ad389a4671bf6a5025828676f7e86ada94338b9/android/app/src/main/assets/fonts/Zocial.ttf -------------------------------------------------------------------------------- /android/app/src/main/java/com/myapp/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.myapp; 2 | 3 | import com.facebook.react.ReactActivity; 4 | 5 | public class MainActivity extends ReactActivity { 6 | 7 | /** 8 | * Returns the name of the main component registered from JavaScript. This is used to schedule 9 | * rendering of the component. 10 | */ 11 | @Override 12 | protected String getMainComponentName() { 13 | return "myApp"; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /android/app/src/main/java/com/myapp/MainApplication.java: -------------------------------------------------------------------------------- 1 | package com.myapp; 2 | 3 | import android.app.Application; 4 | import android.content.Context; 5 | import com.facebook.react.PackageList; 6 | import com.facebook.react.ReactApplication; 7 | import com.oblador.vectoricons.VectorIconsPackage; 8 | import com.facebook.react.ReactInstanceManager; 9 | import com.facebook.react.ReactNativeHost; 10 | import com.facebook.react.ReactPackage; 11 | import com.facebook.soloader.SoLoader; 12 | import java.lang.reflect.InvocationTargetException; 13 | import java.util.List; 14 | 15 | public class MainApplication extends Application implements ReactApplication { 16 | 17 | private final ReactNativeHost mReactNativeHost = 18 | new ReactNativeHost(this) { 19 | @Override 20 | public boolean getUseDeveloperSupport() { 21 | return BuildConfig.DEBUG; 22 | } 23 | 24 | @Override 25 | protected List getPackages() { 26 | @SuppressWarnings("UnnecessaryLocalVariable") 27 | List packages = new PackageList(this).getPackages(); 28 | // Packages that cannot be autolinked yet can be added manually here, for example: 29 | // packages.add(new MyReactNativePackage()); 30 | return packages; 31 | } 32 | 33 | @Override 34 | protected String getJSMainModuleName() { 35 | return "index"; 36 | } 37 | }; 38 | 39 | @Override 40 | public ReactNativeHost getReactNativeHost() { 41 | return mReactNativeHost; 42 | } 43 | 44 | @Override 45 | public void onCreate() { 46 | super.onCreate(); 47 | SoLoader.init(this, /* native exopackage */ false); 48 | initializeFlipper(this, getReactNativeHost().getReactInstanceManager()); 49 | } 50 | 51 | /** 52 | * Loads Flipper in React Native templates. Call this in the onCreate method with something like 53 | * initializeFlipper(this, getReactNativeHost().getReactInstanceManager()); 54 | * 55 | * @param context 56 | * @param reactInstanceManager 57 | */ 58 | private static void initializeFlipper( 59 | Context context, ReactInstanceManager reactInstanceManager) { 60 | if (BuildConfig.DEBUG) { 61 | try { 62 | /* 63 | We use reflection here to pick up the class that initializes Flipper, 64 | since Flipper library is not available in release mode 65 | */ 66 | Class aClass = Class.forName("com.myapp.ReactNativeFlipper"); 67 | aClass 68 | .getMethod("initializeFlipper", Context.class, ReactInstanceManager.class) 69 | .invoke(null, context, reactInstanceManager); 70 | } catch (ClassNotFoundException e) { 71 | e.printStackTrace(); 72 | } catch (NoSuchMethodException e) { 73 | e.printStackTrace(); 74 | } catch (IllegalAccessException e) { 75 | e.printStackTrace(); 76 | } catch (InvocationTargetException e) { 77 | e.printStackTrace(); 78 | } 79 | } 80 | } 81 | } 82 | -------------------------------------------------------------------------------- /android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashish-dsa/react-native-web-typescript/5ad389a4671bf6a5025828676f7e86ada94338b9/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/ashish-dsa/react-native-web-typescript/5ad389a4671bf6a5025828676f7e86ada94338b9/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/ashish-dsa/react-native-web-typescript/5ad389a4671bf6a5025828676f7e86ada94338b9/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/ashish-dsa/react-native-web-typescript/5ad389a4671bf6a5025828676f7e86ada94338b9/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/ashish-dsa/react-native-web-typescript/5ad389a4671bf6a5025828676f7e86ada94338b9/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/ashish-dsa/react-native-web-typescript/5ad389a4671bf6a5025828676f7e86ada94338b9/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/ashish-dsa/react-native-web-typescript/5ad389a4671bf6a5025828676f7e86ada94338b9/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/ashish-dsa/react-native-web-typescript/5ad389a4671bf6a5025828676f7e86ada94338b9/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/ashish-dsa/react-native-web-typescript/5ad389a4671bf6a5025828676f7e86ada94338b9/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/ashish-dsa/react-native-web-typescript/5ad389a4671bf6a5025828676f7e86ada94338b9/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /android/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | myApp 3 | 4 | -------------------------------------------------------------------------------- /android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /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 = "29.0.3" 6 | minSdkVersion = 21 7 | compileSdkVersion = 29 8 | targetSdkVersion = 29 9 | ndkVersion = "20.1.5948944" 10 | } 11 | repositories { 12 | google() 13 | jcenter() 14 | } 15 | dependencies { 16 | classpath("com.android.tools.build:gradle:4.1.0") 17 | // NOTE: Do not place your application dependencies here; they belong 18 | // in the individual module build.gradle files 19 | } 20 | } 21 | 22 | allprojects { 23 | repositories { 24 | mavenLocal() 25 | maven { 26 | // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm 27 | url("$rootDir/../node_modules/react-native/android") 28 | } 29 | maven { 30 | // Android JSC is installed from npm 31 | url("$rootDir/../node_modules/jsc-android/dist") 32 | } 33 | 34 | google() 35 | jcenter() 36 | maven { url 'https://www.jitpack.io' } 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /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: -Xmx10248m -XX:MaxPermSize=256m 13 | # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 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.75.1 29 | -------------------------------------------------------------------------------- /android/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ashish-dsa/react-native-web-typescript/5ad389a4671bf6a5025828676f7e86ada94338b9/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-6.7-all.zip 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | -------------------------------------------------------------------------------- /android/gradlew: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | 3 | # 4 | # Copyright 2015 the original author or 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 UN*X 22 | ## 23 | ############################################################################## 24 | 25 | # Attempt to set APP_HOME 26 | # Resolve links: $0 may be a link 27 | PRG="$0" 28 | # Need this for relative symlinks. 29 | while [ -h "$PRG" ] ; do 30 | ls=`ls -ld "$PRG"` 31 | link=`expr "$ls" : '.*-> \(.*\)$'` 32 | if expr "$link" : '/.*' > /dev/null; then 33 | PRG="$link" 34 | else 35 | PRG=`dirname "$PRG"`"/$link" 36 | fi 37 | done 38 | SAVED="`pwd`" 39 | cd "`dirname \"$PRG\"`/" >/dev/null 40 | APP_HOME="`pwd -P`" 41 | cd "$SAVED" >/dev/null 42 | 43 | APP_NAME="Gradle" 44 | APP_BASE_NAME=`basename "$0"` 45 | 46 | # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 47 | DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"' 48 | 49 | # Use the maximum available, or set MAX_FD != -1 to use that value. 50 | MAX_FD="maximum" 51 | 52 | warn () { 53 | echo "$*" 54 | } 55 | 56 | die () { 57 | echo 58 | echo "$*" 59 | echo 60 | exit 1 61 | } 62 | 63 | # OS specific support (must be 'true' or 'false'). 64 | cygwin=false 65 | msys=false 66 | darwin=false 67 | nonstop=false 68 | case "`uname`" in 69 | CYGWIN* ) 70 | cygwin=true 71 | ;; 72 | Darwin* ) 73 | darwin=true 74 | ;; 75 | MINGW* ) 76 | msys=true 77 | ;; 78 | NONSTOP* ) 79 | nonstop=true 80 | ;; 81 | esac 82 | 83 | CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar 84 | 85 | 86 | # Determine the Java command to use to start the JVM. 87 | if [ -n "$JAVA_HOME" ] ; then 88 | if [ -x "$JAVA_HOME/jre/sh/java" ] ; then 89 | # IBM's JDK on AIX uses strange locations for the executables 90 | JAVACMD="$JAVA_HOME/jre/sh/java" 91 | else 92 | JAVACMD="$JAVA_HOME/bin/java" 93 | fi 94 | if [ ! -x "$JAVACMD" ] ; then 95 | die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME 96 | 97 | Please set the JAVA_HOME variable in your environment to match the 98 | location of your Java installation." 99 | fi 100 | else 101 | JAVACMD="java" 102 | which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 103 | 104 | Please set the JAVA_HOME variable in your environment to match the 105 | location of your Java installation." 106 | fi 107 | 108 | # Increase the maximum file descriptors if we can. 109 | if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then 110 | MAX_FD_LIMIT=`ulimit -H -n` 111 | if [ $? -eq 0 ] ; then 112 | if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then 113 | MAX_FD="$MAX_FD_LIMIT" 114 | fi 115 | ulimit -n $MAX_FD 116 | if [ $? -ne 0 ] ; then 117 | warn "Could not set maximum file descriptor limit: $MAX_FD" 118 | fi 119 | else 120 | warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT" 121 | fi 122 | fi 123 | 124 | # For Darwin, add options to specify how the application appears in the dock 125 | if $darwin; then 126 | GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" 127 | fi 128 | 129 | # For Cygwin or MSYS, switch paths to Windows format before running java 130 | if [ "$cygwin" = "true" -o "$msys" = "true" ] ; then 131 | APP_HOME=`cygpath --path --mixed "$APP_HOME"` 132 | CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` 133 | 134 | JAVACMD=`cygpath --unix "$JAVACMD"` 135 | 136 | # We build the pattern for arguments to be converted via cygpath 137 | ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null` 138 | SEP="" 139 | for dir in $ROOTDIRSRAW ; do 140 | ROOTDIRS="$ROOTDIRS$SEP$dir" 141 | SEP="|" 142 | done 143 | OURCYGPATTERN="(^($ROOTDIRS))" 144 | # Add a user-defined pattern to the cygpath arguments 145 | if [ "$GRADLE_CYGPATTERN" != "" ] ; then 146 | OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)" 147 | fi 148 | # Now convert the arguments - kludge to limit ourselves to /bin/sh 149 | i=0 150 | for arg in "$@" ; do 151 | CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -` 152 | CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option 153 | 154 | if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition 155 | eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"` 156 | else 157 | eval `echo args$i`="\"$arg\"" 158 | fi 159 | i=`expr $i + 1` 160 | done 161 | case $i in 162 | 0) set -- ;; 163 | 1) set -- "$args0" ;; 164 | 2) set -- "$args0" "$args1" ;; 165 | 3) set -- "$args0" "$args1" "$args2" ;; 166 | 4) set -- "$args0" "$args1" "$args2" "$args3" ;; 167 | 5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;; 168 | 6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;; 169 | 7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;; 170 | 8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;; 171 | 9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;; 172 | esac 173 | fi 174 | 175 | # Escape application args 176 | save () { 177 | for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done 178 | echo " " 179 | } 180 | APP_ARGS=`save "$@"` 181 | 182 | # Collect all arguments for the java command, following the shell quoting and substitution rules 183 | eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS" 184 | 185 | exec "$JAVACMD" "$@" 186 | -------------------------------------------------------------------------------- /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 | set APP_BASE_NAME=%~n0 30 | set APP_HOME=%DIRNAME% 31 | 32 | @rem Resolve any "." and ".." in APP_HOME to make it shorter. 33 | for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi 34 | 35 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 36 | set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m" 37 | 38 | @rem Find java.exe 39 | if defined JAVA_HOME goto findJavaFromJavaHome 40 | 41 | set JAVA_EXE=java.exe 42 | %JAVA_EXE% -version >NUL 2>&1 43 | if "%ERRORLEVEL%" == "0" goto execute 44 | 45 | echo. 46 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 47 | echo. 48 | echo Please set the JAVA_HOME variable in your environment to match the 49 | echo location of your Java installation. 50 | 51 | goto fail 52 | 53 | :findJavaFromJavaHome 54 | set JAVA_HOME=%JAVA_HOME:"=% 55 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe 56 | 57 | if exist "%JAVA_EXE%" goto execute 58 | 59 | echo. 60 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 61 | echo. 62 | echo Please set the JAVA_HOME variable in your environment to match the 63 | echo location of your Java installation. 64 | 65 | goto fail 66 | 67 | :execute 68 | @rem Setup the command line 69 | 70 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar 71 | 72 | 73 | @rem Execute Gradle 74 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %* 75 | 76 | :end 77 | @rem End local scope for the variables with windows NT shell 78 | if "%ERRORLEVEL%"=="0" goto mainEnd 79 | 80 | :fail 81 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of 82 | rem the _cmd.exe /c_ return code! 83 | if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 84 | exit /b 1 85 | 86 | :mainEnd 87 | if "%OS%"=="Windows_NT" endlocal 88 | 89 | :omega 90 | -------------------------------------------------------------------------------- /android/settings.gradle: -------------------------------------------------------------------------------- 1 | rootProject.name = 'myApp' 2 | include ':react-native-vector-icons' 3 | project(':react-native-vector-icons').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-vector-icons/android') 4 | include ':react-native-vector-icons' 5 | project(':react-native-vector-icons').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-vector-icons/android') 6 | include ':react-native-vector-icons' 7 | project(':react-native-vector-icons').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-vector-icons/android') 8 | include ':react-native-vector-icons' 9 | project(':react-native-vector-icons').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-vector-icons/android') 10 | include ':react-native-vector-icons' 11 | project(':react-native-vector-icons').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-vector-icons/android') 12 | include ':react-native-vector-icons' 13 | project(':react-native-vector-icons').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-vector-icons/android') 14 | apply from: file("../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesSettingsGradle(settings) 15 | include ':app' 16 | -------------------------------------------------------------------------------- /app.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "myApp", 3 | "displayName": "myApp" 4 | } -------------------------------------------------------------------------------- /babel.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | presets: [ 3 | "module:metro-react-native-babel-preset", 4 | [ 5 | "@babel/preset-env", 6 | { 7 | loose: true, 8 | shippedProposals: true, 9 | }, 10 | ], 11 | [ 12 | "@babel/preset-react", 13 | { 14 | loose: true, 15 | }, 16 | ], 17 | ], 18 | env: { 19 | production: { 20 | plugins: ["react-native-paper/babel"], 21 | }, 22 | }, 23 | plugins: [ 24 | ["@babel/plugin-transform-flow-strip-types", {loose: true}], 25 | ["@babel/plugin-proposal-class-properties", {loose: true}], 26 | ["@babel/plugin-proposal-private-methods", {loose: true}], 27 | ["@babel/plugin-proposal-private-property-in-object", {loose: true}], 28 | ["@babel/plugin-proposal-decorators", {legacy: true}], 29 | ], 30 | }; 31 | -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- 1 | import {AppRegistry, Platform} from "react-native"; 2 | import App from "./src/App"; 3 | 4 | AppRegistry.registerComponent("myApp", () => App); 5 | if (Platform.OS === "web") { 6 | AppRegistry.runApplication("myApp", { 7 | rootTag: document.getElementById("root"), 8 | }); 9 | } 10 | -------------------------------------------------------------------------------- /ios/Podfile: -------------------------------------------------------------------------------- 1 | require_relative '../node_modules/react-native/scripts/react_native_pods' 2 | require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules' 3 | 4 | platform :ios, '10.0' 5 | 6 | target 'myApp' do 7 | config = use_native_modules! 8 | 9 | use_react_native!( 10 | :path => config[:reactNativePath], 11 | # to enable hermes on iOS, change `false` to `true` and then install pods 12 | :hermes_enabled => false 13 | ) 14 | 15 | pod 'RNVectorIcons', :path => '../node_modules/react-native-vector-icons' 16 | 17 | target 'myAppTests' do 18 | inherit! :complete 19 | # Pods for testing 20 | end 21 | 22 | # Enables Flipper. 23 | # 24 | # Note that if you have use_frameworks! enabled, Flipper will not work and 25 | # you should disable the next line. 26 | # use_flipper!() 27 | 28 | post_install do |installer| 29 | react_native_post_install(installer) 30 | end 31 | end -------------------------------------------------------------------------------- /ios/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - boost-for-react-native (1.63.0) 3 | - DoubleConversion (1.1.6) 4 | - FBLazyVector (0.64.1) 5 | - FBReactNativeSpec (0.64.1): 6 | - RCT-Folly (= 2020.01.13.00) 7 | - RCTRequired (= 0.64.1) 8 | - RCTTypeSafety (= 0.64.1) 9 | - React-Core (= 0.64.1) 10 | - React-jsi (= 0.64.1) 11 | - ReactCommon/turbomodule/core (= 0.64.1) 12 | - glog (0.3.5) 13 | - RCT-Folly (2020.01.13.00): 14 | - boost-for-react-native 15 | - DoubleConversion 16 | - glog 17 | - RCT-Folly/Default (= 2020.01.13.00) 18 | - RCT-Folly/Default (2020.01.13.00): 19 | - boost-for-react-native 20 | - DoubleConversion 21 | - glog 22 | - RCTRequired (0.64.1) 23 | - RCTTypeSafety (0.64.1): 24 | - FBLazyVector (= 0.64.1) 25 | - RCT-Folly (= 2020.01.13.00) 26 | - RCTRequired (= 0.64.1) 27 | - React-Core (= 0.64.1) 28 | - React (0.64.1): 29 | - React-Core (= 0.64.1) 30 | - React-Core/DevSupport (= 0.64.1) 31 | - React-Core/RCTWebSocket (= 0.64.1) 32 | - React-RCTActionSheet (= 0.64.1) 33 | - React-RCTAnimation (= 0.64.1) 34 | - React-RCTBlob (= 0.64.1) 35 | - React-RCTImage (= 0.64.1) 36 | - React-RCTLinking (= 0.64.1) 37 | - React-RCTNetwork (= 0.64.1) 38 | - React-RCTSettings (= 0.64.1) 39 | - React-RCTText (= 0.64.1) 40 | - React-RCTVibration (= 0.64.1) 41 | - React-callinvoker (0.64.1) 42 | - React-Core (0.64.1): 43 | - glog 44 | - RCT-Folly (= 2020.01.13.00) 45 | - React-Core/Default (= 0.64.1) 46 | - React-cxxreact (= 0.64.1) 47 | - React-jsi (= 0.64.1) 48 | - React-jsiexecutor (= 0.64.1) 49 | - React-perflogger (= 0.64.1) 50 | - Yoga 51 | - React-Core/CoreModulesHeaders (0.64.1): 52 | - glog 53 | - RCT-Folly (= 2020.01.13.00) 54 | - React-Core/Default 55 | - React-cxxreact (= 0.64.1) 56 | - React-jsi (= 0.64.1) 57 | - React-jsiexecutor (= 0.64.1) 58 | - React-perflogger (= 0.64.1) 59 | - Yoga 60 | - React-Core/Default (0.64.1): 61 | - glog 62 | - RCT-Folly (= 2020.01.13.00) 63 | - React-cxxreact (= 0.64.1) 64 | - React-jsi (= 0.64.1) 65 | - React-jsiexecutor (= 0.64.1) 66 | - React-perflogger (= 0.64.1) 67 | - Yoga 68 | - React-Core/DevSupport (0.64.1): 69 | - glog 70 | - RCT-Folly (= 2020.01.13.00) 71 | - React-Core/Default (= 0.64.1) 72 | - React-Core/RCTWebSocket (= 0.64.1) 73 | - React-cxxreact (= 0.64.1) 74 | - React-jsi (= 0.64.1) 75 | - React-jsiexecutor (= 0.64.1) 76 | - React-jsinspector (= 0.64.1) 77 | - React-perflogger (= 0.64.1) 78 | - Yoga 79 | - React-Core/RCTActionSheetHeaders (0.64.1): 80 | - glog 81 | - RCT-Folly (= 2020.01.13.00) 82 | - React-Core/Default 83 | - React-cxxreact (= 0.64.1) 84 | - React-jsi (= 0.64.1) 85 | - React-jsiexecutor (= 0.64.1) 86 | - React-perflogger (= 0.64.1) 87 | - Yoga 88 | - React-Core/RCTAnimationHeaders (0.64.1): 89 | - glog 90 | - RCT-Folly (= 2020.01.13.00) 91 | - React-Core/Default 92 | - React-cxxreact (= 0.64.1) 93 | - React-jsi (= 0.64.1) 94 | - React-jsiexecutor (= 0.64.1) 95 | - React-perflogger (= 0.64.1) 96 | - Yoga 97 | - React-Core/RCTBlobHeaders (0.64.1): 98 | - glog 99 | - RCT-Folly (= 2020.01.13.00) 100 | - React-Core/Default 101 | - React-cxxreact (= 0.64.1) 102 | - React-jsi (= 0.64.1) 103 | - React-jsiexecutor (= 0.64.1) 104 | - React-perflogger (= 0.64.1) 105 | - Yoga 106 | - React-Core/RCTImageHeaders (0.64.1): 107 | - glog 108 | - RCT-Folly (= 2020.01.13.00) 109 | - React-Core/Default 110 | - React-cxxreact (= 0.64.1) 111 | - React-jsi (= 0.64.1) 112 | - React-jsiexecutor (= 0.64.1) 113 | - React-perflogger (= 0.64.1) 114 | - Yoga 115 | - React-Core/RCTLinkingHeaders (0.64.1): 116 | - glog 117 | - RCT-Folly (= 2020.01.13.00) 118 | - React-Core/Default 119 | - React-cxxreact (= 0.64.1) 120 | - React-jsi (= 0.64.1) 121 | - React-jsiexecutor (= 0.64.1) 122 | - React-perflogger (= 0.64.1) 123 | - Yoga 124 | - React-Core/RCTNetworkHeaders (0.64.1): 125 | - glog 126 | - RCT-Folly (= 2020.01.13.00) 127 | - React-Core/Default 128 | - React-cxxreact (= 0.64.1) 129 | - React-jsi (= 0.64.1) 130 | - React-jsiexecutor (= 0.64.1) 131 | - React-perflogger (= 0.64.1) 132 | - Yoga 133 | - React-Core/RCTSettingsHeaders (0.64.1): 134 | - glog 135 | - RCT-Folly (= 2020.01.13.00) 136 | - React-Core/Default 137 | - React-cxxreact (= 0.64.1) 138 | - React-jsi (= 0.64.1) 139 | - React-jsiexecutor (= 0.64.1) 140 | - React-perflogger (= 0.64.1) 141 | - Yoga 142 | - React-Core/RCTTextHeaders (0.64.1): 143 | - glog 144 | - RCT-Folly (= 2020.01.13.00) 145 | - React-Core/Default 146 | - React-cxxreact (= 0.64.1) 147 | - React-jsi (= 0.64.1) 148 | - React-jsiexecutor (= 0.64.1) 149 | - React-perflogger (= 0.64.1) 150 | - Yoga 151 | - React-Core/RCTVibrationHeaders (0.64.1): 152 | - glog 153 | - RCT-Folly (= 2020.01.13.00) 154 | - React-Core/Default 155 | - React-cxxreact (= 0.64.1) 156 | - React-jsi (= 0.64.1) 157 | - React-jsiexecutor (= 0.64.1) 158 | - React-perflogger (= 0.64.1) 159 | - Yoga 160 | - React-Core/RCTWebSocket (0.64.1): 161 | - glog 162 | - RCT-Folly (= 2020.01.13.00) 163 | - React-Core/Default (= 0.64.1) 164 | - React-cxxreact (= 0.64.1) 165 | - React-jsi (= 0.64.1) 166 | - React-jsiexecutor (= 0.64.1) 167 | - React-perflogger (= 0.64.1) 168 | - Yoga 169 | - React-CoreModules (0.64.1): 170 | - FBReactNativeSpec (= 0.64.1) 171 | - RCT-Folly (= 2020.01.13.00) 172 | - RCTTypeSafety (= 0.64.1) 173 | - React-Core/CoreModulesHeaders (= 0.64.1) 174 | - React-jsi (= 0.64.1) 175 | - React-RCTImage (= 0.64.1) 176 | - ReactCommon/turbomodule/core (= 0.64.1) 177 | - React-cxxreact (0.64.1): 178 | - boost-for-react-native (= 1.63.0) 179 | - DoubleConversion 180 | - glog 181 | - RCT-Folly (= 2020.01.13.00) 182 | - React-callinvoker (= 0.64.1) 183 | - React-jsi (= 0.64.1) 184 | - React-jsinspector (= 0.64.1) 185 | - React-perflogger (= 0.64.1) 186 | - React-runtimeexecutor (= 0.64.1) 187 | - React-jsi (0.64.1): 188 | - boost-for-react-native (= 1.63.0) 189 | - DoubleConversion 190 | - glog 191 | - RCT-Folly (= 2020.01.13.00) 192 | - React-jsi/Default (= 0.64.1) 193 | - React-jsi/Default (0.64.1): 194 | - boost-for-react-native (= 1.63.0) 195 | - DoubleConversion 196 | - glog 197 | - RCT-Folly (= 2020.01.13.00) 198 | - React-jsiexecutor (0.64.1): 199 | - DoubleConversion 200 | - glog 201 | - RCT-Folly (= 2020.01.13.00) 202 | - React-cxxreact (= 0.64.1) 203 | - React-jsi (= 0.64.1) 204 | - React-perflogger (= 0.64.1) 205 | - React-jsinspector (0.64.1) 206 | - react-native-safe-area-context (3.2.0): 207 | - React-Core 208 | - React-perflogger (0.64.1) 209 | - React-RCTActionSheet (0.64.1): 210 | - React-Core/RCTActionSheetHeaders (= 0.64.1) 211 | - React-RCTAnimation (0.64.1): 212 | - FBReactNativeSpec (= 0.64.1) 213 | - RCT-Folly (= 2020.01.13.00) 214 | - RCTTypeSafety (= 0.64.1) 215 | - React-Core/RCTAnimationHeaders (= 0.64.1) 216 | - React-jsi (= 0.64.1) 217 | - ReactCommon/turbomodule/core (= 0.64.1) 218 | - React-RCTBlob (0.64.1): 219 | - FBReactNativeSpec (= 0.64.1) 220 | - RCT-Folly (= 2020.01.13.00) 221 | - React-Core/RCTBlobHeaders (= 0.64.1) 222 | - React-Core/RCTWebSocket (= 0.64.1) 223 | - React-jsi (= 0.64.1) 224 | - React-RCTNetwork (= 0.64.1) 225 | - ReactCommon/turbomodule/core (= 0.64.1) 226 | - React-RCTImage (0.64.1): 227 | - FBReactNativeSpec (= 0.64.1) 228 | - RCT-Folly (= 2020.01.13.00) 229 | - RCTTypeSafety (= 0.64.1) 230 | - React-Core/RCTImageHeaders (= 0.64.1) 231 | - React-jsi (= 0.64.1) 232 | - React-RCTNetwork (= 0.64.1) 233 | - ReactCommon/turbomodule/core (= 0.64.1) 234 | - React-RCTLinking (0.64.1): 235 | - FBReactNativeSpec (= 0.64.1) 236 | - React-Core/RCTLinkingHeaders (= 0.64.1) 237 | - React-jsi (= 0.64.1) 238 | - ReactCommon/turbomodule/core (= 0.64.1) 239 | - React-RCTNetwork (0.64.1): 240 | - FBReactNativeSpec (= 0.64.1) 241 | - RCT-Folly (= 2020.01.13.00) 242 | - RCTTypeSafety (= 0.64.1) 243 | - React-Core/RCTNetworkHeaders (= 0.64.1) 244 | - React-jsi (= 0.64.1) 245 | - ReactCommon/turbomodule/core (= 0.64.1) 246 | - React-RCTSettings (0.64.1): 247 | - FBReactNativeSpec (= 0.64.1) 248 | - RCT-Folly (= 2020.01.13.00) 249 | - RCTTypeSafety (= 0.64.1) 250 | - React-Core/RCTSettingsHeaders (= 0.64.1) 251 | - React-jsi (= 0.64.1) 252 | - ReactCommon/turbomodule/core (= 0.64.1) 253 | - React-RCTText (0.64.1): 254 | - React-Core/RCTTextHeaders (= 0.64.1) 255 | - React-RCTVibration (0.64.1): 256 | - FBReactNativeSpec (= 0.64.1) 257 | - RCT-Folly (= 2020.01.13.00) 258 | - React-Core/RCTVibrationHeaders (= 0.64.1) 259 | - React-jsi (= 0.64.1) 260 | - ReactCommon/turbomodule/core (= 0.64.1) 261 | - React-runtimeexecutor (0.64.1): 262 | - React-jsi (= 0.64.1) 263 | - ReactCommon/turbomodule/core (0.64.1): 264 | - DoubleConversion 265 | - glog 266 | - RCT-Folly (= 2020.01.13.00) 267 | - React-callinvoker (= 0.64.1) 268 | - React-Core (= 0.64.1) 269 | - React-cxxreact (= 0.64.1) 270 | - React-jsi (= 0.64.1) 271 | - React-perflogger (= 0.64.1) 272 | - RNGestureHandler (1.10.3): 273 | - React-Core 274 | - RNReanimated (2.1.0): 275 | - DoubleConversion 276 | - FBLazyVector 277 | - FBReactNativeSpec 278 | - glog 279 | - RCT-Folly 280 | - RCTRequired 281 | - RCTTypeSafety 282 | - React 283 | - React-callinvoker 284 | - React-Core 285 | - React-Core/DevSupport 286 | - React-Core/RCTWebSocket 287 | - React-CoreModules 288 | - React-cxxreact 289 | - React-jsi 290 | - React-jsiexecutor 291 | - React-jsinspector 292 | - React-RCTActionSheet 293 | - React-RCTAnimation 294 | - React-RCTBlob 295 | - React-RCTImage 296 | - React-RCTLinking 297 | - React-RCTNetwork 298 | - React-RCTSettings 299 | - React-RCTText 300 | - React-RCTVibration 301 | - ReactCommon/turbomodule/core 302 | - Yoga 303 | - RNScreens (3.2.0): 304 | - React-Core 305 | - RNVectorIcons (8.1.0): 306 | - React-Core 307 | - Yoga (1.14.0) 308 | 309 | DEPENDENCIES: 310 | - DoubleConversion (from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`) 311 | - FBLazyVector (from `../node_modules/react-native/Libraries/FBLazyVector`) 312 | - FBReactNativeSpec (from `../node_modules/react-native/React/FBReactNativeSpec`) 313 | - glog (from `../node_modules/react-native/third-party-podspecs/glog.podspec`) 314 | - RCT-Folly (from `../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec`) 315 | - RCTRequired (from `../node_modules/react-native/Libraries/RCTRequired`) 316 | - RCTTypeSafety (from `../node_modules/react-native/Libraries/TypeSafety`) 317 | - React (from `../node_modules/react-native/`) 318 | - React-callinvoker (from `../node_modules/react-native/ReactCommon/callinvoker`) 319 | - React-Core (from `../node_modules/react-native/`) 320 | - React-Core/DevSupport (from `../node_modules/react-native/`) 321 | - React-Core/RCTWebSocket (from `../node_modules/react-native/`) 322 | - React-CoreModules (from `../node_modules/react-native/React/CoreModules`) 323 | - React-cxxreact (from `../node_modules/react-native/ReactCommon/cxxreact`) 324 | - React-jsi (from `../node_modules/react-native/ReactCommon/jsi`) 325 | - React-jsiexecutor (from `../node_modules/react-native/ReactCommon/jsiexecutor`) 326 | - React-jsinspector (from `../node_modules/react-native/ReactCommon/jsinspector`) 327 | - react-native-safe-area-context (from `../node_modules/react-native-safe-area-context`) 328 | - React-perflogger (from `../node_modules/react-native/ReactCommon/reactperflogger`) 329 | - React-RCTActionSheet (from `../node_modules/react-native/Libraries/ActionSheetIOS`) 330 | - React-RCTAnimation (from `../node_modules/react-native/Libraries/NativeAnimation`) 331 | - React-RCTBlob (from `../node_modules/react-native/Libraries/Blob`) 332 | - React-RCTImage (from `../node_modules/react-native/Libraries/Image`) 333 | - React-RCTLinking (from `../node_modules/react-native/Libraries/LinkingIOS`) 334 | - React-RCTNetwork (from `../node_modules/react-native/Libraries/Network`) 335 | - React-RCTSettings (from `../node_modules/react-native/Libraries/Settings`) 336 | - React-RCTText (from `../node_modules/react-native/Libraries/Text`) 337 | - React-RCTVibration (from `../node_modules/react-native/Libraries/Vibration`) 338 | - React-runtimeexecutor (from `../node_modules/react-native/ReactCommon/runtimeexecutor`) 339 | - ReactCommon/turbomodule/core (from `../node_modules/react-native/ReactCommon`) 340 | - RNGestureHandler (from `../node_modules/react-native-gesture-handler`) 341 | - RNReanimated (from `../node_modules/react-native-reanimated`) 342 | - RNScreens (from `../node_modules/react-native-screens`) 343 | - RNVectorIcons (from `../node_modules/react-native-vector-icons`) 344 | - Yoga (from `../node_modules/react-native/ReactCommon/yoga`) 345 | 346 | SPEC REPOS: 347 | trunk: 348 | - boost-for-react-native 349 | 350 | EXTERNAL SOURCES: 351 | DoubleConversion: 352 | :podspec: "../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec" 353 | FBLazyVector: 354 | :path: "../node_modules/react-native/Libraries/FBLazyVector" 355 | FBReactNativeSpec: 356 | :path: "../node_modules/react-native/React/FBReactNativeSpec" 357 | glog: 358 | :podspec: "../node_modules/react-native/third-party-podspecs/glog.podspec" 359 | RCT-Folly: 360 | :podspec: "../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec" 361 | RCTRequired: 362 | :path: "../node_modules/react-native/Libraries/RCTRequired" 363 | RCTTypeSafety: 364 | :path: "../node_modules/react-native/Libraries/TypeSafety" 365 | React: 366 | :path: "../node_modules/react-native/" 367 | React-callinvoker: 368 | :path: "../node_modules/react-native/ReactCommon/callinvoker" 369 | React-Core: 370 | :path: "../node_modules/react-native/" 371 | React-CoreModules: 372 | :path: "../node_modules/react-native/React/CoreModules" 373 | React-cxxreact: 374 | :path: "../node_modules/react-native/ReactCommon/cxxreact" 375 | React-jsi: 376 | :path: "../node_modules/react-native/ReactCommon/jsi" 377 | React-jsiexecutor: 378 | :path: "../node_modules/react-native/ReactCommon/jsiexecutor" 379 | React-jsinspector: 380 | :path: "../node_modules/react-native/ReactCommon/jsinspector" 381 | react-native-safe-area-context: 382 | :path: "../node_modules/react-native-safe-area-context" 383 | React-perflogger: 384 | :path: "../node_modules/react-native/ReactCommon/reactperflogger" 385 | React-RCTActionSheet: 386 | :path: "../node_modules/react-native/Libraries/ActionSheetIOS" 387 | React-RCTAnimation: 388 | :path: "../node_modules/react-native/Libraries/NativeAnimation" 389 | React-RCTBlob: 390 | :path: "../node_modules/react-native/Libraries/Blob" 391 | React-RCTImage: 392 | :path: "../node_modules/react-native/Libraries/Image" 393 | React-RCTLinking: 394 | :path: "../node_modules/react-native/Libraries/LinkingIOS" 395 | React-RCTNetwork: 396 | :path: "../node_modules/react-native/Libraries/Network" 397 | React-RCTSettings: 398 | :path: "../node_modules/react-native/Libraries/Settings" 399 | React-RCTText: 400 | :path: "../node_modules/react-native/Libraries/Text" 401 | React-RCTVibration: 402 | :path: "../node_modules/react-native/Libraries/Vibration" 403 | React-runtimeexecutor: 404 | :path: "../node_modules/react-native/ReactCommon/runtimeexecutor" 405 | ReactCommon: 406 | :path: "../node_modules/react-native/ReactCommon" 407 | RNGestureHandler: 408 | :path: "../node_modules/react-native-gesture-handler" 409 | RNReanimated: 410 | :path: "../node_modules/react-native-reanimated" 411 | RNScreens: 412 | :path: "../node_modules/react-native-screens" 413 | RNVectorIcons: 414 | :path: "../node_modules/react-native-vector-icons" 415 | Yoga: 416 | :path: "../node_modules/react-native/ReactCommon/yoga" 417 | 418 | SPEC CHECKSUMS: 419 | boost-for-react-native: 39c7adb57c4e60d6c5479dd8623128eb5b3f0f2c 420 | DoubleConversion: cf9b38bf0b2d048436d9a82ad2abe1404f11e7de 421 | FBLazyVector: 7b423f9e248eae65987838148c36eec1dbfe0b53 422 | FBReactNativeSpec: 486b99f6c06b30452154e525befbe562807e0369 423 | glog: 73c2498ac6884b13ede40eda8228cb1eee9d9d62 424 | RCT-Folly: ec7a233ccc97cc556cf7237f0db1ff65b986f27c 425 | RCTRequired: ec2ebc96b7bfba3ca5c32740f5a0c6a014a274d2 426 | RCTTypeSafety: 22567f31e67c3e088c7ac23ea46ab6d4779c0ea5 427 | React: a241e3dbb1e91d06332f1dbd2b3ab26e1a4c4b9d 428 | React-callinvoker: da4d1c6141696a00163960906bc8a55b985e4ce4 429 | React-Core: 46ba164c437d7dac607b470c83c8308b05799748 430 | React-CoreModules: 217bd14904491c7b9940ff8b34a3fe08013c2f14 431 | React-cxxreact: 0090588ae6660c4615d3629fdd5c768d0983add4 432 | React-jsi: 5de8204706bd872b78ea646aee5d2561ca1214b6 433 | React-jsiexecutor: 124e8f99992490d0d13e0649d950d3e1aae06fe9 434 | React-jsinspector: 500a59626037be5b3b3d89c5151bc3baa9abf1a9 435 | react-native-safe-area-context: f0906bf8bc9835ac9a9d3f97e8bde2a997d8da79 436 | React-perflogger: aad6d4b4a267936b3667260d1f649b6f6069a675 437 | React-RCTActionSheet: fc376be462c9c8d6ad82c0905442fd77f82a9d2a 438 | React-RCTAnimation: ba0a1c3a2738be224a08092fa7f1b444ab77d309 439 | React-RCTBlob: f758d4403fc5828a326dc69e27b41e1a92f34947 440 | React-RCTImage: ce57088705f4a8d03f6594b066a59c29143ba73e 441 | React-RCTLinking: 852a3a95c65fa63f657a4b4e2d3d83a815e00a7c 442 | React-RCTNetwork: 9d7ccb8a08d522d71700b4fb677d9fa28cccd118 443 | React-RCTSettings: d8aaf4389ff06114dee8c42ef5f0f2915946011e 444 | React-RCTText: 809c12ed6b261796ba056c04fcd20d8b90bcc81d 445 | React-RCTVibration: 4b99a7f5c6c0abbc5256410cc5425fb8531986e1 446 | React-runtimeexecutor: ff951a0c241bfaefc4940a3f1f1a229e7cb32fa6 447 | ReactCommon: bedc99ed4dae329c4fcf128d0c31b9115e5365ca 448 | RNGestureHandler: a479ebd5ed4221a810967000735517df0d2db211 449 | RNReanimated: b8c8004b43446e3c2709fe64b2b41072f87428ad 450 | RNScreens: c277bfc4b5bb7c2fe977d19635df6f974f95dfd6 451 | RNVectorIcons: 31cebfcf94e8cf8686eb5303ae0357da64d7a5a4 452 | Yoga: a7de31c64fe738607e7a3803e3f591a4b1df7393 453 | 454 | PODFILE CHECKSUM: b9bd803bde33b8bb94811d4fe3fe71cd151fa367 455 | 456 | COCOAPODS: 1.10.1 457 | -------------------------------------------------------------------------------- /ios/myApp.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 54; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 00E356F31AD99517003FC87E /* myAppTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* myAppTests.m */; }; 11 | 05568FA5EC474299893B75DF /* Zocial.ttf in Resources */ = {isa = PBXBuildFile; fileRef = E0C1541DE0DA4D8D92E652EC /* Zocial.ttf */; }; 12 | 09760750E17C42B8B3D8DC66 /* Entypo.ttf in Resources */ = {isa = PBXBuildFile; fileRef = B989347385BF4C5AAF40A828 /* Entypo.ttf */; }; 13 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; }; 14 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; }; 15 | 13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; }; 16 | 1EACBFDC38014E57AA390843 /* MaterialCommunityIcons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = BE8B4A847A36425E9873FA7E /* MaterialCommunityIcons.ttf */; }; 17 | 2DCC3B7C8B1F419AAFDFAD3F /* Foundation.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 787817D94CA349EBADC32612 /* Foundation.ttf */; }; 18 | 34E3B4CC45AF4C4490E2E35C /* AntDesign.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 51C67BEDCB8A4D4083D4B7C0 /* AntDesign.ttf */; }; 19 | 38D5F5F37683426D8B471A34 /* FontAwesome.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 4DFBDB0BCE9F41C8B24FD7ED /* FontAwesome.ttf */; }; 20 | 3A744AC623D547859FDCF390 /* FontAwesome5_Brands.ttf in Resources */ = {isa = PBXBuildFile; fileRef = D6895DBCF4F942D1A5A4DCF6 /* FontAwesome5_Brands.ttf */; }; 21 | 3C287409AAEB4510A7EDB1A3 /* EvilIcons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = F36E0FCA80434424B4880147 /* EvilIcons.ttf */; }; 22 | 403D0A9AAE5F4D35BA3D2F1B /* FontAwesome5_Solid.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 03D1FDBAD72A40A6A78653ED /* FontAwesome5_Solid.ttf */; }; 23 | 46F71E952651453F00CF14D8 /* libRNReanimated.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46F71E942651453F00CF14D8 /* libRNReanimated.a */; }; 24 | 58B7DE17E0BE4927A3FE37B8 /* Ionicons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 56EC4CC222804E1E858360BB /* Ionicons.ttf */; }; 25 | 73ECCABF8840191D54A4B1D1 /* libPods-myApp-myAppTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5F1A2E2A8EDE8942461B1799 /* libPods-myApp-myAppTests.a */; }; 26 | 81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */; }; 27 | 83274B0D76034E67BA23D4C5 /* SimpleLineIcons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = DE5D0964A16D40DA9C3802C5 /* SimpleLineIcons.ttf */; }; 28 | A80B4A7DBA89C6BA060C4D24 /* libPods-myApp.a in Frameworks */ = {isa = PBXBuildFile; fileRef = FDECF1702E6D1C898BF9A07E /* libPods-myApp.a */; }; 29 | A8166852FD154EA38FE93F4C /* Octicons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = ABD08C209952476092C4B068 /* Octicons.ttf */; }; 30 | AE748FB73530457F99A4C646 /* Fontisto.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 39066246B0D34DBDAA35D7A0 /* Fontisto.ttf */; }; 31 | BF35B705EECC4E4BAA43C6BF /* MaterialIcons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 0FC3DDB0D39749449FAD6E19 /* MaterialIcons.ttf */; }; 32 | C571974862F240D0B2968CA2 /* Feather.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 0370108B191647ACA7B82B1A /* Feather.ttf */; }; 33 | DDDB2430F5B144998829030A /* FontAwesome5_Regular.ttf in Resources */ = {isa = PBXBuildFile; fileRef = AEC5B439440B436F8841C5AF /* FontAwesome5_Regular.ttf */; }; 34 | /* End PBXBuildFile section */ 35 | 36 | /* Begin PBXContainerItemProxy section */ 37 | 00E356F41AD99517003FC87E /* PBXContainerItemProxy */ = { 38 | isa = PBXContainerItemProxy; 39 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */; 40 | proxyType = 1; 41 | remoteGlobalIDString = 13B07F861A680F5B00A75B9A; 42 | remoteInfo = myApp; 43 | }; 44 | /* End PBXContainerItemProxy section */ 45 | 46 | /* Begin PBXFileReference section */ 47 | 00E356EE1AD99517003FC87E /* myAppTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = myAppTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 48 | 00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 49 | 00E356F21AD99517003FC87E /* myAppTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = myAppTests.m; sourceTree = ""; }; 50 | 0370108B191647ACA7B82B1A /* Feather.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = Feather.ttf; path = "../node_modules/react-native-vector-icons/Fonts/Feather.ttf"; sourceTree = ""; }; 51 | 03D1FDBAD72A40A6A78653ED /* FontAwesome5_Solid.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = FontAwesome5_Solid.ttf; path = "../node_modules/react-native-vector-icons/Fonts/FontAwesome5_Solid.ttf"; sourceTree = ""; }; 52 | 078AC3C4D279A7AAAFAB2231 /* Pods-myApp.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-myApp.debug.xcconfig"; path = "Target Support Files/Pods-myApp/Pods-myApp.debug.xcconfig"; sourceTree = ""; }; 53 | 0FC3DDB0D39749449FAD6E19 /* MaterialIcons.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = MaterialIcons.ttf; path = "../node_modules/react-native-vector-icons/Fonts/MaterialIcons.ttf"; sourceTree = ""; }; 54 | 13B07F961A680F5B00A75B9A /* myApp.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = myApp.app; sourceTree = BUILT_PRODUCTS_DIR; }; 55 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = myApp/AppDelegate.h; sourceTree = ""; }; 56 | 13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = myApp/AppDelegate.m; sourceTree = ""; }; 57 | 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = myApp/Images.xcassets; sourceTree = ""; }; 58 | 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = myApp/Info.plist; sourceTree = ""; }; 59 | 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = myApp/main.m; sourceTree = ""; }; 60 | 39066246B0D34DBDAA35D7A0 /* Fontisto.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = Fontisto.ttf; path = "../node_modules/react-native-vector-icons/Fonts/Fontisto.ttf"; sourceTree = ""; }; 61 | 46F71E942651453F00CF14D8 /* libRNReanimated.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; path = libRNReanimated.a; sourceTree = BUILT_PRODUCTS_DIR; }; 62 | 4DFBDB0BCE9F41C8B24FD7ED /* FontAwesome.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = FontAwesome.ttf; path = "../node_modules/react-native-vector-icons/Fonts/FontAwesome.ttf"; sourceTree = ""; }; 63 | 51C67BEDCB8A4D4083D4B7C0 /* AntDesign.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = AntDesign.ttf; path = "../node_modules/react-native-vector-icons/Fonts/AntDesign.ttf"; sourceTree = ""; }; 64 | 56EC4CC222804E1E858360BB /* Ionicons.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = Ionicons.ttf; path = "../node_modules/react-native-vector-icons/Fonts/Ionicons.ttf"; sourceTree = ""; }; 65 | 57EED6D80D53A7C36FC69951 /* Pods-myApp.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-myApp.release.xcconfig"; path = "Target Support Files/Pods-myApp/Pods-myApp.release.xcconfig"; sourceTree = ""; }; 66 | 5F1A2E2A8EDE8942461B1799 /* libPods-myApp-myAppTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-myApp-myAppTests.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 67 | 787817D94CA349EBADC32612 /* Foundation.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = Foundation.ttf; path = "../node_modules/react-native-vector-icons/Fonts/Foundation.ttf"; sourceTree = ""; }; 68 | 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = LaunchScreen.storyboard; path = myApp/LaunchScreen.storyboard; sourceTree = ""; }; 69 | 9D6C56C93D9732E9BE438084 /* Pods-myApp-myAppTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-myApp-myAppTests.debug.xcconfig"; path = "Target Support Files/Pods-myApp-myAppTests/Pods-myApp-myAppTests.debug.xcconfig"; sourceTree = ""; }; 70 | ABD08C209952476092C4B068 /* Octicons.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = Octicons.ttf; path = "../node_modules/react-native-vector-icons/Fonts/Octicons.ttf"; sourceTree = ""; }; 71 | AEC5B439440B436F8841C5AF /* FontAwesome5_Regular.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = FontAwesome5_Regular.ttf; path = "../node_modules/react-native-vector-icons/Fonts/FontAwesome5_Regular.ttf"; sourceTree = ""; }; 72 | B989347385BF4C5AAF40A828 /* Entypo.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = Entypo.ttf; path = "../node_modules/react-native-vector-icons/Fonts/Entypo.ttf"; sourceTree = ""; }; 73 | BE8B4A847A36425E9873FA7E /* MaterialCommunityIcons.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = MaterialCommunityIcons.ttf; path = "../node_modules/react-native-vector-icons/Fonts/MaterialCommunityIcons.ttf"; sourceTree = ""; }; 74 | D6895DBCF4F942D1A5A4DCF6 /* FontAwesome5_Brands.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = FontAwesome5_Brands.ttf; path = "../node_modules/react-native-vector-icons/Fonts/FontAwesome5_Brands.ttf"; sourceTree = ""; }; 75 | DE5D0964A16D40DA9C3802C5 /* SimpleLineIcons.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = SimpleLineIcons.ttf; path = "../node_modules/react-native-vector-icons/Fonts/SimpleLineIcons.ttf"; sourceTree = ""; }; 76 | E0C1541DE0DA4D8D92E652EC /* Zocial.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = Zocial.ttf; path = "../node_modules/react-native-vector-icons/Fonts/Zocial.ttf"; sourceTree = ""; }; 77 | ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; }; 78 | F36E0FCA80434424B4880147 /* EvilIcons.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = EvilIcons.ttf; path = "../node_modules/react-native-vector-icons/Fonts/EvilIcons.ttf"; sourceTree = ""; }; 79 | FDECF1702E6D1C898BF9A07E /* libPods-myApp.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-myApp.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 80 | FF8BDF5A1FE09E23EA91D49E /* Pods-myApp-myAppTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-myApp-myAppTests.release.xcconfig"; path = "Target Support Files/Pods-myApp-myAppTests/Pods-myApp-myAppTests.release.xcconfig"; sourceTree = ""; }; 81 | /* End PBXFileReference section */ 82 | 83 | /* Begin PBXFrameworksBuildPhase section */ 84 | 00E356EB1AD99517003FC87E /* Frameworks */ = { 85 | isa = PBXFrameworksBuildPhase; 86 | buildActionMask = 2147483647; 87 | files = ( 88 | 73ECCABF8840191D54A4B1D1 /* libPods-myApp-myAppTests.a in Frameworks */, 89 | ); 90 | runOnlyForDeploymentPostprocessing = 0; 91 | }; 92 | 13B07F8C1A680F5B00A75B9A /* Frameworks */ = { 93 | isa = PBXFrameworksBuildPhase; 94 | buildActionMask = 2147483647; 95 | files = ( 96 | 46F71E952651453F00CF14D8 /* libRNReanimated.a in Frameworks */, 97 | A80B4A7DBA89C6BA060C4D24 /* libPods-myApp.a in Frameworks */, 98 | ); 99 | runOnlyForDeploymentPostprocessing = 0; 100 | }; 101 | /* End PBXFrameworksBuildPhase section */ 102 | 103 | /* Begin PBXGroup section */ 104 | 00E356EF1AD99517003FC87E /* myAppTests */ = { 105 | isa = PBXGroup; 106 | children = ( 107 | 00E356F21AD99517003FC87E /* myAppTests.m */, 108 | 00E356F01AD99517003FC87E /* Supporting Files */, 109 | ); 110 | path = myAppTests; 111 | sourceTree = ""; 112 | }; 113 | 00E356F01AD99517003FC87E /* Supporting Files */ = { 114 | isa = PBXGroup; 115 | children = ( 116 | 00E356F11AD99517003FC87E /* Info.plist */, 117 | ); 118 | name = "Supporting Files"; 119 | sourceTree = ""; 120 | }; 121 | 13B07FAE1A68108700A75B9A /* myApp */ = { 122 | isa = PBXGroup; 123 | children = ( 124 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */, 125 | 13B07FB01A68108700A75B9A /* AppDelegate.m */, 126 | 13B07FB51A68108700A75B9A /* Images.xcassets */, 127 | 13B07FB61A68108700A75B9A /* Info.plist */, 128 | 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */, 129 | 13B07FB71A68108700A75B9A /* main.m */, 130 | ); 131 | name = myApp; 132 | sourceTree = ""; 133 | }; 134 | 2D16E6871FA4F8E400B85C8A /* Frameworks */ = { 135 | isa = PBXGroup; 136 | children = ( 137 | 46F71E942651453F00CF14D8 /* libRNReanimated.a */, 138 | ED297162215061F000B7C4FE /* JavaScriptCore.framework */, 139 | FDECF1702E6D1C898BF9A07E /* libPods-myApp.a */, 140 | 5F1A2E2A8EDE8942461B1799 /* libPods-myApp-myAppTests.a */, 141 | ); 142 | name = Frameworks; 143 | sourceTree = ""; 144 | }; 145 | 7A411323DA75428CAB6974FB /* Resources */ = { 146 | isa = PBXGroup; 147 | children = ( 148 | 51C67BEDCB8A4D4083D4B7C0 /* AntDesign.ttf */, 149 | B989347385BF4C5AAF40A828 /* Entypo.ttf */, 150 | F36E0FCA80434424B4880147 /* EvilIcons.ttf */, 151 | 0370108B191647ACA7B82B1A /* Feather.ttf */, 152 | 4DFBDB0BCE9F41C8B24FD7ED /* FontAwesome.ttf */, 153 | D6895DBCF4F942D1A5A4DCF6 /* FontAwesome5_Brands.ttf */, 154 | AEC5B439440B436F8841C5AF /* FontAwesome5_Regular.ttf */, 155 | 03D1FDBAD72A40A6A78653ED /* FontAwesome5_Solid.ttf */, 156 | 39066246B0D34DBDAA35D7A0 /* Fontisto.ttf */, 157 | 787817D94CA349EBADC32612 /* Foundation.ttf */, 158 | 56EC4CC222804E1E858360BB /* Ionicons.ttf */, 159 | BE8B4A847A36425E9873FA7E /* MaterialCommunityIcons.ttf */, 160 | 0FC3DDB0D39749449FAD6E19 /* MaterialIcons.ttf */, 161 | ABD08C209952476092C4B068 /* Octicons.ttf */, 162 | DE5D0964A16D40DA9C3802C5 /* SimpleLineIcons.ttf */, 163 | E0C1541DE0DA4D8D92E652EC /* Zocial.ttf */, 164 | ); 165 | name = Resources; 166 | sourceTree = ""; 167 | }; 168 | 832341AE1AAA6A7D00B99B32 /* Libraries */ = { 169 | isa = PBXGroup; 170 | children = ( 171 | ); 172 | name = Libraries; 173 | sourceTree = ""; 174 | }; 175 | 83CBB9F61A601CBA00E9B192 = { 176 | isa = PBXGroup; 177 | children = ( 178 | 13B07FAE1A68108700A75B9A /* myApp */, 179 | 832341AE1AAA6A7D00B99B32 /* Libraries */, 180 | 00E356EF1AD99517003FC87E /* myAppTests */, 181 | 83CBBA001A601CBA00E9B192 /* Products */, 182 | 2D16E6871FA4F8E400B85C8A /* Frameworks */, 183 | FC099719131E6119B0B1969F /* Pods */, 184 | 7A411323DA75428CAB6974FB /* Resources */, 185 | ); 186 | indentWidth = 2; 187 | sourceTree = ""; 188 | tabWidth = 2; 189 | usesTabs = 0; 190 | }; 191 | 83CBBA001A601CBA00E9B192 /* Products */ = { 192 | isa = PBXGroup; 193 | children = ( 194 | 13B07F961A680F5B00A75B9A /* myApp.app */, 195 | 00E356EE1AD99517003FC87E /* myAppTests.xctest */, 196 | ); 197 | name = Products; 198 | sourceTree = ""; 199 | }; 200 | FC099719131E6119B0B1969F /* Pods */ = { 201 | isa = PBXGroup; 202 | children = ( 203 | 078AC3C4D279A7AAAFAB2231 /* Pods-myApp.debug.xcconfig */, 204 | 57EED6D80D53A7C36FC69951 /* Pods-myApp.release.xcconfig */, 205 | 9D6C56C93D9732E9BE438084 /* Pods-myApp-myAppTests.debug.xcconfig */, 206 | FF8BDF5A1FE09E23EA91D49E /* Pods-myApp-myAppTests.release.xcconfig */, 207 | ); 208 | path = Pods; 209 | sourceTree = ""; 210 | }; 211 | /* End PBXGroup section */ 212 | 213 | /* Begin PBXNativeTarget section */ 214 | 00E356ED1AD99517003FC87E /* myAppTests */ = { 215 | isa = PBXNativeTarget; 216 | buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "myAppTests" */; 217 | buildPhases = ( 218 | 2DC3EFC5ADCDB5217DA481F7 /* [CP] Check Pods Manifest.lock */, 219 | 00E356EA1AD99517003FC87E /* Sources */, 220 | 00E356EB1AD99517003FC87E /* Frameworks */, 221 | 00E356EC1AD99517003FC87E /* Resources */, 222 | 4E4F9C196C7C20FDD9EF742C /* [CP] Copy Pods Resources */, 223 | ); 224 | buildRules = ( 225 | ); 226 | dependencies = ( 227 | 00E356F51AD99517003FC87E /* PBXTargetDependency */, 228 | ); 229 | name = myAppTests; 230 | productName = myAppTests; 231 | productReference = 00E356EE1AD99517003FC87E /* myAppTests.xctest */; 232 | productType = "com.apple.product-type.bundle.unit-test"; 233 | }; 234 | 13B07F861A680F5B00A75B9A /* myApp */ = { 235 | isa = PBXNativeTarget; 236 | buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "myApp" */; 237 | buildPhases = ( 238 | E493EE6C9CBD3BD2AACEC460 /* [CP] Check Pods Manifest.lock */, 239 | FD10A7F022414F080027D42C /* Start Packager */, 240 | 13B07F871A680F5B00A75B9A /* Sources */, 241 | 13B07F8C1A680F5B00A75B9A /* Frameworks */, 242 | 13B07F8E1A680F5B00A75B9A /* Resources */, 243 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */, 244 | C2CD138928D82400AECB41F3 /* [CP] Copy Pods Resources */, 245 | ); 246 | buildRules = ( 247 | ); 248 | dependencies = ( 249 | ); 250 | name = myApp; 251 | productName = myApp; 252 | productReference = 13B07F961A680F5B00A75B9A /* myApp.app */; 253 | productType = "com.apple.product-type.application"; 254 | }; 255 | /* End PBXNativeTarget section */ 256 | 257 | /* Begin PBXProject section */ 258 | 83CBB9F71A601CBA00E9B192 /* Project object */ = { 259 | isa = PBXProject; 260 | attributes = { 261 | LastUpgradeCheck = 1210; 262 | TargetAttributes = { 263 | 00E356ED1AD99517003FC87E = { 264 | CreatedOnToolsVersion = 6.2; 265 | TestTargetID = 13B07F861A680F5B00A75B9A; 266 | }; 267 | 13B07F861A680F5B00A75B9A = { 268 | LastSwiftMigration = 1120; 269 | }; 270 | }; 271 | }; 272 | buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "myApp" */; 273 | compatibilityVersion = "Xcode 12.0"; 274 | developmentRegion = en; 275 | hasScannedForEncodings = 0; 276 | knownRegions = ( 277 | en, 278 | Base, 279 | ); 280 | mainGroup = 83CBB9F61A601CBA00E9B192; 281 | productRefGroup = 83CBBA001A601CBA00E9B192 /* Products */; 282 | projectDirPath = ""; 283 | projectRoot = ""; 284 | targets = ( 285 | 13B07F861A680F5B00A75B9A /* myApp */, 286 | 00E356ED1AD99517003FC87E /* myAppTests */, 287 | ); 288 | }; 289 | /* End PBXProject section */ 290 | 291 | /* Begin PBXResourcesBuildPhase section */ 292 | 00E356EC1AD99517003FC87E /* Resources */ = { 293 | isa = PBXResourcesBuildPhase; 294 | buildActionMask = 2147483647; 295 | files = ( 296 | ); 297 | runOnlyForDeploymentPostprocessing = 0; 298 | }; 299 | 13B07F8E1A680F5B00A75B9A /* Resources */ = { 300 | isa = PBXResourcesBuildPhase; 301 | buildActionMask = 2147483647; 302 | files = ( 303 | 81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */, 304 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */, 305 | 34E3B4CC45AF4C4490E2E35C /* AntDesign.ttf in Resources */, 306 | 09760750E17C42B8B3D8DC66 /* Entypo.ttf in Resources */, 307 | 3C287409AAEB4510A7EDB1A3 /* EvilIcons.ttf in Resources */, 308 | C571974862F240D0B2968CA2 /* Feather.ttf in Resources */, 309 | 38D5F5F37683426D8B471A34 /* FontAwesome.ttf in Resources */, 310 | 3A744AC623D547859FDCF390 /* FontAwesome5_Brands.ttf in Resources */, 311 | DDDB2430F5B144998829030A /* FontAwesome5_Regular.ttf in Resources */, 312 | 403D0A9AAE5F4D35BA3D2F1B /* FontAwesome5_Solid.ttf in Resources */, 313 | AE748FB73530457F99A4C646 /* Fontisto.ttf in Resources */, 314 | 2DCC3B7C8B1F419AAFDFAD3F /* Foundation.ttf in Resources */, 315 | 58B7DE17E0BE4927A3FE37B8 /* Ionicons.ttf in Resources */, 316 | 1EACBFDC38014E57AA390843 /* MaterialCommunityIcons.ttf in Resources */, 317 | BF35B705EECC4E4BAA43C6BF /* MaterialIcons.ttf in Resources */, 318 | A8166852FD154EA38FE93F4C /* Octicons.ttf in Resources */, 319 | 83274B0D76034E67BA23D4C5 /* SimpleLineIcons.ttf in Resources */, 320 | 05568FA5EC474299893B75DF /* Zocial.ttf in Resources */, 321 | ); 322 | runOnlyForDeploymentPostprocessing = 0; 323 | }; 324 | /* End PBXResourcesBuildPhase section */ 325 | 326 | /* Begin PBXShellScriptBuildPhase section */ 327 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */ = { 328 | isa = PBXShellScriptBuildPhase; 329 | buildActionMask = 2147483647; 330 | files = ( 331 | ); 332 | inputPaths = ( 333 | ); 334 | name = "Bundle React Native code and images"; 335 | outputPaths = ( 336 | ); 337 | runOnlyForDeploymentPostprocessing = 0; 338 | shellPath = /bin/sh; 339 | shellScript = "set -e\n\nexport NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh\n"; 340 | }; 341 | 2DC3EFC5ADCDB5217DA481F7 /* [CP] Check Pods Manifest.lock */ = { 342 | isa = PBXShellScriptBuildPhase; 343 | buildActionMask = 2147483647; 344 | files = ( 345 | ); 346 | inputFileListPaths = ( 347 | ); 348 | inputPaths = ( 349 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 350 | "${PODS_ROOT}/Manifest.lock", 351 | ); 352 | name = "[CP] Check Pods Manifest.lock"; 353 | outputFileListPaths = ( 354 | ); 355 | outputPaths = ( 356 | "$(DERIVED_FILE_DIR)/Pods-myApp-myAppTests-checkManifestLockResult.txt", 357 | ); 358 | runOnlyForDeploymentPostprocessing = 0; 359 | shellPath = /bin/sh; 360 | 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"; 361 | showEnvVarsInLog = 0; 362 | }; 363 | 4E4F9C196C7C20FDD9EF742C /* [CP] Copy Pods Resources */ = { 364 | isa = PBXShellScriptBuildPhase; 365 | buildActionMask = 2147483647; 366 | files = ( 367 | ); 368 | inputFileListPaths = ( 369 | "${PODS_ROOT}/Target Support Files/Pods-myApp-myAppTests/Pods-myApp-myAppTests-resources-${CONFIGURATION}-input-files.xcfilelist", 370 | ); 371 | name = "[CP] Copy Pods Resources"; 372 | outputFileListPaths = ( 373 | "${PODS_ROOT}/Target Support Files/Pods-myApp-myAppTests/Pods-myApp-myAppTests-resources-${CONFIGURATION}-output-files.xcfilelist", 374 | ); 375 | runOnlyForDeploymentPostprocessing = 0; 376 | shellPath = /bin/sh; 377 | shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-myApp-myAppTests/Pods-myApp-myAppTests-resources.sh\"\n"; 378 | showEnvVarsInLog = 0; 379 | }; 380 | C2CD138928D82400AECB41F3 /* [CP] Copy Pods Resources */ = { 381 | isa = PBXShellScriptBuildPhase; 382 | buildActionMask = 8; 383 | files = ( 384 | ); 385 | inputFileListPaths = ( 386 | "${PODS_ROOT}/Target Support Files/Pods-myApp/Pods-myApp-resources-${CONFIGURATION}-input-files.xcfilelist", 387 | ); 388 | name = "[CP] Copy Pods Resources"; 389 | outputFileListPaths = ( 390 | "${PODS_ROOT}/Target Support Files/Pods-myApp/Pods-myApp-resources-${CONFIGURATION}-output-files.xcfilelist", 391 | ); 392 | runOnlyForDeploymentPostprocessing = 1; 393 | shellPath = /bin/sh; 394 | shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-myApp/Pods-myApp-resources.sh\"\n"; 395 | showEnvVarsInLog = 0; 396 | }; 397 | E493EE6C9CBD3BD2AACEC460 /* [CP] Check Pods Manifest.lock */ = { 398 | isa = PBXShellScriptBuildPhase; 399 | buildActionMask = 2147483647; 400 | files = ( 401 | ); 402 | inputFileListPaths = ( 403 | ); 404 | inputPaths = ( 405 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 406 | "${PODS_ROOT}/Manifest.lock", 407 | ); 408 | name = "[CP] Check Pods Manifest.lock"; 409 | outputFileListPaths = ( 410 | ); 411 | outputPaths = ( 412 | "$(DERIVED_FILE_DIR)/Pods-myApp-checkManifestLockResult.txt", 413 | ); 414 | runOnlyForDeploymentPostprocessing = 0; 415 | shellPath = /bin/sh; 416 | 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"; 417 | showEnvVarsInLog = 0; 418 | }; 419 | FD10A7F022414F080027D42C /* Start Packager */ = { 420 | isa = PBXShellScriptBuildPhase; 421 | buildActionMask = 2147483647; 422 | files = ( 423 | ); 424 | inputFileListPaths = ( 425 | ); 426 | inputPaths = ( 427 | ); 428 | name = "Start Packager"; 429 | outputFileListPaths = ( 430 | ); 431 | outputPaths = ( 432 | ); 433 | runOnlyForDeploymentPostprocessing = 0; 434 | shellPath = /bin/sh; 435 | 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"; 436 | showEnvVarsInLog = 0; 437 | }; 438 | /* End PBXShellScriptBuildPhase section */ 439 | 440 | /* Begin PBXSourcesBuildPhase section */ 441 | 00E356EA1AD99517003FC87E /* Sources */ = { 442 | isa = PBXSourcesBuildPhase; 443 | buildActionMask = 2147483647; 444 | files = ( 445 | 00E356F31AD99517003FC87E /* myAppTests.m in Sources */, 446 | ); 447 | runOnlyForDeploymentPostprocessing = 0; 448 | }; 449 | 13B07F871A680F5B00A75B9A /* Sources */ = { 450 | isa = PBXSourcesBuildPhase; 451 | buildActionMask = 2147483647; 452 | files = ( 453 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */, 454 | 13B07FC11A68108700A75B9A /* main.m in Sources */, 455 | ); 456 | runOnlyForDeploymentPostprocessing = 0; 457 | }; 458 | /* End PBXSourcesBuildPhase section */ 459 | 460 | /* Begin PBXTargetDependency section */ 461 | 00E356F51AD99517003FC87E /* PBXTargetDependency */ = { 462 | isa = PBXTargetDependency; 463 | target = 13B07F861A680F5B00A75B9A /* myApp */; 464 | targetProxy = 00E356F41AD99517003FC87E /* PBXContainerItemProxy */; 465 | }; 466 | /* End PBXTargetDependency section */ 467 | 468 | /* Begin XCBuildConfiguration section */ 469 | 00E356F61AD99517003FC87E /* Debug */ = { 470 | isa = XCBuildConfiguration; 471 | baseConfigurationReference = 9D6C56C93D9732E9BE438084 /* Pods-myApp-myAppTests.debug.xcconfig */; 472 | buildSettings = { 473 | BUNDLE_LOADER = "$(TEST_HOST)"; 474 | GCC_PREPROCESSOR_DEFINITIONS = ( 475 | "DEBUG=1", 476 | "$(inherited)", 477 | ); 478 | INFOPLIST_FILE = myAppTests/Info.plist; 479 | IPHONEOS_DEPLOYMENT_TARGET = 10.0; 480 | LD_RUNPATH_SEARCH_PATHS = ( 481 | "$(inherited)", 482 | "@executable_path/Frameworks", 483 | "@loader_path/Frameworks", 484 | ); 485 | OTHER_LDFLAGS = ( 486 | "-ObjC", 487 | "-lc++", 488 | "$(inherited)", 489 | ); 490 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; 491 | PRODUCT_NAME = "$(TARGET_NAME)"; 492 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/myApp.app/myApp"; 493 | }; 494 | name = Debug; 495 | }; 496 | 00E356F71AD99517003FC87E /* Release */ = { 497 | isa = XCBuildConfiguration; 498 | baseConfigurationReference = FF8BDF5A1FE09E23EA91D49E /* Pods-myApp-myAppTests.release.xcconfig */; 499 | buildSettings = { 500 | BUNDLE_LOADER = "$(TEST_HOST)"; 501 | COPY_PHASE_STRIP = NO; 502 | INFOPLIST_FILE = myAppTests/Info.plist; 503 | IPHONEOS_DEPLOYMENT_TARGET = 10.0; 504 | LD_RUNPATH_SEARCH_PATHS = ( 505 | "$(inherited)", 506 | "@executable_path/Frameworks", 507 | "@loader_path/Frameworks", 508 | ); 509 | OTHER_LDFLAGS = ( 510 | "-ObjC", 511 | "-lc++", 512 | "$(inherited)", 513 | ); 514 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; 515 | PRODUCT_NAME = "$(TARGET_NAME)"; 516 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/myApp.app/myApp"; 517 | }; 518 | name = Release; 519 | }; 520 | 13B07F941A680F5B00A75B9A /* Debug */ = { 521 | isa = XCBuildConfiguration; 522 | baseConfigurationReference = 078AC3C4D279A7AAAFAB2231 /* Pods-myApp.debug.xcconfig */; 523 | buildSettings = { 524 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 525 | CLANG_ENABLE_MODULES = YES; 526 | CURRENT_PROJECT_VERSION = 1; 527 | ENABLE_BITCODE = NO; 528 | INFOPLIST_FILE = myApp/Info.plist; 529 | LD_RUNPATH_SEARCH_PATHS = ( 530 | "$(inherited)", 531 | "@executable_path/Frameworks", 532 | ); 533 | OTHER_LDFLAGS = ( 534 | "$(inherited)", 535 | "-ObjC", 536 | "-lc++", 537 | ); 538 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; 539 | PRODUCT_NAME = myApp; 540 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 541 | SWIFT_VERSION = 5.0; 542 | VERSIONING_SYSTEM = "apple-generic"; 543 | }; 544 | name = Debug; 545 | }; 546 | 13B07F951A680F5B00A75B9A /* Release */ = { 547 | isa = XCBuildConfiguration; 548 | baseConfigurationReference = 57EED6D80D53A7C36FC69951 /* Pods-myApp.release.xcconfig */; 549 | buildSettings = { 550 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 551 | CLANG_ENABLE_MODULES = YES; 552 | CURRENT_PROJECT_VERSION = 1; 553 | INFOPLIST_FILE = myApp/Info.plist; 554 | LD_RUNPATH_SEARCH_PATHS = ( 555 | "$(inherited)", 556 | "@executable_path/Frameworks", 557 | ); 558 | OTHER_LDFLAGS = ( 559 | "$(inherited)", 560 | "-ObjC", 561 | "-lc++", 562 | ); 563 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; 564 | PRODUCT_NAME = myApp; 565 | SWIFT_VERSION = 5.0; 566 | VERSIONING_SYSTEM = "apple-generic"; 567 | }; 568 | name = Release; 569 | }; 570 | 83CBBA201A601CBA00E9B192 /* Debug */ = { 571 | isa = XCBuildConfiguration; 572 | buildSettings = { 573 | ALWAYS_SEARCH_USER_PATHS = NO; 574 | CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; 575 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 576 | CLANG_CXX_LIBRARY = "libc++"; 577 | CLANG_ENABLE_MODULES = YES; 578 | CLANG_ENABLE_OBJC_ARC = YES; 579 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 580 | CLANG_WARN_BOOL_CONVERSION = YES; 581 | CLANG_WARN_COMMA = YES; 582 | CLANG_WARN_CONSTANT_CONVERSION = YES; 583 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 584 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 585 | CLANG_WARN_EMPTY_BODY = YES; 586 | CLANG_WARN_ENUM_CONVERSION = YES; 587 | CLANG_WARN_INFINITE_RECURSION = YES; 588 | CLANG_WARN_INT_CONVERSION = YES; 589 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 590 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 591 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 592 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 593 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; 594 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 595 | CLANG_WARN_STRICT_PROTOTYPES = YES; 596 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 597 | CLANG_WARN_UNREACHABLE_CODE = YES; 598 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 599 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 600 | COPY_PHASE_STRIP = NO; 601 | ENABLE_STRICT_OBJC_MSGSEND = YES; 602 | ENABLE_TESTABILITY = YES; 603 | "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = "arm64 "; 604 | GCC_C_LANGUAGE_STANDARD = gnu99; 605 | GCC_DYNAMIC_NO_PIC = NO; 606 | GCC_NO_COMMON_BLOCKS = YES; 607 | GCC_OPTIMIZATION_LEVEL = 0; 608 | GCC_PREPROCESSOR_DEFINITIONS = ( 609 | "DEBUG=1", 610 | "$(inherited)", 611 | ); 612 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 613 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 614 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 615 | GCC_WARN_UNDECLARED_SELECTOR = YES; 616 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 617 | GCC_WARN_UNUSED_FUNCTION = YES; 618 | GCC_WARN_UNUSED_VARIABLE = YES; 619 | IPHONEOS_DEPLOYMENT_TARGET = 10.0; 620 | LD_RUNPATH_SEARCH_PATHS = ( 621 | /usr/lib/swift, 622 | "$(inherited)", 623 | ); 624 | LIBRARY_SEARCH_PATHS = ( 625 | "\"$(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)\"", 626 | "\"$(TOOLCHAIN_DIR)/usr/lib/swift-5.0/$(PLATFORM_NAME)\"", 627 | "\"$(inherited)\"", 628 | ); 629 | MTL_ENABLE_DEBUG_INFO = YES; 630 | ONLY_ACTIVE_ARCH = YES; 631 | SDKROOT = iphoneos; 632 | }; 633 | name = Debug; 634 | }; 635 | 83CBBA211A601CBA00E9B192 /* Release */ = { 636 | isa = XCBuildConfiguration; 637 | buildSettings = { 638 | ALWAYS_SEARCH_USER_PATHS = NO; 639 | CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; 640 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 641 | CLANG_CXX_LIBRARY = "libc++"; 642 | CLANG_ENABLE_MODULES = YES; 643 | CLANG_ENABLE_OBJC_ARC = YES; 644 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 645 | CLANG_WARN_BOOL_CONVERSION = YES; 646 | CLANG_WARN_COMMA = YES; 647 | CLANG_WARN_CONSTANT_CONVERSION = YES; 648 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 649 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 650 | CLANG_WARN_EMPTY_BODY = YES; 651 | CLANG_WARN_ENUM_CONVERSION = YES; 652 | CLANG_WARN_INFINITE_RECURSION = YES; 653 | CLANG_WARN_INT_CONVERSION = YES; 654 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 655 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 656 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 657 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 658 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; 659 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 660 | CLANG_WARN_STRICT_PROTOTYPES = YES; 661 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 662 | CLANG_WARN_UNREACHABLE_CODE = YES; 663 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 664 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 665 | COPY_PHASE_STRIP = YES; 666 | ENABLE_NS_ASSERTIONS = NO; 667 | ENABLE_STRICT_OBJC_MSGSEND = YES; 668 | "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = "arm64 "; 669 | GCC_C_LANGUAGE_STANDARD = gnu99; 670 | GCC_NO_COMMON_BLOCKS = YES; 671 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 672 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 673 | GCC_WARN_UNDECLARED_SELECTOR = YES; 674 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 675 | GCC_WARN_UNUSED_FUNCTION = YES; 676 | GCC_WARN_UNUSED_VARIABLE = YES; 677 | IPHONEOS_DEPLOYMENT_TARGET = 10.0; 678 | LD_RUNPATH_SEARCH_PATHS = ( 679 | /usr/lib/swift, 680 | "$(inherited)", 681 | ); 682 | LIBRARY_SEARCH_PATHS = ( 683 | "\"$(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)\"", 684 | "\"$(TOOLCHAIN_DIR)/usr/lib/swift-5.0/$(PLATFORM_NAME)\"", 685 | "\"$(inherited)\"", 686 | ); 687 | MTL_ENABLE_DEBUG_INFO = NO; 688 | SDKROOT = iphoneos; 689 | VALIDATE_PRODUCT = YES; 690 | }; 691 | name = Release; 692 | }; 693 | /* End XCBuildConfiguration section */ 694 | 695 | /* Begin XCConfigurationList section */ 696 | 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "myAppTests" */ = { 697 | isa = XCConfigurationList; 698 | buildConfigurations = ( 699 | 00E356F61AD99517003FC87E /* Debug */, 700 | 00E356F71AD99517003FC87E /* Release */, 701 | ); 702 | defaultConfigurationIsVisible = 0; 703 | defaultConfigurationName = Release; 704 | }; 705 | 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "myApp" */ = { 706 | isa = XCConfigurationList; 707 | buildConfigurations = ( 708 | 13B07F941A680F5B00A75B9A /* Debug */, 709 | 13B07F951A680F5B00A75B9A /* Release */, 710 | ); 711 | defaultConfigurationIsVisible = 0; 712 | defaultConfigurationName = Release; 713 | }; 714 | 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "myApp" */ = { 715 | isa = XCConfigurationList; 716 | buildConfigurations = ( 717 | 83CBBA201A601CBA00E9B192 /* Debug */, 718 | 83CBBA211A601CBA00E9B192 /* Release */, 719 | ); 720 | defaultConfigurationIsVisible = 0; 721 | defaultConfigurationName = Release; 722 | }; 723 | /* End XCConfigurationList section */ 724 | }; 725 | rootObject = 83CBB9F71A601CBA00E9B192 /* Project object */; 726 | } 727 | -------------------------------------------------------------------------------- /ios/myApp.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /ios/myApp.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /ios/myApp.xcodeproj/xcshareddata/xcschemes/myApp.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/myApp.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /ios/myApp.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /ios/myApp/AppDelegate.h: -------------------------------------------------------------------------------- 1 | #import 2 | #import 3 | 4 | @interface AppDelegate : UIResponder 5 | 6 | @property (nonatomic, strong) UIWindow *window; 7 | 8 | @end 9 | -------------------------------------------------------------------------------- /ios/myApp/AppDelegate.m: -------------------------------------------------------------------------------- 1 | #import "AppDelegate.h" 2 | 3 | #import 4 | #import 5 | #import 6 | 7 | #ifdef FB_SONARKIT_ENABLED 8 | #import 9 | #import 10 | #import 11 | #import 12 | #import 13 | #import 14 | 15 | static void InitializeFlipper(UIApplication *application) { 16 | FlipperClient *client = [FlipperClient sharedClient]; 17 | SKDescriptorMapper *layoutDescriptorMapper = [[SKDescriptorMapper alloc] initWithDefaults]; 18 | [client addPlugin:[[FlipperKitLayoutPlugin alloc] initWithRootNode:application withDescriptorMapper:layoutDescriptorMapper]]; 19 | [client addPlugin:[[FKUserDefaultsPlugin alloc] initWithSuiteName:nil]]; 20 | [client addPlugin:[FlipperKitReactPlugin new]]; 21 | [client addPlugin:[[FlipperKitNetworkPlugin alloc] initWithNetworkAdapter:[SKIOSNetworkAdapter new]]]; 22 | [client start]; 23 | } 24 | #endif 25 | 26 | @implementation AppDelegate 27 | 28 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 29 | { 30 | #ifdef FB_SONARKIT_ENABLED 31 | InitializeFlipper(application); 32 | #endif 33 | 34 | RCTBridge *bridge = [[RCTBridge alloc] initWithDelegate:self launchOptions:launchOptions]; 35 | RCTRootView *rootView = [[RCTRootView alloc] initWithBridge:bridge 36 | moduleName:@"myApp" 37 | initialProperties:nil]; 38 | 39 | if (@available(iOS 13.0, *)) { 40 | rootView.backgroundColor = [UIColor systemBackgroundColor]; 41 | } else { 42 | rootView.backgroundColor = [UIColor whiteColor]; 43 | } 44 | 45 | self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds]; 46 | UIViewController *rootViewController = [UIViewController new]; 47 | rootViewController.view = rootView; 48 | self.window.rootViewController = rootViewController; 49 | [self.window makeKeyAndVisible]; 50 | return YES; 51 | } 52 | 53 | - (NSURL *)sourceURLForBridge:(RCTBridge *)bridge 54 | { 55 | #if DEBUG 56 | return [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index" fallbackResource:nil]; 57 | #else 58 | return [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"]; 59 | #endif 60 | } 61 | 62 | @end 63 | -------------------------------------------------------------------------------- /ios/myApp/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "29x29", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "29x29", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "40x40", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "40x40", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "60x60", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "60x60", 31 | "scale" : "3x" 32 | } 33 | ], 34 | "info" : { 35 | "version" : 1, 36 | "author" : "xcode" 37 | } 38 | } -------------------------------------------------------------------------------- /ios/myApp/Images.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /ios/myApp/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | LSApplicationCategoryType 6 | 7 | 8 | 9 | CFBundleDevelopmentRegion 10 | en 11 | CFBundleDisplayName 12 | myApp 13 | CFBundleExecutable 14 | $(EXECUTABLE_NAME) 15 | CFBundleIdentifier 16 | $(PRODUCT_BUNDLE_IDENTIFIER) 17 | CFBundleInfoDictionaryVersion 18 | 6.0 19 | CFBundleName 20 | $(PRODUCT_NAME) 21 | CFBundlePackageType 22 | APPL 23 | CFBundleShortVersionString 24 | 1.0 25 | CFBundleSignature 26 | ???? 27 | CFBundleVersion 28 | 1 29 | LSRequiresIPhoneOS 30 | 31 | NSAppTransportSecurity 32 | 33 | NSExceptionDomains 34 | 35 | localhost 36 | 37 | NSExceptionAllowsInsecureHTTPLoads 38 | 39 | 40 | 41 | 42 | NSLocationWhenInUseUsageDescription 43 | 44 | UILaunchStoryboardName 45 | LaunchScreen 46 | UIRequiredDeviceCapabilities 47 | 48 | armv7 49 | 50 | UISupportedInterfaceOrientations 51 | 52 | UIInterfaceOrientationPortrait 53 | UIInterfaceOrientationLandscapeLeft 54 | UIInterfaceOrientationLandscapeRight 55 | 56 | UIViewControllerBasedStatusBarAppearance 57 | 58 | UIAppFonts 59 | 60 | AntDesign.ttf 61 | Entypo.ttf 62 | EvilIcons.ttf 63 | Feather.ttf 64 | FontAwesome.ttf 65 | FontAwesome5_Brands.ttf 66 | FontAwesome5_Regular.ttf 67 | FontAwesome5_Solid.ttf 68 | Fontisto.ttf 69 | Foundation.ttf 70 | Ionicons.ttf 71 | MaterialCommunityIcons.ttf 72 | MaterialIcons.ttf 73 | Octicons.ttf 74 | SimpleLineIcons.ttf 75 | Zocial.ttf 76 | 77 | 78 | 79 | -------------------------------------------------------------------------------- /ios/myApp/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/myApp/main.m: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | #import "AppDelegate.h" 4 | 5 | int main(int argc, char * argv[]) { 6 | @autoreleasepool { 7 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /ios/myAppTests/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/myAppTests/myAppTests.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 myAppTests : XCTestCase 11 | 12 | @end 13 | 14 | @implementation myAppTests 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(^(RCTLogLevel level, RCTLogSource source, NSString *fileName, NSNumber *lineNumber, NSString *message) { 38 | if (level >= RCTLogLevelError) { 39 | redboxError = message; 40 | } 41 | }); 42 | #endif 43 | 44 | while ([date timeIntervalSinceNow] > 0 && !foundElement && !redboxError) { 45 | [[NSRunLoop mainRunLoop] runMode:NSDefaultRunLoopMode beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]]; 46 | [[NSRunLoop mainRunLoop] runMode:NSRunLoopCommonModes beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]]; 47 | 48 | foundElement = [self findSubviewInView:vc.view matching:^BOOL(UIView *view) { 49 | if ([view.accessibilityLabel isEqualToString:TEXT_TO_LOOK_FOR]) { 50 | return YES; 51 | } 52 | return NO; 53 | }]; 54 | } 55 | 56 | #ifdef DEBUG 57 | RCTSetLogFunction(RCTDefaultLogFunction); 58 | #endif 59 | 60 | XCTAssertNil(redboxError, @"RedBox error: %@", redboxError); 61 | XCTAssertTrue(foundElement, @"Couldn't find element with text '%@' in %d seconds", TEXT_TO_LOOK_FOR, TIMEOUT_SECONDS); 62 | } 63 | 64 | 65 | @end 66 | -------------------------------------------------------------------------------- /metro.config.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Metro configuration for React Native 3 | * https://github.com/facebook/react-native 4 | * 5 | * @format 6 | */ 7 | 8 | module.exports = { 9 | transformer: { 10 | getTransformOptions: async () => ({ 11 | transform: { 12 | experimentalImportSupport: false, 13 | inlineRequires: true, 14 | }, 15 | }), 16 | }, 17 | }; 18 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "myapp", 3 | "version": "0.0.1", 4 | "private": true, 5 | "scripts": { 6 | "android": "concurrently --kill-others-on-fail \"yarn start --reset-cache\" \"react-native run-android && react-native log-android\" \"yarn stay-awake-android\"", 7 | "ios": "concurrently --kill-others-on-fail \"yarn start --reset-cache\" \"react-native run-ios\"", 8 | "start": "react-native start", 9 | "web": "webpack serve --mode development --config webpack.dev.js", 10 | "build": "webpack --config webpack.prod.js", 11 | "test": "webpack test --env=jsdom", 12 | "lint": "tsc && eslint '**/*.[jt]s?(x)' --cache --fix", 13 | "clean": "rm -rf node_modules && yarn && concurrently --kill-others-on-fail \"yarn clean-android\" \"yarn clean-ios\"", 14 | "clean-android": "cd android && rm -rf ./android/build && rm -rf ./android/.gradle && rm -rf ./android/app/build && ./gradlew clean && cd ..", 15 | "clean-ios": "rm -rf ~/Library/Developer/Xcode/DerivedData && cd ios && rm -rf build Pods && pod install && cd ..", 16 | "generate": "plop --plopfile ./.plop/plop.config.js", 17 | "storybook": "start-storybook -p 7007", 18 | "stay-awake-android": "while true; do adb shell input keyevent mouse ; sleep 55 ; done" 19 | }, 20 | "dependencies": { 21 | "@react-navigation/native": "~5.9.4", 22 | "@react-navigation/stack": "~5.14.5", 23 | "react": "~17.0.2", 24 | "react-dom": "~17.0.2", 25 | "react-native": "~0.64.1", 26 | "react-native-gesture-handler": "~1.10.3", 27 | "react-native-paper": "~4.8.1", 28 | "react-native-reanimated": "~2.1.0", 29 | "react-native-safe-area-context": "~3.2.0", 30 | "react-native-screens": "~3.2.0", 31 | "react-native-vector-icons": "~8.1.0", 32 | "react-native-web": "~0.16.2" 33 | }, 34 | "devDependencies": { 35 | "@babel/core": "~7.14.2", 36 | "@babel/plugin-proposal-class-properties": "~7.13.0", 37 | "@babel/plugin-proposal-object-rest-spread": "~7.14.2", 38 | "@babel/plugin-transform-flow-strip-types": "~7.13.0", 39 | "@babel/preset-env": "~7.14.2", 40 | "@babel/preset-flow": "~7.13.13", 41 | "@babel/preset-react": "~7.13.13", 42 | "@babel/preset-typescript": "~7.13.0", 43 | "@babel/runtime": "~7.14.0", 44 | "@react-native-community/eslint-config": "~2.0.0", 45 | "@storybook/addon-essentials": "~6.2.9", 46 | "@storybook/addon-knobs": "~6.2.9", 47 | "@storybook/addon-notes": "~5.3.21", 48 | "@storybook/react": "~6.2.9", 49 | "@storybook/react-native": "~5.3.25", 50 | "@types/jest": "~26.0.20", 51 | "@types/react": "~17.0.5", 52 | "@types/react-native": "~0.64.4", 53 | "@types/react-native-vector-icons": "~6.4.6", 54 | "@types/react-test-renderer": "~17.0.1", 55 | "@types/storybook__addon-info": "~5.2.3", 56 | "@types/storybook__addon-knobs": "~5.2.1", 57 | "@typescript-eslint/eslint-plugin": "~4.23.0", 58 | "babel-jest": "~26.6.3", 59 | "babel-loader": "~8.2.2", 60 | "babel-plugin-react-native-web": "~0.16.2", 61 | "copy-webpack-plugin": "~8.1.1", 62 | "eslint": "~7.26.0", 63 | "eslint-config-airbnb-typescript": "~12.3.1", 64 | "eslint-config-prettier": "~8.3.0", 65 | "eslint-config-react-native-typescript": "~2.2.6", 66 | "eslint-import-resolver-typescript": "~2.4.0", 67 | "eslint-plugin-import": "~2.22.1", 68 | "eslint-plugin-jsx-a11y": "~6.4.1", 69 | "eslint-plugin-react": "~7.23.2", 70 | "metro-react-native-babel-preset": "~0.66.0", 71 | "plop": "~2.7.4", 72 | "prettier": "~2.3.0", 73 | "prettier-plugin-organize-imports": "~2.0.0", 74 | "react-test-renderer": "~17.0.2", 75 | "storybook-dark-mode": "~1.0.8", 76 | "typescript": "~4.2.4", 77 | "webpack": "~5.37.0", 78 | "webpack-cli": "~4.7.0", 79 | "webpack-dev-server": "~3.11.2", 80 | "webpack-merge": "~5.7.3" 81 | }, 82 | "jest": { 83 | "preset": "react-native", 84 | "moduleFileExtensions": [ 85 | "ts", 86 | "tsx", 87 | "js", 88 | "jsx", 89 | "json", 90 | "node" 91 | ] 92 | }, 93 | "browserslist": { 94 | "production": [ 95 | ">0.2%", 96 | "not dead", 97 | "not op_mini all" 98 | ], 99 | "development": [ 100 | "last 1 chrome version", 101 | "last 1 firefox version", 102 | "last 1 safari version" 103 | ] 104 | } 105 | } 106 | -------------------------------------------------------------------------------- /paths.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "baseUrl": ".", 4 | "paths": { 5 | "components/*": ["src/components/*"], 6 | "assets/*": ["src/assets/*"], 7 | "screens/*": ["src/screens/*"], 8 | "services/*": ["src/services/*"], 9 | "navigation/*": ["src/navigation/*"], 10 | "utils/*": ["src/utils/*"], 11 | "constants/*": ["src/constants/*"] 12 | } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /src/App.tsx: -------------------------------------------------------------------------------- 1 | // @ts-nocheck 2 | import {BaseNavigator} from "navigation/BaseNavigator"; 3 | import React, {ReactElement} from "react"; 4 | import {Platform, StatusBar} from "react-native"; 5 | import {Provider as PaperProvider} from "react-native-paper"; 6 | import iconFont from "react-native-vector-icons/Fonts/MaterialCommunityIcons.ttf"; 7 | import {CombinedDefaultTheme} from "services/theming"; 8 | 9 | const theme = { 10 | ...CombinedDefaultTheme, 11 | }; 12 | const App: React.FC = (): ReactElement => { 13 | return ( 14 | 15 | 16 | {Platform.OS === "web" ? ( 17 | 23 | ) : null} 24 | 25 | 26 | 27 | ); 28 | }; 29 | 30 | export default App; 31 | -------------------------------------------------------------------------------- /src/assets/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "assets" 3 | } 4 | -------------------------------------------------------------------------------- /src/components/Button/Button.stories.tsx: -------------------------------------------------------------------------------- 1 | import {boolean, color, select, text, withKnobs} from "@storybook/addon-knobs"; 2 | import {storiesOf} from "@storybook/react-native"; 3 | import React, {ReactElement} from "react"; 4 | import Button from "./Button"; 5 | 6 | const stories = storiesOf("Components/Button", module); 7 | stories.addDecorator(withKnobs); 8 | 9 | const buttonStory: React.FC = (): ReactElement => { 10 | return ( 11 | 18 | ); 19 | }; 20 | stories.add("Button", buttonStory); 21 | -------------------------------------------------------------------------------- /src/components/Button/Button.test.tsx: -------------------------------------------------------------------------------- 1 | 2 | import Button from "./Button"; 3 | 4 | describe("Button", () => { 5 | it("should render correctly", () => { 6 | const component = ( 7 | 10 | ); 11 | 12 | expect(component).toMatchSnapshot(); 13 | }); 14 | }); 15 | -------------------------------------------------------------------------------- /src/components/Button/Button.tsx: -------------------------------------------------------------------------------- 1 | import React, {ReactElement} from "react"; 2 | import {Button as PaperButton} from "react-native-paper"; 3 | 4 | export type ButtonProps = React.ComponentProps; 5 | 6 | const Card: React.FC = (props): ReactElement => { 7 | return ; 8 | }; 9 | 10 | export default Card; 11 | -------------------------------------------------------------------------------- /src/components/Button/index.tsx: -------------------------------------------------------------------------------- 1 | export {default} from "./Button"; -------------------------------------------------------------------------------- /src/components/Card/Card.stories.tsx: -------------------------------------------------------------------------------- 1 | import {text, withKnobs} from "@storybook/addon-knobs"; 2 | import {storiesOf} from "@storybook/react-native"; 3 | import React from "react"; 4 | import Card from "./Card"; 5 | import {CardCover} from "./CardCover"; 6 | import {CardTitle} from "./CardTitle"; 7 | 8 | const stories = storiesOf("Components/Card", module); 9 | stories.addDecorator(withKnobs); 10 | 11 | stories.add("Card", () => ( 12 | 13 | 14 | 15 | 16 | )); 17 | -------------------------------------------------------------------------------- /src/components/Card/Card.test.tsx: -------------------------------------------------------------------------------- 1 | 2 | import Card from "./Card"; 3 | 4 | describe("Card", () => { 5 | it("should render correctly", () => { 6 | const component = ( 7 | 8 | Test 9 | 10 | ); 11 | 12 | expect(component).toMatchSnapshot(); 13 | }); 14 | }); 15 | -------------------------------------------------------------------------------- /src/components/Card/Card.tsx: -------------------------------------------------------------------------------- 1 | import React, {ReactElement} from "react"; 2 | import {Card as PaperCard} from "react-native-paper"; 3 | 4 | export type CardProps = React.ComponentProps; 5 | 6 | const Card: React.FC = (props): ReactElement => { 7 | return ; 8 | }; 9 | export default Card; 10 | -------------------------------------------------------------------------------- /src/components/Card/CardActions.tsx: -------------------------------------------------------------------------------- 1 | import React, {ReactElement} from "react"; 2 | import {Card as PaperCard} from "react-native-paper"; 3 | 4 | type CardActions = React.ComponentProps; 5 | 6 | export const CardActions: React.FC = (props): ReactElement => { 7 | return ; 8 | }; 9 | -------------------------------------------------------------------------------- /src/components/Card/CardContent.tsx: -------------------------------------------------------------------------------- 1 | import React, {ReactElement} from "react"; 2 | import {Card as PaperCard} from "react-native-paper"; 3 | 4 | type CardContent = React.ComponentProps; 5 | 6 | export const CardContent: React.FC = (props): ReactElement => { 7 | return ; 8 | }; 9 | -------------------------------------------------------------------------------- /src/components/Card/CardCover.tsx: -------------------------------------------------------------------------------- 1 | import React, {ReactElement} from "react"; 2 | import {Card as PaperCard} from "react-native-paper"; 3 | 4 | type CardCover = React.ComponentProps; 5 | 6 | export const CardCover: React.FC = (props): ReactElement => { 7 | return ; 8 | }; 9 | -------------------------------------------------------------------------------- /src/components/Card/CardTitle.tsx: -------------------------------------------------------------------------------- 1 | import React, {ReactElement} from "react"; 2 | import {Card as PaperCard} from "react-native-paper"; 3 | 4 | type CardTitle = React.ComponentProps; 5 | 6 | export const CardTitle: React.FC = (props): ReactElement => { 7 | return ; 8 | }; 9 | -------------------------------------------------------------------------------- /src/components/Card/index.tsx: -------------------------------------------------------------------------------- 1 | export {default} from "./Card"; 2 | export {CardActions} from "./CardActions"; 3 | export {CardContent} from "./CardContent"; 4 | export {CardCover} from "./CardCover"; 5 | export {CardTitle} from "./CardTitle"; 6 | -------------------------------------------------------------------------------- /src/components/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name":"components" 3 | } -------------------------------------------------------------------------------- /src/navigation/BaseNavigator.tsx: -------------------------------------------------------------------------------- 1 | import {NavigationContainer} from "@react-navigation/native"; 2 | import {createStackNavigator, TransitionPresets} from "@react-navigation/stack"; 3 | import React from "react"; 4 | import "react-native"; 5 | import ExampleScreen1 from "screens/ExampleScreen1"; 6 | import ExampleScreen2 from "screens/ExampleScreen2"; 7 | import {ROUTES} from "./constants"; 8 | 9 | export const BaseNavigator = ({theme}: {theme: Theme}) => { 10 | const Stack = createStackNavigator(); 11 | const TransitionScreenOptions = { 12 | ...TransitionPresets.SlideFromRightIOS, // This is where the transition happens 13 | }; 14 | return ( 15 | 16 | 17 | 18 | 19 | 20 | 21 | ); 22 | }; 23 | -------------------------------------------------------------------------------- /src/navigation/constants.ts: -------------------------------------------------------------------------------- 1 | export enum ROUTES { 2 | ExampleScreen1 = "ExampleScreen1", 3 | ExampleScreen2 = "ExampleScreen2", 4 | } 5 | -------------------------------------------------------------------------------- /src/navigation/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "navigation" 3 | } 4 | -------------------------------------------------------------------------------- /src/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "src" 3 | } 4 | -------------------------------------------------------------------------------- /src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /src/screens/ExampleScreen1/ExampleScreen1.tsx: -------------------------------------------------------------------------------- 1 | import {NavigationProp} from "@react-navigation/core"; 2 | import Button from "components/Button"; 3 | import Card, {CardActions, CardCover, CardTitle} from "components/Card"; 4 | import {ROUTES} from "navigation/constants"; 5 | import {default as React, ReactElement, useEffect} from "react"; 6 | import {ScrollView, StyleSheet} from "react-native"; 7 | import {Appbar} from "react-native-paper"; 8 | 9 | interface IExampleScreen1Props { 10 | navigation: NavigationProp; 11 | theme: ReactNativePaper.Theme; 12 | } 13 | const ExampleScreen1: React.FC = (props): ReactElement => { 14 | useEffect(() => { 15 | console.log("ExampleScreen1 mounted"); 16 | return () => { 17 | console.log("ExampleScreen1 unmounted"); 18 | }; 19 | }, [props]); 20 | return ( 21 | 22 | 23 | 24 | 25 | {[1, 1, 1].map((value, index) => { 26 | return ( 27 | 28 | 29 | 30 | 31 | 34 | 35 | 36 | ); 37 | })} 38 | 39 | ); 40 | }; 41 | 42 | const styles = StyleSheet.create({ 43 | backgroundStyle: { 44 | height: "100%", 45 | }, 46 | card: { 47 | marginHorizontal: "2%", 48 | marginVertical: "2%", 49 | }, 50 | }); 51 | 52 | export default ExampleScreen1; 53 | -------------------------------------------------------------------------------- /src/screens/ExampleScreen1/index.tsx: -------------------------------------------------------------------------------- 1 | export {default} from "./ExampleScreen1"; -------------------------------------------------------------------------------- /src/screens/ExampleScreen2/ExampleScreen2.tsx: -------------------------------------------------------------------------------- 1 | import {NavigationProp} from "@react-navigation/core"; 2 | import {default as React, ReactElement, useEffect} from "react"; 3 | import {ScrollView, StyleSheet, View} from "react-native"; 4 | import {Appbar, Button, List, Searchbar, Snackbar} from "react-native-paper"; 5 | 6 | interface IExampleScreen2Props { 7 | navigation: NavigationProp; 8 | theme: ReactNativePaper.Theme; 9 | } 10 | const ExampleScreen2: React.FC = (props): ReactElement => { 11 | const [searchQuery, setSearchQuery] = React.useState(""); 12 | const onChangeSearch = query => setSearchQuery(query); 13 | 14 | const [visible, setVisible] = React.useState(false); 15 | const onToggleSnackBar = () => setVisible(!visible); 16 | const onDismissSnackBar = () => setVisible(false); 17 | 18 | useEffect(() => { 19 | console.log("ExampleScreen2 mounted"); 20 | return () => { 21 | console.log("ExampleScreen2 unmounted"); 22 | }; 23 | }, []); 24 | 25 | return ( 26 | 27 | 28 | props.navigation.goBack()} /> 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 39 | 40 | 41 | }> 42 | 43 | 44 | 45 | 46 | 47 | { 53 | // Do something 54 | }, 55 | }}> 56 | Hey there! I'm a Snackbar. 57 | 58 | 59 | 60 | 61 | ); 62 | }; 63 | 64 | const styles = StyleSheet.create({ 65 | backgroundStyle: { 66 | height: "100%", 67 | }, 68 | pageContent: { 69 | marginHorizontal: "2%", 70 | marginVertical: "2%", 71 | }, 72 | individualContent: { 73 | marginHorizontal: "2%", 74 | marginVertical: "2%", 75 | }, 76 | }); 77 | 78 | export default ExampleScreen2; 79 | -------------------------------------------------------------------------------- /src/screens/ExampleScreen2/index.tsx: -------------------------------------------------------------------------------- 1 | export {default} from "./ExampleScreen2"; -------------------------------------------------------------------------------- /src/screens/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "screens" 3 | } 4 | -------------------------------------------------------------------------------- /src/services/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "services" 3 | } 4 | -------------------------------------------------------------------------------- /src/services/theming/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./themes"; 2 | -------------------------------------------------------------------------------- /src/services/theming/themes.ts: -------------------------------------------------------------------------------- 1 | import {DarkTheme as NavigationDarkTheme, DefaultTheme as NavigationDefaultTheme} from "@react-navigation/native"; 2 | import {DarkTheme as PaperDarkTheme, DefaultTheme as PaperDefaultTheme} from "react-native-paper"; 3 | 4 | export const CombinedDefaultTheme = { 5 | ...PaperDefaultTheme, 6 | ...NavigationDefaultTheme, 7 | colors: { 8 | ...PaperDefaultTheme.colors, 9 | ...NavigationDefaultTheme.colors, 10 | }, 11 | }; 12 | export const CombinedDarkTheme = { 13 | ...PaperDarkTheme, 14 | ...NavigationDarkTheme, 15 | colors: { 16 | ...PaperDarkTheme.colors, 17 | ...NavigationDarkTheme.colors, 18 | }, 19 | }; 20 | -------------------------------------------------------------------------------- /src/utils/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "utils" 3 | } 4 | -------------------------------------------------------------------------------- /static/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | React App 9 | 10 | 11 | 12 |
13 | 14 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | /* Basic Options */ 4 | "target": "esnext" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'. */, 5 | "module": "commonjs" /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */, 6 | "lib": ["es2017"] /* Specify library files to be included in the compilation. */, 7 | "allowJs": true /* Allow javascript files to be compiled. */, 8 | // "checkJs": true, /* Report errors in .js files. */ 9 | "jsx": "react-native" /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */, 10 | // "declaration": true, /* Generates corresponding '.d.ts' file. */ 11 | // "sourceMap": true, /* Generates corresponding '.map' file. */ 12 | // "outFile": "./", /* Concatenate and emit output to single file. */ 13 | // "outDir": "./", /* Redirect output structure to the directory. */ 14 | // "rootDir": "./", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */ 15 | // "removeComments": true, /* Do not emit comments to output. */ 16 | "noEmit": true /* Do not emit outputs. */, 17 | // "incremental": true, /* Enable incremental compilation */ 18 | // "importHelpers": true, /* Import emit helpers from 'tslib'. */ 19 | // "downlevelIteration": true, /* Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'. */ 20 | "isolatedModules": true /* Transpile each file as a separate module (similar to 'ts.transpileModule'). */, 21 | 22 | /* Strict Type-Checking Options */ 23 | "strict": true /* Enable all strict type-checking options. */, 24 | // "noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type. */ 25 | // "strictNullChecks": true, /* Enable strict null checks. */ 26 | // "strictFunctionTypes": true, /* Enable strict checking of function types. */ 27 | // "strictPropertyInitialization": true, /* Enable strict checking of property initialization in classes. */ 28 | // "noImplicitThis": true, /* Raise error on 'this' expressions with an implied 'any' type. */ 29 | // "alwaysStrict": true, /* Parse in strict mode and emit "use strict" for each source file. */ 30 | 31 | /* Additional Checks */ 32 | // "noUnusedLocals": true, /* Report errors on unused locals. */ 33 | // "noUnusedParameters": true, /* Report errors on unused parameters. */ 34 | // "noImplicitReturns": true, /* Report error when not all code paths in function return a value. */ 35 | // "noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */ 36 | 37 | /* Module Resolution Options */ 38 | "moduleResolution": "node" /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */, 39 | // "baseUrl": "./", /* Base directory to resolve non-absolute module names. */ 40 | // "paths": {}, /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */ 41 | // "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */ 42 | // "typeRoots": [], /* List of folders to include type definitions from. */ 43 | // "types": [], /* Type declaration files to be included in compilation. */ 44 | "allowSyntheticDefaultImports": true /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */, 45 | "esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */, 46 | // "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */ 47 | "skipLibCheck": false /* Skip type checking of declaration files. */ 48 | 49 | /* Source Map Options */ 50 | // "sourceRoot": "./", /* Specify the location where debugger should locate TypeScript files instead of source locations. */ 51 | // "mapRoot": "./", /* Specify the location where debugger should locate map files instead of generated locations. */ 52 | // "inlineSourceMap": true, /* Emit a single file with source maps instead of having a separate file. */ 53 | // "inlineSources": true, /* Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set. */ 54 | 55 | /* Experimental Options */ 56 | // "experimentalDecorators": true, /* Enables experimental support for ES7 decorators. */ 57 | // "emitDecoratorMetadata": true, /* Enables experimental support for emitting type metadata for decorators. */ 58 | }, 59 | "extends": "./paths.json", 60 | 61 | "exclude": ["node_modules", "babel.config.js", "metro.config.js", "jest.config.js"] 62 | } 63 | -------------------------------------------------------------------------------- /webpack.common.js: -------------------------------------------------------------------------------- 1 | const path = require("path"); 2 | const CopyWebpackPlugin = require("copy-webpack-plugin"); 3 | 4 | module.exports = { 5 | entry: { 6 | entry: "./index.js", 7 | }, 8 | output: { 9 | path: path.join(__dirname, "/dist"), 10 | filename: "index.bundle.js", 11 | }, 12 | 13 | module: { 14 | rules: [ 15 | { 16 | test: /\.(js|jsx|ts|tsx)$/, 17 | exclude: /node_modules[/\\](?!react-native-vector-icons)/, 18 | use: { 19 | loader: "babel-loader", 20 | options: { 21 | presets: ["@babel/preset-env", "@babel/preset-react"], 22 | plugins: [["@babel/plugin-proposal-class-properties", {loose: true}]], 23 | }, 24 | }, 25 | }, 26 | { 27 | test: /\.(jpg|jpeg|png|woff|woff2|eot|ttf|svg)$/, 28 | type: "asset", 29 | }, 30 | ], 31 | }, 32 | resolve: { 33 | alias: { 34 | "react-native": "react-native-web", 35 | "@storybook/react-native": "@storybook/react", 36 | "react-native-gesture-handler": "react-native-web", 37 | screens: path.resolve(__dirname, "src", "screens"), 38 | components: path.resolve(__dirname, "src", "components"), 39 | navigation: path.resolve(__dirname, "src", "navigation"), 40 | services: path.resolve(__dirname, "src", "services"), 41 | utils: path.resolve(__dirname, "src", "utils"), 42 | assets: path.resolve(__dirname, "src", "assets"), 43 | }, 44 | modules: [path.join(__dirname, "./node_modules")], 45 | extensions: [".js", ".jsx", ".ts", ".tsx"], 46 | }, 47 | plugins: [ 48 | new CopyWebpackPlugin({ 49 | patterns: [{from: "static"}], 50 | }), 51 | ], 52 | }; 53 | -------------------------------------------------------------------------------- /webpack.dev.js: -------------------------------------------------------------------------------- 1 | const {merge} = require("webpack-merge"); 2 | const common = require("./webpack.common.js"); 3 | const path = require("path"); 4 | 5 | module.exports = merge(common, { 6 | mode: "development", 7 | devtool: "inline-source-map", 8 | devServer: { 9 | port: 3000, 10 | watchContentBase: true, 11 | open: true, 12 | contentBase: path.join(__dirname, "/dist"), 13 | }, 14 | target: "web", 15 | }); 16 | -------------------------------------------------------------------------------- /webpack.prod.js: -------------------------------------------------------------------------------- 1 | const {merge} = require("webpack-merge"); 2 | const common = require("./webpack.common.js"); 3 | 4 | module.exports = merge(common, { 5 | mode: "production", 6 | target: ["web", "es5"], 7 | }); 8 | --------------------------------------------------------------------------------