├── .commitlintrc.json ├── .eslintignore ├── .eslintrc.js ├── .gitattributes ├── .gitignore ├── .husky ├── commit-msg └── pre-commit ├── .npmignore ├── .prettierignore ├── .prettierrc ├── README.md ├── assets ├── Screenshots │ ├── react-native-subscibe-card.png │ ├── react-native-subscibe-normal-card.png │ └── react-native-subscribe-selected-card.png └── logo.png ├── example ├── .bundle │ └── config ├── .eslintrc.js ├── .gitignore ├── .node-version ├── .prettierrc.js ├── .watchmanconfig ├── App.tsx ├── Gemfile ├── Gemfile.lock ├── __tests__ │ └── App-test.tsx ├── android │ ├── app │ │ ├── build.gradle │ │ ├── debug.keystore │ │ ├── proguard-rules.pro │ │ └── src │ │ │ ├── debug │ │ │ ├── AndroidManifest.xml │ │ │ └── java │ │ │ │ └── com │ │ │ │ └── example │ │ │ │ └── ReactNativeFlipper.java │ │ │ ├── main │ │ │ ├── AndroidManifest.xml │ │ │ ├── assets │ │ │ │ └── fonts │ │ │ │ │ ├── Roboto-Black.ttf │ │ │ │ │ ├── Roboto-BlackItalic.ttf │ │ │ │ │ ├── Roboto-Bold.ttf │ │ │ │ │ ├── Roboto-BoldItalic.ttf │ │ │ │ │ ├── Roboto-Italic.ttf │ │ │ │ │ ├── Roboto-Light.ttf │ │ │ │ │ ├── Roboto-LightItalic.ttf │ │ │ │ │ ├── Roboto-Medium.ttf │ │ │ │ │ ├── Roboto-MediumItalic.ttf │ │ │ │ │ ├── Roboto-Regular.ttf │ │ │ │ │ ├── Roboto-Thin.ttf │ │ │ │ │ └── Roboto-ThinItalic.ttf │ │ │ ├── java │ │ │ │ └── com │ │ │ │ │ └── example │ │ │ │ │ ├── MainActivity.java │ │ │ │ │ └── MainApplication.java │ │ │ └── res │ │ │ │ ├── drawable │ │ │ │ └── rn_edit_text_material.xml │ │ │ │ ├── mipmap-hdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ │ ├── mipmap-mdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ │ ├── mipmap-xhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ │ ├── mipmap-xxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ │ ├── mipmap-xxxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ │ └── values │ │ │ │ ├── strings.xml │ │ │ │ └── styles.xml │ │ │ └── release │ │ │ └── java │ │ │ └── com │ │ │ └── example │ │ │ └── ReactNativeFlipper.java │ ├── build.gradle │ ├── gradle.properties │ ├── gradle │ │ └── wrapper │ │ │ ├── gradle-wrapper.jar │ │ │ └── gradle-wrapper.properties │ ├── gradlew │ ├── gradlew.bat │ ├── link-assets-manifest.json │ └── settings.gradle ├── app.json ├── assets │ └── fonts │ │ └── Roboto │ │ ├── Roboto-Black.ttf │ │ ├── Roboto-BlackItalic.ttf │ │ ├── Roboto-Bold.ttf │ │ ├── Roboto-BoldItalic.ttf │ │ ├── Roboto-Italic.ttf │ │ ├── Roboto-Light.ttf │ │ ├── Roboto-LightItalic.ttf │ │ ├── Roboto-Medium.ttf │ │ ├── Roboto-MediumItalic.ttf │ │ ├── Roboto-Regular.ttf │ │ ├── Roboto-Thin.ttf │ │ └── Roboto-ThinItalic.ttf ├── babel.config.js ├── index.js ├── ios │ ├── .xcode.env │ ├── Podfile │ ├── Podfile.lock │ ├── example.xcodeproj │ │ ├── project.pbxproj │ │ └── xcshareddata │ │ │ └── xcschemes │ │ │ └── example.xcscheme │ ├── example.xcworkspace │ │ └── contents.xcworkspacedata │ ├── example │ │ ├── AppDelegate.h │ │ ├── AppDelegate.mm │ │ ├── Images.xcassets │ │ │ ├── AppIcon.appiconset │ │ │ │ └── Contents.json │ │ │ └── Contents.json │ │ ├── Info.plist │ │ ├── LaunchScreen.storyboard │ │ └── main.m │ ├── exampleTests │ │ ├── Info.plist │ │ └── exampleTests.m │ └── link-assets-manifest.json ├── metro.config.js ├── package-lock.json ├── package.json ├── react-native.config.js ├── tsconfig.json └── yarn.lock ├── lib ├── SubscribeCard.style.ts └── SubscribeCard.tsx ├── package-lock.json ├── package.json └── tsconfig.json /.commitlintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": ["@commitlint/config-conventional"], 3 | "rules": { 4 | "header-max-length": [0, "always", 150], 5 | "subject-case": [0, "always", "sentence-case"], 6 | "type-enum": [ 7 | 2, 8 | "always", 9 | [ 10 | "ci", 11 | "chore", 12 | "docs", 13 | "feat", 14 | "fix", 15 | "perf", 16 | "refactor", 17 | "revert", 18 | "style", 19 | "test" 20 | ] 21 | ] 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- 1 | node_modules/** -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | root: true, 3 | extends: [ 4 | "eslint:recommended", 5 | "plugin:react/recommended", 6 | "plugin:@typescript-eslint/recommended", 7 | "@react-native-community", 8 | "prettier", 9 | ], 10 | ignorePatterns: [ 11 | "**/*/*.js", 12 | "*.js", 13 | "*.svg", 14 | "*.json", 15 | "*.png", 16 | "package.json", 17 | "package-lock.json", 18 | ], 19 | parser: "@typescript-eslint/parser", 20 | plugins: [ 21 | "import", 22 | "react", 23 | "react-native", 24 | "prettier", 25 | "react-hooks", 26 | "@typescript-eslint", 27 | "promise", 28 | "jest", 29 | "unused-imports", 30 | ], 31 | env: { 32 | browser: true, 33 | es2021: true, 34 | "jest/globals": true, 35 | "react-native/react-native": true, 36 | }, 37 | settings: { 38 | "import/resolver": { 39 | node: { 40 | extensions: [ 41 | ".js", 42 | ".jsx", 43 | ".ts", 44 | ".tsx", 45 | ".d.ts", 46 | ".android.js", 47 | ".android.jsx", 48 | ".android.ts", 49 | ".android.tsx", 50 | ".ios.js", 51 | ".ios.jsx", 52 | ".ios.ts", 53 | ".ios.tsx", 54 | ".web.js", 55 | ".web.jsx", 56 | ".web.ts", 57 | ".web.tsx", 58 | ], 59 | }, 60 | }, 61 | }, 62 | rules: { 63 | quotes: [ 64 | "error", 65 | "double", 66 | { 67 | avoidEscape: true, 68 | }, 69 | ], 70 | "import/extensions": [ 71 | "error", 72 | "never", 73 | { 74 | svg: "always", 75 | model: "always", 76 | style: "always", 77 | png: "always", 78 | jpg: "always", 79 | json: "always", 80 | constant: "always", 81 | }, 82 | ], 83 | "no-useless-catch": 0, 84 | "react-hooks/exhaustive-deps": 0, 85 | "max-len": ["error", 120], 86 | "@typescript-eslint/ban-ts-comment": 1, 87 | "@typescript-eslint/no-empty-function": 0, 88 | "@typescript-eslint/no-explicit-any": 1, 89 | "@typescript-eslint/explicit-module-boundary-types": 0, 90 | "react/jsx-filename-extension": ["error", { extensions: [".tsx"] }], 91 | "react-native/no-unused-styles": 2, 92 | "react-native/split-platform-components": 2, 93 | "react-native/no-inline-styles": 0, 94 | "react-native/no-color-literals": 0, 95 | "react-native/no-raw-text": 0, 96 | "import/no-extraneous-dependencies": 2, 97 | "import/no-named-as-default-member": 2, 98 | "import/order": 0, 99 | "import/no-duplicates": 2, 100 | "import/no-useless-path-segments": 2, 101 | "import/no-cycle": 2, 102 | "import/prefer-default-export": 0, 103 | "import/no-anonymous-default-export": 0, 104 | "import/named": 0, 105 | "@typescript-eslint/no-empty-interface": 0, 106 | "import/namespace": 0, 107 | "import/default": 0, 108 | "import/no-named-as-default": 0, 109 | "import/no-unused-modules": 0, 110 | "import/no-deprecated": 0, 111 | "@typescript-eslint/indent": 0, 112 | "react-hooks/rules-of-hooks": 2, 113 | camelcase: 2, 114 | "prefer-destructuring": 2, 115 | "no-nested-ternary": 2, 116 | "prettier/prettier": [ 117 | "error", 118 | { 119 | endOfLine: "auto", 120 | }, 121 | ], 122 | }, 123 | }; 124 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | *.pbxproj -text 2 | -------------------------------------------------------------------------------- /.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 | 32 | # Visual Studio Code 33 | # 34 | .vscode/ 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 | -------------------------------------------------------------------------------- /.husky/commit-msg: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | . "$(dirname -- "$0")/_/husky.sh" 3 | 4 | npx --no-install commitlint --edit 5 | -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | . "$(dirname -- "$0")/_/husky.sh" 3 | 4 | npm run prettier 5 | npm run lint 6 | -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | # Node Modules 2 | **/node_modules 3 | node_modules 4 | # Example 5 | example 6 | # Assets 7 | Assets 8 | assets -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | node_modules/** -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "bracketSpacing": true, 3 | "jsxBracketSameLine": false, 4 | "singleQuote": false, 5 | "trailingComma": "all", 6 | "tabWidth": 2, 7 | "semi": true 8 | } 9 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | React Native Subsribe Card 2 | 3 | [![React Native Subsribe Card](https://img.shields.io/badge/-Beautifully%20designed%20%26%20fully%20customizable%20subscribe%20card%20for%20React%20Native-orange?style=for-the-badge)](https://github.com/WrathChaos/react-native-subscribe-card) 4 | 5 | [![npm version](https://img.shields.io/npm/v/react-native-subscribe-card.svg?style=for-the-badge)](https://www.npmjs.com/package/react-native-subscribe-card) 6 | [![npm](https://img.shields.io/npm/dt/react-native-subscribe-card.svg?style=for-the-badge)](https://www.npmjs.com/package/react-native-subscribe-card) 7 | ![Platform - Android and iOS](https://img.shields.io/badge/platform-Android%20%7C%20iOS-blue.svg?style=for-the-badge) 8 | [![License: MIT](https://img.shields.io/badge/License-MIT-green.svg?style=for-the-badge)](https://opensource.org/licenses/MIT) 9 | [![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg?style=for-the-badge)](https://github.com/prettier/prettier) 10 | 11 |

12 | React Native Subsribe Card 14 |

15 | 16 | # Installation 17 | 18 | Add the dependency: 19 | 20 | ```bash 21 | npm i react-native-subscribe-card 22 | ``` 23 | 24 | ## Peer Dependencies 25 | 26 | Zero Dependency 27 | 28 | # Usage 29 | 30 | ## Import 31 | 32 | ```jsx 33 | import SubscribeCard from "react-native-subscribe-card"; 34 | ``` 35 | 36 | ## Fundamental Usage 37 | 38 |

39 | React Native Subsribe Card 41 |

42 | 43 | ```jsx 44 | {}} 52 | /> 53 | ``` 54 | 55 | ## Selected Customization Usage 56 | 57 | `isSelected` prop makes the whole subscribe card changes to a new selected one. 58 | 59 |

60 | React Native Subsribe Card 62 |

63 | 64 | ```jsx 65 | {}} 74 | /> 75 | ``` 76 | 77 | ## Discount / Save Optional Usage 78 | 79 | `discountText` prop makes the available for the discount/save optional component. 80 | 81 |

82 | React Native Subsribe Card 84 |

85 | 86 | ```jsx 87 | {}} 97 | /> 98 | ``` 99 | 100 | ## Example Project 😍 101 | 102 | You can checkout the example project 🥰 103 | 104 | Simply run 105 | 106 | - `npm i` 107 | - `react-native run-ios/android` 108 | 109 | should work of the example project. 110 | 111 | # Configuration - Props 112 | 113 | ## Fundamentals 114 | 115 | | Property | Type | Required | Default | Description | 116 | | ---------------- | :-------------: | :------: | :-------: | ------------------------------------------------------------------ | 117 | | title | string |   ✅   | undefined | change the title | 118 | | description | string | ❌ | undefined | change the descrition | 119 | | descriptionPrice | string / number | ❌ | undefined | change the descrition price | 120 | | price | string / number | ✅ | undefined | change the price | 121 | | currency | string | ✅ | undefined | change the currency icon such as `$` | 122 | | timePostfix | string | ✅ | undefined | change the time postfix | 123 | | isSelected | boolean | ❌ | false | enable the selected styling | 124 | | discountText | string | ❌ | undefined | change the discount text | 125 | | onPress | function | ✅ | undefined | set your own logic for the button functionality when it is pressed | 126 | 127 | ## Customization (Optionals) 128 | 129 | | Property | Type | Default | Description | 130 | | --------------------------------- | :--------------: | :-----: | ----------------------------------------------------------------------------------------------------------------------- | 131 | | style | ViewStyle | default | set or override the style object for the styling | 132 | | containerStyle | ViewStyle | default | set or override the style object for the `container` style | 133 | | selectedContainerStyle | ViewStyle | default | set or override the style object for the `selected container` style (when the `isSelected` prop is enable) | 134 | | discountContainerStyle | ViewStyle | default | set or override the style object for the `discount container` style | 135 | | outerContainerStyle | ViewStyle | default | set or override the style object for the `outer container` style | 136 | | selectedOuterContainerStyle | ViewStyle | default | set or override the style object for the `selected outer container` style (when the `isSelected` prop is enable) | 137 | | titleTextStyle | TextStyle | default | set or override the style object for the `title` text style | 138 | | descriptionTextStyle | TextStyle | default | set or override the style object for the `description` text style | 139 | | descriptionPriceTextStyle | TextStyle | default | set or override the style object for the `description price` text style | 140 | | selectedDescriptionPriceTextStyle | TextStyle | default | set or override the style object for the `selected description price` text style (when the `isSelected` prop is enable) | 141 | | currencyTextStyle | TextStyle | default | set or override the style object for the `currency` text style | 142 | | selectedCurrencyTextStyle | TextStyle | default | set or override the style object for the `selected currency` text style (when the `isSelected` prop is enable) | 143 | | priceTextStyle | TextStyle | default | set or override the style object for the `price` text style | 144 | | selectedPriceTextStyle | TextStyle | default | set or override the style object for the `selected price` text style (when the `isSelected` prop is enable) | 145 | | timeTextStyle | TextStyle | default | set or override the style object for the `time` text style | 146 | | discountTextStyle | TextStyle | default | set or override the style object for the `discount` text style | 147 | | TextComponent | Text | default | set your own component instead of default `React Native's Text` component | 148 | | TouchableComponent | TouchableOpacity | default | set your own component instead of default `React Native's TouchableOpacity` component | 149 | 150 | ## Future Plans 151 | 152 | - [x] ~~LICENSE~~ 153 | - [ ] Write an article about the lib on Medium 154 | 155 | ## Credits 156 | 157 | Big thanks to Maxim Sirotyuk. Heavily inspired by [Maxim Sirotyuk's Amazing Design](https://www.uplabs.com/posts/subscription-winner-screens-android) 158 | 159 | ## Author 160 | 161 | FreakyCoder, kurayogun@gmail.com 162 | 163 | ## License 164 | 165 | React Native Subsribe Card is available under the MIT license. See the LICENSE file for more info. 166 | -------------------------------------------------------------------------------- /assets/Screenshots/react-native-subscibe-card.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WrathChaos/react-native-subscribe-card/b30dd6d6260933c29d1b16f84b59f192869f4b38/assets/Screenshots/react-native-subscibe-card.png -------------------------------------------------------------------------------- /assets/Screenshots/react-native-subscibe-normal-card.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WrathChaos/react-native-subscribe-card/b30dd6d6260933c29d1b16f84b59f192869f4b38/assets/Screenshots/react-native-subscibe-normal-card.png -------------------------------------------------------------------------------- /assets/Screenshots/react-native-subscribe-selected-card.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WrathChaos/react-native-subscribe-card/b30dd6d6260933c29d1b16f84b59f192869f4b38/assets/Screenshots/react-native-subscribe-selected-card.png -------------------------------------------------------------------------------- /assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WrathChaos/react-native-subscribe-card/b30dd6d6260933c29d1b16f84b59f192869f4b38/assets/logo.png -------------------------------------------------------------------------------- /example/.bundle/config: -------------------------------------------------------------------------------- 1 | BUNDLE_PATH: "vendor/bundle" 2 | BUNDLE_FORCE_RUBY_PLATFORM: 1 3 | -------------------------------------------------------------------------------- /example/.eslintrc.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | root: true, 3 | extends: '@react-native-community', 4 | }; 5 | -------------------------------------------------------------------------------- /example/.gitignore: -------------------------------------------------------------------------------- 1 | # OSX 2 | # 3 | .DS_Store 4 | 5 | # Xcode 6 | # 7 | build/ 8 | *.pbxuser 9 | !default.pbxuser 10 | *.mode1v3 11 | !default.mode1v3 12 | *.mode2v3 13 | !default.mode2v3 14 | *.perspectivev3 15 | !default.perspectivev3 16 | xcuserdata 17 | *.xccheckout 18 | *.moved-aside 19 | DerivedData 20 | *.hmap 21 | *.ipa 22 | *.xcuserstate 23 | ios/.xcode.env.local 24 | 25 | # Android/IntelliJ 26 | # 27 | build/ 28 | .idea 29 | .gradle 30 | local.properties 31 | *.iml 32 | *.hprof 33 | .cxx/ 34 | *.keystore 35 | !debug.keystore 36 | 37 | # node.js 38 | # 39 | node_modules/ 40 | npm-debug.log 41 | yarn-error.log 42 | 43 | # fastlane 44 | # 45 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the 46 | # screenshots whenever they are needed. 47 | # For more information about the recommended setup visit: 48 | # https://docs.fastlane.tools/best-practices/source-control/ 49 | 50 | **/fastlane/report.xml 51 | **/fastlane/Preview.html 52 | **/fastlane/screenshots 53 | **/fastlane/test_output 54 | 55 | # Bundle artifact 56 | *.jsbundle 57 | 58 | # Ruby / CocoaPods 59 | /ios/Pods/ 60 | /vendor/bundle/ 61 | 62 | # Temporary files created by Metro to check the health of the file watcher 63 | .metro-health-check* 64 | -------------------------------------------------------------------------------- /example/.node-version: -------------------------------------------------------------------------------- 1 | 18 2 | -------------------------------------------------------------------------------- /example/.prettierrc.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | arrowParens: 'avoid', 3 | bracketSameLine: true, 4 | bracketSpacing: false, 5 | singleQuote: true, 6 | trailingComma: 'all', 7 | }; 8 | -------------------------------------------------------------------------------- /example/.watchmanconfig: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /example/App.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { 3 | View, 4 | Text, 5 | Dimensions, 6 | StatusBar, 7 | TouchableOpacity, 8 | SafeAreaView, 9 | } from 'react-native'; 10 | import SubscribeCard from 'react-native-subscribe-card'; 11 | 12 | const {width: ScreenWidth} = Dimensions.get('screen'); 13 | 14 | const App = () => { 15 | const ContinueButton = () => ( 16 | 22 | 38 | Continue 39 | 40 | 41 | ); 42 | 43 | const HeaderContainer = () => ( 44 | 45 | 52 | Pricing Plan 53 | 54 | 55 | 62 | Choose a subscription plan to unlock all the functionality of the 63 | application 64 | 65 | 66 | 67 | ); 68 | 69 | const Plans = () => ( 70 | 72 | {}} 82 | /> 83 | {}} 91 | /> 92 | {}} 98 | /> 99 | 100 | ); 101 | 102 | return ( 103 | 109 | 110 | 111 | 112 | 113 | 114 | ); 115 | }; 116 | 117 | export default App; 118 | -------------------------------------------------------------------------------- /example/Gemfile: -------------------------------------------------------------------------------- 1 | source 'https://rubygems.org' 2 | 3 | # You may use http://rbenv.org/ or https://rvm.io/ to install and use this version 4 | ruby '>= 2.6.10' 5 | 6 | gem 'cocoapods', '>= 1.11.3' 7 | -------------------------------------------------------------------------------- /example/Gemfile.lock: -------------------------------------------------------------------------------- 1 | GEM 2 | remote: https://rubygems.org/ 3 | specs: 4 | CFPropertyList (3.0.6) 5 | rexml 6 | activesupport (7.0.4.3) 7 | concurrent-ruby (~> 1.0, >= 1.0.2) 8 | i18n (>= 1.6, < 2) 9 | minitest (>= 5.1) 10 | tzinfo (~> 2.0) 11 | addressable (2.8.4) 12 | public_suffix (>= 2.0.2, < 6.0) 13 | algoliasearch (1.27.5) 14 | httpclient (~> 2.8, >= 2.8.3) 15 | json (>= 1.5.1) 16 | atomos (0.1.3) 17 | claide (1.1.0) 18 | cocoapods (1.12.1) 19 | addressable (~> 2.8) 20 | claide (>= 1.0.2, < 2.0) 21 | cocoapods-core (= 1.12.1) 22 | cocoapods-deintegrate (>= 1.0.3, < 2.0) 23 | cocoapods-downloader (>= 1.6.0, < 2.0) 24 | cocoapods-plugins (>= 1.0.0, < 2.0) 25 | cocoapods-search (>= 1.0.0, < 2.0) 26 | cocoapods-trunk (>= 1.6.0, < 2.0) 27 | cocoapods-try (>= 1.1.0, < 2.0) 28 | colored2 (~> 3.1) 29 | escape (~> 0.0.4) 30 | fourflusher (>= 2.3.0, < 3.0) 31 | gh_inspector (~> 1.0) 32 | molinillo (~> 0.8.0) 33 | nap (~> 1.0) 34 | ruby-macho (>= 2.3.0, < 3.0) 35 | xcodeproj (>= 1.21.0, < 2.0) 36 | cocoapods-core (1.12.1) 37 | activesupport (>= 5.0, < 8) 38 | addressable (~> 2.8) 39 | algoliasearch (~> 1.0) 40 | concurrent-ruby (~> 1.1) 41 | fuzzy_match (~> 2.0.4) 42 | nap (~> 1.0) 43 | netrc (~> 0.11) 44 | public_suffix (~> 4.0) 45 | typhoeus (~> 1.0) 46 | cocoapods-deintegrate (1.0.5) 47 | cocoapods-downloader (1.6.3) 48 | cocoapods-plugins (1.0.0) 49 | nap 50 | cocoapods-search (1.0.1) 51 | cocoapods-trunk (1.6.0) 52 | nap (>= 0.8, < 2.0) 53 | netrc (~> 0.11) 54 | cocoapods-try (1.2.0) 55 | colored2 (3.1.2) 56 | concurrent-ruby (1.2.2) 57 | escape (0.0.4) 58 | ethon (0.16.0) 59 | ffi (>= 1.15.0) 60 | ffi (1.15.5) 61 | fourflusher (2.3.1) 62 | fuzzy_match (2.0.4) 63 | gh_inspector (1.1.3) 64 | httpclient (2.8.3) 65 | i18n (1.13.0) 66 | concurrent-ruby (~> 1.0) 67 | json (2.6.3) 68 | minitest (5.18.0) 69 | molinillo (0.8.0) 70 | nanaimo (0.3.0) 71 | nap (1.1.0) 72 | netrc (0.11.0) 73 | public_suffix (4.0.7) 74 | rexml (3.2.5) 75 | ruby-macho (2.5.1) 76 | typhoeus (1.4.0) 77 | ethon (>= 0.9.0) 78 | tzinfo (2.0.6) 79 | concurrent-ruby (~> 1.0) 80 | xcodeproj (1.22.0) 81 | CFPropertyList (>= 2.3.3, < 4.0) 82 | atomos (~> 0.1.3) 83 | claide (>= 1.0.2, < 2.0) 84 | colored2 (~> 3.1) 85 | nanaimo (~> 0.3.0) 86 | rexml (~> 3.2.4) 87 | 88 | PLATFORMS 89 | ruby 90 | 91 | DEPENDENCIES 92 | cocoapods (>= 1.11.3) 93 | 94 | RUBY VERSION 95 | ruby 3.0.0p0 96 | 97 | BUNDLED WITH 98 | 2.2.3 99 | -------------------------------------------------------------------------------- /example/__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 | -------------------------------------------------------------------------------- /example/android/app/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: "com.android.application" 2 | apply plugin: "com.facebook.react" 3 | 4 | import com.android.build.OutputFile 5 | 6 | /** 7 | * This is the configuration block to customize your React Native Android app. 8 | * By default you don't need to apply any configuration, just uncomment the lines you need. 9 | */ 10 | react { 11 | /* Folders */ 12 | // The root of your project, i.e. where "package.json" lives. Default is '..' 13 | // root = file("../") 14 | // The folder where the react-native NPM package is. Default is ../node_modules/react-native 15 | // reactNativeDir = file("../node_modules/react-native") 16 | // The folder where the react-native Codegen package is. Default is ../node_modules/react-native-codegen 17 | // codegenDir = file("../node_modules/react-native-codegen") 18 | // The cli.js file which is the React Native CLI entrypoint. Default is ../node_modules/react-native/cli.js 19 | // cliFile = file("../node_modules/react-native/cli.js") 20 | 21 | /* Variants */ 22 | // The list of variants to that are debuggable. For those we're going to 23 | // skip the bundling of the JS bundle and the assets. By default is just 'debug'. 24 | // If you add flavors like lite, prod, etc. you'll have to list your debuggableVariants. 25 | // debuggableVariants = ["liteDebug", "prodDebug"] 26 | 27 | /* Bundling */ 28 | // A list containing the node command and its flags. Default is just 'node'. 29 | // nodeExecutableAndArgs = ["node"] 30 | // 31 | // The command to run when bundling. By default is 'bundle' 32 | // bundleCommand = "ram-bundle" 33 | // 34 | // The path to the CLI configuration file. Default is empty. 35 | // bundleConfig = file(../rn-cli.config.js) 36 | // 37 | // The name of the generated asset file containing your JS bundle 38 | // bundleAssetName = "MyApplication.android.bundle" 39 | // 40 | // The entry file for bundle generation. Default is 'index.android.js' or 'index.js' 41 | // entryFile = file("../js/MyApplication.android.js") 42 | // 43 | // A list of extra flags to pass to the 'bundle' commands. 44 | // See https://github.com/react-native-community/cli/blob/main/docs/commands.md#bundle 45 | // extraPackagerArgs = [] 46 | 47 | /* Hermes Commands */ 48 | // The hermes compiler command to run. By default it is 'hermesc' 49 | // hermesCommand = "$rootDir/my-custom-hermesc/bin/hermesc" 50 | // 51 | // The list of flags to pass to the Hermes compiler. By default is "-O", "-output-source-map" 52 | // hermesFlags = ["-O", "-output-source-map"] 53 | } 54 | 55 | /** 56 | * Set this to true to create four separate APKs instead of one, 57 | * one for each native architecture. This is useful if you don't 58 | * use App Bundles (https://developer.android.com/guide/app-bundle/) 59 | * and want to have separate APKs to upload to the Play Store. 60 | */ 61 | def enableSeparateBuildPerCPUArchitecture = false 62 | 63 | /** 64 | * Set this to true to Run Proguard on Release builds to minify the Java bytecode. 65 | */ 66 | def enableProguardInReleaseBuilds = false 67 | 68 | /** 69 | * The preferred build flavor of JavaScriptCore (JSC) 70 | * 71 | * For example, to use the international variant, you can use: 72 | * `def jscFlavor = 'org.webkit:android-jsc-intl:+'` 73 | * 74 | * The international variant includes ICU i18n library and necessary data 75 | * allowing to use e.g. `Date.toLocaleString` and `String.localeCompare` that 76 | * give correct results when using with locales other than en-US. Note that 77 | * this variant is about 6MiB larger per architecture than default. 78 | */ 79 | def jscFlavor = 'org.webkit:android-jsc:+' 80 | 81 | /** 82 | * Private function to get the list of Native Architectures you want to build. 83 | * This reads the value from reactNativeArchitectures in your gradle.properties 84 | * file and works together with the --active-arch-only flag of react-native run-android. 85 | */ 86 | def reactNativeArchitectures() { 87 | def value = project.getProperties().get("reactNativeArchitectures") 88 | return value ? value.split(",") : ["armeabi-v7a", "x86", "x86_64", "arm64-v8a"] 89 | } 90 | 91 | android { 92 | ndkVersion rootProject.ext.ndkVersion 93 | 94 | compileSdkVersion rootProject.ext.compileSdkVersion 95 | 96 | namespace "com.example" 97 | defaultConfig { 98 | applicationId "com.example" 99 | minSdkVersion rootProject.ext.minSdkVersion 100 | targetSdkVersion rootProject.ext.targetSdkVersion 101 | versionCode 1 102 | versionName "1.0" 103 | } 104 | 105 | splits { 106 | abi { 107 | reset() 108 | enable enableSeparateBuildPerCPUArchitecture 109 | universalApk false // If true, also generate a universal APK 110 | include (*reactNativeArchitectures()) 111 | } 112 | } 113 | signingConfigs { 114 | debug { 115 | storeFile file('debug.keystore') 116 | storePassword 'android' 117 | keyAlias 'androiddebugkey' 118 | keyPassword 'android' 119 | } 120 | } 121 | buildTypes { 122 | debug { 123 | signingConfig signingConfigs.debug 124 | } 125 | release { 126 | // Caution! In production, you need to generate your own keystore file. 127 | // see https://reactnative.dev/docs/signed-apk-android. 128 | signingConfig signingConfigs.debug 129 | minifyEnabled enableProguardInReleaseBuilds 130 | proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro" 131 | } 132 | } 133 | 134 | // applicationVariants are e.g. debug, release 135 | applicationVariants.all { variant -> 136 | variant.outputs.each { output -> 137 | // For each separate APK per architecture, set a unique version code as described here: 138 | // https://developer.android.com/studio/build/configure-apk-splits.html 139 | // Example: versionCode 1 will generate 1001 for armeabi-v7a, 1002 for x86, etc. 140 | def versionCodes = ["armeabi-v7a": 1, "x86": 2, "arm64-v8a": 3, "x86_64": 4] 141 | def abi = output.getFilter(OutputFile.ABI) 142 | if (abi != null) { // null for the universal-debug, universal-release variants 143 | output.versionCodeOverride = 144 | defaultConfig.versionCode * 1000 + versionCodes.get(abi) 145 | } 146 | 147 | } 148 | } 149 | } 150 | 151 | dependencies { 152 | // The version of react-native is set by the React Native Gradle Plugin 153 | implementation("com.facebook.react:react-android") 154 | 155 | implementation("androidx.swiperefreshlayout:swiperefreshlayout:1.0.0") 156 | 157 | debugImplementation("com.facebook.flipper:flipper:${FLIPPER_VERSION}") 158 | debugImplementation("com.facebook.flipper:flipper-network-plugin:${FLIPPER_VERSION}") { 159 | exclude group:'com.squareup.okhttp3', module:'okhttp' 160 | } 161 | 162 | debugImplementation("com.facebook.flipper:flipper-fresco-plugin:${FLIPPER_VERSION}") 163 | if (hermesEnabled.toBoolean()) { 164 | implementation("com.facebook.react:hermes-android") 165 | } else { 166 | implementation jscFlavor 167 | } 168 | } 169 | 170 | apply from: file("../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesAppBuildGradle(project) 171 | -------------------------------------------------------------------------------- /example/android/app/debug.keystore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WrathChaos/react-native-subscribe-card/b30dd6d6260933c29d1b16f84b59f192869f4b38/example/android/app/debug.keystore -------------------------------------------------------------------------------- /example/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 | -------------------------------------------------------------------------------- /example/android/app/src/debug/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /example/android/app/src/debug/java/com/example/ReactNativeFlipper.java: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) Meta Platforms, Inc. and affiliates. 3 | * 4 | *

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

This source code is licensed under the MIT license found in the LICENSE file in the root 5 | * directory of this source tree. 6 | */ 7 | package com.example; 8 | 9 | import android.content.Context; 10 | import com.facebook.react.ReactInstanceManager; 11 | 12 | /** 13 | * Class responsible of loading Flipper inside your React Native application. This is the release 14 | * flavor of it so it's empty as we don't want to load Flipper. 15 | */ 16 | public class ReactNativeFlipper { 17 | public static void initializeFlipper(Context context, ReactInstanceManager reactInstanceManager) { 18 | // Do nothing as we don't want to initialize Flipper on Release. 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /example/android/build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | 3 | buildscript { 4 | ext { 5 | buildToolsVersion = "33.0.0" 6 | minSdkVersion = 21 7 | compileSdkVersion = 33 8 | targetSdkVersion = 33 9 | 10 | // We use NDK 23 which has both M1 support and is the side-by-side NDK version from AGP. 11 | ndkVersion = "23.1.7779620" 12 | } 13 | repositories { 14 | google() 15 | mavenCentral() 16 | } 17 | dependencies { 18 | classpath("com.android.tools.build:gradle:7.3.1") 19 | classpath("com.facebook.react:react-native-gradle-plugin") 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /example/android/gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | 3 | # IDE (e.g. Android Studio) users: 4 | # Gradle settings configured through the IDE *will override* 5 | # any settings specified in this file. 6 | 7 | # For more details on how to configure your build environment visit 8 | # http://www.gradle.org/docs/current/userguide/build_environment.html 9 | 10 | # Specifies the JVM arguments used for the daemon process. 11 | # The setting is particularly useful for tweaking memory settings. 12 | # Default value: -Xmx512m -XX:MaxMetaspaceSize=256m 13 | org.gradle.jvmargs=-Xmx2048m -XX:MaxMetaspaceSize=512m 14 | 15 | # When configured, Gradle will run in incubating parallel mode. 16 | # This option should only be used with decoupled projects. More details, visit 17 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 18 | # org.gradle.parallel=true 19 | 20 | # AndroidX package structure to make it clearer which packages are bundled with the 21 | # Android operating system, and which are packaged with your app's APK 22 | # https://developer.android.com/topic/libraries/support-library/androidx-rn 23 | android.useAndroidX=true 24 | # Automatically convert third-party libraries to use AndroidX 25 | android.enableJetifier=true 26 | 27 | # Version of flipper SDK to use with React Native 28 | FLIPPER_VERSION=0.125.0 29 | 30 | # Use this property to specify which architecture you want to build. 31 | # You can also override it from the CLI using 32 | # ./gradlew -PreactNativeArchitectures=x86_64 33 | reactNativeArchitectures=armeabi-v7a,arm64-v8a,x86,x86_64 34 | 35 | # Use this property to enable support to the new architecture. 36 | # This will allow you to use TurboModules and the Fabric render in 37 | # your application. You should enable this flag either if you want 38 | # to write custom TurboModules/Fabric components OR use libraries that 39 | # are providing them. 40 | newArchEnabled=false 41 | 42 | # Use this property to enable or disable the Hermes JS engine. 43 | # If set to false, you will be using JSC instead. 44 | hermesEnabled=true 45 | -------------------------------------------------------------------------------- /example/android/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WrathChaos/react-native-subscribe-card/b30dd6d6260933c29d1b16f84b59f192869f4b38/example/android/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /example/android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-all.zip 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | -------------------------------------------------------------------------------- /example/android/gradlew: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # 4 | # Copyright © 2015-2021 the original authors. 5 | # 6 | # Licensed under the Apache License, Version 2.0 (the "License"); 7 | # you may not use this file except in compliance with the License. 8 | # You may obtain a copy of the License at 9 | # 10 | # https://www.apache.org/licenses/LICENSE-2.0 11 | # 12 | # Unless required by applicable law or agreed to in writing, software 13 | # distributed under the License is distributed on an "AS IS" BASIS, 14 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 15 | # See the License for the specific language governing permissions and 16 | # limitations under the License. 17 | # 18 | 19 | ############################################################################## 20 | # 21 | # Gradle start up script for POSIX generated by Gradle. 22 | # 23 | # Important for running: 24 | # 25 | # (1) You need a POSIX-compliant shell to run this script. If your /bin/sh is 26 | # noncompliant, but you have some other compliant shell such as ksh or 27 | # bash, then to run this script, type that shell name before the whole 28 | # command line, like: 29 | # 30 | # ksh Gradle 31 | # 32 | # Busybox and similar reduced shells will NOT work, because this script 33 | # requires all of these POSIX shell features: 34 | # * functions; 35 | # * expansions «$var», «${var}», «${var:-default}», «${var+SET}», 36 | # «${var#prefix}», «${var%suffix}», and «$( cmd )»; 37 | # * compound commands having a testable exit status, especially «case»; 38 | # * various built-in commands including «command», «set», and «ulimit». 39 | # 40 | # Important for patching: 41 | # 42 | # (2) This script targets any POSIX shell, so it avoids extensions provided 43 | # by Bash, Ksh, etc; in particular arrays are avoided. 44 | # 45 | # The "traditional" practice of packing multiple parameters into a 46 | # space-separated string is a well documented source of bugs and security 47 | # problems, so this is (mostly) avoided, by progressively accumulating 48 | # options in "$@", and eventually passing that to Java. 49 | # 50 | # Where the inherited environment variables (DEFAULT_JVM_OPTS, JAVA_OPTS, 51 | # and GRADLE_OPTS) rely on word-splitting, this is performed explicitly; 52 | # see the in-line comments for details. 53 | # 54 | # There are tweaks for specific operating systems such as AIX, CygWin, 55 | # Darwin, MinGW, and NonStop. 56 | # 57 | # (3) This script is generated from the Groovy template 58 | # https://github.com/gradle/gradle/blob/master/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt 59 | # within the Gradle project. 60 | # 61 | # You can find Gradle at https://github.com/gradle/gradle/. 62 | # 63 | ############################################################################## 64 | 65 | # Attempt to set APP_HOME 66 | 67 | # Resolve links: $0 may be a link 68 | app_path=$0 69 | 70 | # Need this for daisy-chained symlinks. 71 | while 72 | APP_HOME=${app_path%"${app_path##*/}"} # leaves a trailing /; empty if no leading path 73 | [ -h "$app_path" ] 74 | do 75 | ls=$( ls -ld "$app_path" ) 76 | link=${ls#*' -> '} 77 | case $link in #( 78 | /*) app_path=$link ;; #( 79 | *) app_path=$APP_HOME$link ;; 80 | esac 81 | done 82 | 83 | APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit 84 | 85 | APP_NAME="Gradle" 86 | APP_BASE_NAME=${0##*/} 87 | 88 | # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 89 | DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"' 90 | 91 | # Use the maximum available, or set MAX_FD != -1 to use that value. 92 | MAX_FD=maximum 93 | 94 | warn () { 95 | echo "$*" 96 | } >&2 97 | 98 | die () { 99 | echo 100 | echo "$*" 101 | echo 102 | exit 1 103 | } >&2 104 | 105 | # OS specific support (must be 'true' or 'false'). 106 | cygwin=false 107 | msys=false 108 | darwin=false 109 | nonstop=false 110 | case "$( uname )" in #( 111 | CYGWIN* ) cygwin=true ;; #( 112 | Darwin* ) darwin=true ;; #( 113 | MSYS* | MINGW* ) msys=true ;; #( 114 | NONSTOP* ) nonstop=true ;; 115 | esac 116 | 117 | CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar 118 | 119 | 120 | # Determine the Java command to use to start the JVM. 121 | if [ -n "$JAVA_HOME" ] ; then 122 | if [ -x "$JAVA_HOME/jre/sh/java" ] ; then 123 | # IBM's JDK on AIX uses strange locations for the executables 124 | JAVACMD=$JAVA_HOME/jre/sh/java 125 | else 126 | JAVACMD=$JAVA_HOME/bin/java 127 | fi 128 | if [ ! -x "$JAVACMD" ] ; then 129 | die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME 130 | 131 | Please set the JAVA_HOME variable in your environment to match the 132 | location of your Java installation." 133 | fi 134 | else 135 | JAVACMD=java 136 | which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 137 | 138 | Please set the JAVA_HOME variable in your environment to match the 139 | location of your Java installation." 140 | fi 141 | 142 | # Increase the maximum file descriptors if we can. 143 | if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then 144 | case $MAX_FD in #( 145 | max*) 146 | MAX_FD=$( ulimit -H -n ) || 147 | warn "Could not query maximum file descriptor limit" 148 | esac 149 | case $MAX_FD in #( 150 | '' | soft) :;; #( 151 | *) 152 | ulimit -n "$MAX_FD" || 153 | warn "Could not set maximum file descriptor limit to $MAX_FD" 154 | esac 155 | fi 156 | 157 | # Collect all arguments for the java command, stacking in reverse order: 158 | # * args from the command line 159 | # * the main class name 160 | # * -classpath 161 | # * -D...appname settings 162 | # * --module-path (only if needed) 163 | # * DEFAULT_JVM_OPTS, JAVA_OPTS, and GRADLE_OPTS environment variables. 164 | 165 | # For Cygwin or MSYS, switch paths to Windows format before running java 166 | if "$cygwin" || "$msys" ; then 167 | APP_HOME=$( cygpath --path --mixed "$APP_HOME" ) 168 | CLASSPATH=$( cygpath --path --mixed "$CLASSPATH" ) 169 | 170 | JAVACMD=$( cygpath --unix "$JAVACMD" ) 171 | 172 | # Now convert the arguments - kludge to limit ourselves to /bin/sh 173 | for arg do 174 | if 175 | case $arg in #( 176 | -*) false ;; # don't mess with options #( 177 | /?*) t=${arg#/} t=/${t%%/*} # looks like a POSIX filepath 178 | [ -e "$t" ] ;; #( 179 | *) false ;; 180 | esac 181 | then 182 | arg=$( cygpath --path --ignore --mixed "$arg" ) 183 | fi 184 | # Roll the args list around exactly as many times as the number of 185 | # args, so each arg winds up back in the position where it started, but 186 | # possibly modified. 187 | # 188 | # NB: a `for` loop captures its iteration list before it begins, so 189 | # changing the positional parameters here affects neither the number of 190 | # iterations, nor the values presented in `arg`. 191 | shift # remove old arg 192 | set -- "$@" "$arg" # push replacement arg 193 | done 194 | fi 195 | 196 | # Collect all arguments for the java command; 197 | # * $DEFAULT_JVM_OPTS, $JAVA_OPTS, and $GRADLE_OPTS can contain fragments of 198 | # shell script including quotes and variable substitutions, so put them in 199 | # double quotes to make sure that they get re-expanded; and 200 | # * put everything else in single quotes, so that it's not re-expanded. 201 | 202 | set -- \ 203 | "-Dorg.gradle.appname=$APP_BASE_NAME" \ 204 | -classpath "$CLASSPATH" \ 205 | org.gradle.wrapper.GradleWrapperMain \ 206 | "$@" 207 | 208 | # Use "xargs" to parse quoted args. 209 | # 210 | # With -n1 it outputs one arg per line, with the quotes and backslashes removed. 211 | # 212 | # In Bash we could simply go: 213 | # 214 | # readarray ARGS < <( xargs -n1 <<<"$var" ) && 215 | # set -- "${ARGS[@]}" "$@" 216 | # 217 | # but POSIX shell has neither arrays nor command substitution, so instead we 218 | # post-process each arg (as a line of input to sed) to backslash-escape any 219 | # character that might be a shell metacharacter, then use eval to reverse 220 | # that process (while maintaining the separation between arguments), and wrap 221 | # the whole thing up as a single "set" statement. 222 | # 223 | # This will of course break if any of these variables contains a newline or 224 | # an unmatched quote. 225 | # 226 | 227 | eval "set -- $( 228 | printf '%s\n' "$DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS" | 229 | xargs -n1 | 230 | sed ' s~[^-[:alnum:]+,./:=@_]~\\&~g; ' | 231 | tr '\n' ' ' 232 | )" '"$@"' 233 | 234 | exec "$JAVACMD" "$@" 235 | -------------------------------------------------------------------------------- /example/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 | -------------------------------------------------------------------------------- /example/android/link-assets-manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "migIndex": 1, 3 | "data": [ 4 | { 5 | "path": "assets/fonts/Roboto/Roboto-Black.ttf", 6 | "sha1": "e28654c12713143bfdd72f8c559c48a19c1cbf18" 7 | }, 8 | { 9 | "path": "assets/fonts/Roboto/Roboto-BlackItalic.ttf", 10 | "sha1": "91158ed880ebf4bb904568ec246e85a07fefcdfb" 11 | }, 12 | { 13 | "path": "assets/fonts/Roboto/Roboto-Bold.ttf", 14 | "sha1": "013f1bbcbbd80991a5f00fca52a90d0d7ab8b81f" 15 | }, 16 | { 17 | "path": "assets/fonts/Roboto/Roboto-BoldItalic.ttf", 18 | "sha1": "41985122ae0d78676ac1eb30edde89606bdbe531" 19 | }, 20 | { 21 | "path": "assets/fonts/Roboto/Roboto-Italic.ttf", 22 | "sha1": "20420db4e13d654cbe22b5fba6296c78a6360537" 23 | }, 24 | { 25 | "path": "assets/fonts/Roboto/Roboto-Light.ttf", 26 | "sha1": "51dbae4543aaa10096e344e48fcffe468bd314a9" 27 | }, 28 | { 29 | "path": "assets/fonts/Roboto/Roboto-LightItalic.ttf", 30 | "sha1": "538f6b977a7109f14cf314b8bad18ed84519d995" 31 | }, 32 | { 33 | "path": "assets/fonts/Roboto/Roboto-Medium.ttf", 34 | "sha1": "fddc8b1c688ef3baed0d5a46abf5f01f0edaf02b" 35 | }, 36 | { 37 | "path": "assets/fonts/Roboto/Roboto-MediumItalic.ttf", 38 | "sha1": "b13559734aa602f9a1bddb8b5be72d7036858716" 39 | }, 40 | { 41 | "path": "assets/fonts/Roboto/Roboto-Regular.ttf", 42 | "sha1": "84d102488738b0ebbc7a5087973effbd54c95bd5" 43 | }, 44 | { 45 | "path": "assets/fonts/Roboto/Roboto-Thin.ttf", 46 | "sha1": "e07c400b55ef4ac7fb5ff9a79d301712922c681b" 47 | }, 48 | { 49 | "path": "assets/fonts/Roboto/Roboto-ThinItalic.ttf", 50 | "sha1": "4c80f7c044a7e9a83865f625559e114ea4d7d2b1" 51 | } 52 | ] 53 | } 54 | -------------------------------------------------------------------------------- /example/android/settings.gradle: -------------------------------------------------------------------------------- 1 | rootProject.name = 'example' 2 | apply from: file("../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesSettingsGradle(settings) 3 | include ':app' 4 | includeBuild('../node_modules/react-native-gradle-plugin') 5 | -------------------------------------------------------------------------------- /example/app.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "example", 3 | "displayName": "example" 4 | } -------------------------------------------------------------------------------- /example/assets/fonts/Roboto/Roboto-Black.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WrathChaos/react-native-subscribe-card/b30dd6d6260933c29d1b16f84b59f192869f4b38/example/assets/fonts/Roboto/Roboto-Black.ttf -------------------------------------------------------------------------------- /example/assets/fonts/Roboto/Roboto-BlackItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WrathChaos/react-native-subscribe-card/b30dd6d6260933c29d1b16f84b59f192869f4b38/example/assets/fonts/Roboto/Roboto-BlackItalic.ttf -------------------------------------------------------------------------------- /example/assets/fonts/Roboto/Roboto-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WrathChaos/react-native-subscribe-card/b30dd6d6260933c29d1b16f84b59f192869f4b38/example/assets/fonts/Roboto/Roboto-Bold.ttf -------------------------------------------------------------------------------- /example/assets/fonts/Roboto/Roboto-BoldItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WrathChaos/react-native-subscribe-card/b30dd6d6260933c29d1b16f84b59f192869f4b38/example/assets/fonts/Roboto/Roboto-BoldItalic.ttf -------------------------------------------------------------------------------- /example/assets/fonts/Roboto/Roboto-Italic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WrathChaos/react-native-subscribe-card/b30dd6d6260933c29d1b16f84b59f192869f4b38/example/assets/fonts/Roboto/Roboto-Italic.ttf -------------------------------------------------------------------------------- /example/assets/fonts/Roboto/Roboto-Light.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WrathChaos/react-native-subscribe-card/b30dd6d6260933c29d1b16f84b59f192869f4b38/example/assets/fonts/Roboto/Roboto-Light.ttf -------------------------------------------------------------------------------- /example/assets/fonts/Roboto/Roboto-LightItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WrathChaos/react-native-subscribe-card/b30dd6d6260933c29d1b16f84b59f192869f4b38/example/assets/fonts/Roboto/Roboto-LightItalic.ttf -------------------------------------------------------------------------------- /example/assets/fonts/Roboto/Roboto-Medium.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WrathChaos/react-native-subscribe-card/b30dd6d6260933c29d1b16f84b59f192869f4b38/example/assets/fonts/Roboto/Roboto-Medium.ttf -------------------------------------------------------------------------------- /example/assets/fonts/Roboto/Roboto-MediumItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WrathChaos/react-native-subscribe-card/b30dd6d6260933c29d1b16f84b59f192869f4b38/example/assets/fonts/Roboto/Roboto-MediumItalic.ttf -------------------------------------------------------------------------------- /example/assets/fonts/Roboto/Roboto-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WrathChaos/react-native-subscribe-card/b30dd6d6260933c29d1b16f84b59f192869f4b38/example/assets/fonts/Roboto/Roboto-Regular.ttf -------------------------------------------------------------------------------- /example/assets/fonts/Roboto/Roboto-Thin.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WrathChaos/react-native-subscribe-card/b30dd6d6260933c29d1b16f84b59f192869f4b38/example/assets/fonts/Roboto/Roboto-Thin.ttf -------------------------------------------------------------------------------- /example/assets/fonts/Roboto/Roboto-ThinItalic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/WrathChaos/react-native-subscribe-card/b30dd6d6260933c29d1b16f84b59f192869f4b38/example/assets/fonts/Roboto/Roboto-ThinItalic.ttf -------------------------------------------------------------------------------- /example/babel.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | presets: ['module:metro-react-native-babel-preset'], 3 | }; 4 | -------------------------------------------------------------------------------- /example/index.js: -------------------------------------------------------------------------------- 1 | /** 2 | * @format 3 | */ 4 | 5 | import {AppRegistry} from 'react-native'; 6 | import App from './App'; 7 | import {name as appName} from './app.json'; 8 | 9 | AppRegistry.registerComponent(appName, () => App); 10 | -------------------------------------------------------------------------------- /example/ios/.xcode.env: -------------------------------------------------------------------------------- 1 | # This `.xcode.env` file is versioned and is used to source the environment 2 | # used when running script phases inside Xcode. 3 | # To customize your local environment, you can create an `.xcode.env.local` 4 | # file that is not versioned. 5 | 6 | # NODE_BINARY variable contains the PATH to the node executable. 7 | # 8 | # Customize the NODE_BINARY variable here. 9 | # For example, to use nvm with brew, add the following line 10 | # . "$(brew --prefix nvm)/nvm.sh" --no-use 11 | export NODE_BINARY=$(command -v node) 12 | -------------------------------------------------------------------------------- /example/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, min_ios_version_supported 5 | prepare_react_native_project! 6 | 7 | # If you are using a `react-native-flipper` your iOS build will fail when `NO_FLIPPER=1` is set. 8 | # because `react-native-flipper` depends on (FlipperKit,...) that will be excluded 9 | # 10 | # To fix this you can also exclude `react-native-flipper` using a `react-native.config.js` 11 | # ```js 12 | # module.exports = { 13 | # dependencies: { 14 | # ...(process.env.NO_FLIPPER ? { 'react-native-flipper': { platforms: { ios: null } } } : {}), 15 | # ``` 16 | flipper_config = ENV['NO_FLIPPER'] == "1" ? FlipperConfiguration.disabled : FlipperConfiguration.enabled 17 | 18 | linkage = ENV['USE_FRAMEWORKS'] 19 | if linkage != nil 20 | Pod::UI.puts "Configuring Pod with #{linkage}ally linked Frameworks".green 21 | use_frameworks! :linkage => linkage.to_sym 22 | end 23 | 24 | target 'example' do 25 | config = use_native_modules! 26 | 27 | # Flags change depending on the env values. 28 | flags = get_default_flags() 29 | 30 | use_react_native!( 31 | :path => config[:reactNativePath], 32 | # Hermes is now enabled by default. Disable by setting this flag to false. 33 | # Upcoming versions of React Native may rely on get_default_flags(), but 34 | # we make it explicit here to aid in the React Native upgrade process. 35 | :hermes_enabled => flags[:hermes_enabled], 36 | :fabric_enabled => flags[:fabric_enabled], 37 | # Enables Flipper. 38 | # 39 | # Note that if you have use_frameworks! enabled, Flipper will not work and 40 | # you should disable the next line. 41 | :flipper_configuration => flipper_config, 42 | # An absolute path to your application root. 43 | :app_path => "#{Pod::Config.instance.installation_root}/.." 44 | ) 45 | 46 | target 'exampleTests' do 47 | inherit! :complete 48 | # Pods for testing 49 | end 50 | 51 | post_install do |installer| 52 | react_native_post_install( 53 | installer, 54 | # Set `mac_catalyst_enabled` to `true` in order to apply patches 55 | # necessary for Mac Catalyst builds 56 | :mac_catalyst_enabled => false 57 | ) 58 | __apply_Xcode_12_5_M1_post_install_workaround(installer) 59 | end 60 | end 61 | -------------------------------------------------------------------------------- /example/ios/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - boost (1.76.0) 3 | - CocoaAsyncSocket (7.6.5) 4 | - DoubleConversion (1.1.6) 5 | - FBLazyVector (0.71.8) 6 | - FBReactNativeSpec (0.71.8): 7 | - RCT-Folly (= 2021.07.22.00) 8 | - RCTRequired (= 0.71.8) 9 | - RCTTypeSafety (= 0.71.8) 10 | - React-Core (= 0.71.8) 11 | - React-jsi (= 0.71.8) 12 | - ReactCommon/turbomodule/core (= 0.71.8) 13 | - Flipper (0.125.0): 14 | - Flipper-Folly (~> 2.6) 15 | - Flipper-RSocket (~> 1.4) 16 | - Flipper-Boost-iOSX (1.76.0.1.11) 17 | - Flipper-DoubleConversion (3.2.0.1) 18 | - Flipper-Fmt (7.1.7) 19 | - Flipper-Folly (2.6.10): 20 | - Flipper-Boost-iOSX 21 | - Flipper-DoubleConversion 22 | - Flipper-Fmt (= 7.1.7) 23 | - Flipper-Glog 24 | - libevent (~> 2.1.12) 25 | - OpenSSL-Universal (= 1.1.1100) 26 | - Flipper-Glog (0.5.0.5) 27 | - Flipper-PeerTalk (0.0.4) 28 | - Flipper-RSocket (1.4.3): 29 | - Flipper-Folly (~> 2.6) 30 | - FlipperKit (0.125.0): 31 | - FlipperKit/Core (= 0.125.0) 32 | - FlipperKit/Core (0.125.0): 33 | - Flipper (~> 0.125.0) 34 | - FlipperKit/CppBridge 35 | - FlipperKit/FBCxxFollyDynamicConvert 36 | - FlipperKit/FBDefines 37 | - FlipperKit/FKPortForwarding 38 | - SocketRocket (~> 0.6.0) 39 | - FlipperKit/CppBridge (0.125.0): 40 | - Flipper (~> 0.125.0) 41 | - FlipperKit/FBCxxFollyDynamicConvert (0.125.0): 42 | - Flipper-Folly (~> 2.6) 43 | - FlipperKit/FBDefines (0.125.0) 44 | - FlipperKit/FKPortForwarding (0.125.0): 45 | - CocoaAsyncSocket (~> 7.6) 46 | - Flipper-PeerTalk (~> 0.0.4) 47 | - FlipperKit/FlipperKitHighlightOverlay (0.125.0) 48 | - FlipperKit/FlipperKitLayoutHelpers (0.125.0): 49 | - FlipperKit/Core 50 | - FlipperKit/FlipperKitHighlightOverlay 51 | - FlipperKit/FlipperKitLayoutTextSearchable 52 | - FlipperKit/FlipperKitLayoutIOSDescriptors (0.125.0): 53 | - FlipperKit/Core 54 | - FlipperKit/FlipperKitHighlightOverlay 55 | - FlipperKit/FlipperKitLayoutHelpers 56 | - YogaKit (~> 1.18) 57 | - FlipperKit/FlipperKitLayoutPlugin (0.125.0): 58 | - FlipperKit/Core 59 | - FlipperKit/FlipperKitHighlightOverlay 60 | - FlipperKit/FlipperKitLayoutHelpers 61 | - FlipperKit/FlipperKitLayoutIOSDescriptors 62 | - FlipperKit/FlipperKitLayoutTextSearchable 63 | - YogaKit (~> 1.18) 64 | - FlipperKit/FlipperKitLayoutTextSearchable (0.125.0) 65 | - FlipperKit/FlipperKitNetworkPlugin (0.125.0): 66 | - FlipperKit/Core 67 | - FlipperKit/FlipperKitReactPlugin (0.125.0): 68 | - FlipperKit/Core 69 | - FlipperKit/FlipperKitUserDefaultsPlugin (0.125.0): 70 | - FlipperKit/Core 71 | - FlipperKit/SKIOSNetworkPlugin (0.125.0): 72 | - FlipperKit/Core 73 | - FlipperKit/FlipperKitNetworkPlugin 74 | - fmt (6.2.1) 75 | - glog (0.3.5) 76 | - hermes-engine (0.71.8): 77 | - hermes-engine/Pre-built (= 0.71.8) 78 | - hermes-engine/Pre-built (0.71.8) 79 | - libevent (2.1.12) 80 | - OpenSSL-Universal (1.1.1100) 81 | - RCT-Folly (2021.07.22.00): 82 | - boost 83 | - DoubleConversion 84 | - fmt (~> 6.2.1) 85 | - glog 86 | - RCT-Folly/Default (= 2021.07.22.00) 87 | - RCT-Folly/Default (2021.07.22.00): 88 | - boost 89 | - DoubleConversion 90 | - fmt (~> 6.2.1) 91 | - glog 92 | - RCT-Folly/Futures (2021.07.22.00): 93 | - boost 94 | - DoubleConversion 95 | - fmt (~> 6.2.1) 96 | - glog 97 | - libevent 98 | - RCTRequired (0.71.8) 99 | - RCTTypeSafety (0.71.8): 100 | - FBLazyVector (= 0.71.8) 101 | - RCTRequired (= 0.71.8) 102 | - React-Core (= 0.71.8) 103 | - React (0.71.8): 104 | - React-Core (= 0.71.8) 105 | - React-Core/DevSupport (= 0.71.8) 106 | - React-Core/RCTWebSocket (= 0.71.8) 107 | - React-RCTActionSheet (= 0.71.8) 108 | - React-RCTAnimation (= 0.71.8) 109 | - React-RCTBlob (= 0.71.8) 110 | - React-RCTImage (= 0.71.8) 111 | - React-RCTLinking (= 0.71.8) 112 | - React-RCTNetwork (= 0.71.8) 113 | - React-RCTSettings (= 0.71.8) 114 | - React-RCTText (= 0.71.8) 115 | - React-RCTVibration (= 0.71.8) 116 | - React-callinvoker (0.71.8) 117 | - React-Codegen (0.71.8): 118 | - FBReactNativeSpec 119 | - hermes-engine 120 | - RCT-Folly 121 | - RCTRequired 122 | - RCTTypeSafety 123 | - React-Core 124 | - React-jsi 125 | - React-jsiexecutor 126 | - ReactCommon/turbomodule/bridging 127 | - ReactCommon/turbomodule/core 128 | - React-Core (0.71.8): 129 | - glog 130 | - hermes-engine 131 | - RCT-Folly (= 2021.07.22.00) 132 | - React-Core/Default (= 0.71.8) 133 | - React-cxxreact (= 0.71.8) 134 | - React-hermes 135 | - React-jsi (= 0.71.8) 136 | - React-jsiexecutor (= 0.71.8) 137 | - React-perflogger (= 0.71.8) 138 | - Yoga 139 | - React-Core/CoreModulesHeaders (0.71.8): 140 | - glog 141 | - hermes-engine 142 | - RCT-Folly (= 2021.07.22.00) 143 | - React-Core/Default 144 | - React-cxxreact (= 0.71.8) 145 | - React-hermes 146 | - React-jsi (= 0.71.8) 147 | - React-jsiexecutor (= 0.71.8) 148 | - React-perflogger (= 0.71.8) 149 | - Yoga 150 | - React-Core/Default (0.71.8): 151 | - glog 152 | - hermes-engine 153 | - RCT-Folly (= 2021.07.22.00) 154 | - React-cxxreact (= 0.71.8) 155 | - React-hermes 156 | - React-jsi (= 0.71.8) 157 | - React-jsiexecutor (= 0.71.8) 158 | - React-perflogger (= 0.71.8) 159 | - Yoga 160 | - React-Core/DevSupport (0.71.8): 161 | - glog 162 | - hermes-engine 163 | - RCT-Folly (= 2021.07.22.00) 164 | - React-Core/Default (= 0.71.8) 165 | - React-Core/RCTWebSocket (= 0.71.8) 166 | - React-cxxreact (= 0.71.8) 167 | - React-hermes 168 | - React-jsi (= 0.71.8) 169 | - React-jsiexecutor (= 0.71.8) 170 | - React-jsinspector (= 0.71.8) 171 | - React-perflogger (= 0.71.8) 172 | - Yoga 173 | - React-Core/RCTActionSheetHeaders (0.71.8): 174 | - glog 175 | - hermes-engine 176 | - RCT-Folly (= 2021.07.22.00) 177 | - React-Core/Default 178 | - React-cxxreact (= 0.71.8) 179 | - React-hermes 180 | - React-jsi (= 0.71.8) 181 | - React-jsiexecutor (= 0.71.8) 182 | - React-perflogger (= 0.71.8) 183 | - Yoga 184 | - React-Core/RCTAnimationHeaders (0.71.8): 185 | - glog 186 | - hermes-engine 187 | - RCT-Folly (= 2021.07.22.00) 188 | - React-Core/Default 189 | - React-cxxreact (= 0.71.8) 190 | - React-hermes 191 | - React-jsi (= 0.71.8) 192 | - React-jsiexecutor (= 0.71.8) 193 | - React-perflogger (= 0.71.8) 194 | - Yoga 195 | - React-Core/RCTBlobHeaders (0.71.8): 196 | - glog 197 | - hermes-engine 198 | - RCT-Folly (= 2021.07.22.00) 199 | - React-Core/Default 200 | - React-cxxreact (= 0.71.8) 201 | - React-hermes 202 | - React-jsi (= 0.71.8) 203 | - React-jsiexecutor (= 0.71.8) 204 | - React-perflogger (= 0.71.8) 205 | - Yoga 206 | - React-Core/RCTImageHeaders (0.71.8): 207 | - glog 208 | - hermes-engine 209 | - RCT-Folly (= 2021.07.22.00) 210 | - React-Core/Default 211 | - React-cxxreact (= 0.71.8) 212 | - React-hermes 213 | - React-jsi (= 0.71.8) 214 | - React-jsiexecutor (= 0.71.8) 215 | - React-perflogger (= 0.71.8) 216 | - Yoga 217 | - React-Core/RCTLinkingHeaders (0.71.8): 218 | - glog 219 | - hermes-engine 220 | - RCT-Folly (= 2021.07.22.00) 221 | - React-Core/Default 222 | - React-cxxreact (= 0.71.8) 223 | - React-hermes 224 | - React-jsi (= 0.71.8) 225 | - React-jsiexecutor (= 0.71.8) 226 | - React-perflogger (= 0.71.8) 227 | - Yoga 228 | - React-Core/RCTNetworkHeaders (0.71.8): 229 | - glog 230 | - hermes-engine 231 | - RCT-Folly (= 2021.07.22.00) 232 | - React-Core/Default 233 | - React-cxxreact (= 0.71.8) 234 | - React-hermes 235 | - React-jsi (= 0.71.8) 236 | - React-jsiexecutor (= 0.71.8) 237 | - React-perflogger (= 0.71.8) 238 | - Yoga 239 | - React-Core/RCTSettingsHeaders (0.71.8): 240 | - glog 241 | - hermes-engine 242 | - RCT-Folly (= 2021.07.22.00) 243 | - React-Core/Default 244 | - React-cxxreact (= 0.71.8) 245 | - React-hermes 246 | - React-jsi (= 0.71.8) 247 | - React-jsiexecutor (= 0.71.8) 248 | - React-perflogger (= 0.71.8) 249 | - Yoga 250 | - React-Core/RCTTextHeaders (0.71.8): 251 | - glog 252 | - hermes-engine 253 | - RCT-Folly (= 2021.07.22.00) 254 | - React-Core/Default 255 | - React-cxxreact (= 0.71.8) 256 | - React-hermes 257 | - React-jsi (= 0.71.8) 258 | - React-jsiexecutor (= 0.71.8) 259 | - React-perflogger (= 0.71.8) 260 | - Yoga 261 | - React-Core/RCTVibrationHeaders (0.71.8): 262 | - glog 263 | - hermes-engine 264 | - RCT-Folly (= 2021.07.22.00) 265 | - React-Core/Default 266 | - React-cxxreact (= 0.71.8) 267 | - React-hermes 268 | - React-jsi (= 0.71.8) 269 | - React-jsiexecutor (= 0.71.8) 270 | - React-perflogger (= 0.71.8) 271 | - Yoga 272 | - React-Core/RCTWebSocket (0.71.8): 273 | - glog 274 | - hermes-engine 275 | - RCT-Folly (= 2021.07.22.00) 276 | - React-Core/Default (= 0.71.8) 277 | - React-cxxreact (= 0.71.8) 278 | - React-hermes 279 | - React-jsi (= 0.71.8) 280 | - React-jsiexecutor (= 0.71.8) 281 | - React-perflogger (= 0.71.8) 282 | - Yoga 283 | - React-CoreModules (0.71.8): 284 | - RCT-Folly (= 2021.07.22.00) 285 | - RCTTypeSafety (= 0.71.8) 286 | - React-Codegen (= 0.71.8) 287 | - React-Core/CoreModulesHeaders (= 0.71.8) 288 | - React-jsi (= 0.71.8) 289 | - React-RCTBlob 290 | - React-RCTImage (= 0.71.8) 291 | - ReactCommon/turbomodule/core (= 0.71.8) 292 | - React-cxxreact (0.71.8): 293 | - boost (= 1.76.0) 294 | - DoubleConversion 295 | - glog 296 | - hermes-engine 297 | - RCT-Folly (= 2021.07.22.00) 298 | - React-callinvoker (= 0.71.8) 299 | - React-jsi (= 0.71.8) 300 | - React-jsinspector (= 0.71.8) 301 | - React-logger (= 0.71.8) 302 | - React-perflogger (= 0.71.8) 303 | - React-runtimeexecutor (= 0.71.8) 304 | - React-hermes (0.71.8): 305 | - DoubleConversion 306 | - glog 307 | - hermes-engine 308 | - RCT-Folly (= 2021.07.22.00) 309 | - RCT-Folly/Futures (= 2021.07.22.00) 310 | - React-cxxreact (= 0.71.8) 311 | - React-jsi 312 | - React-jsiexecutor (= 0.71.8) 313 | - React-jsinspector (= 0.71.8) 314 | - React-perflogger (= 0.71.8) 315 | - React-jsi (0.71.8): 316 | - boost (= 1.76.0) 317 | - DoubleConversion 318 | - glog 319 | - hermes-engine 320 | - RCT-Folly (= 2021.07.22.00) 321 | - React-jsiexecutor (0.71.8): 322 | - DoubleConversion 323 | - glog 324 | - hermes-engine 325 | - RCT-Folly (= 2021.07.22.00) 326 | - React-cxxreact (= 0.71.8) 327 | - React-jsi (= 0.71.8) 328 | - React-perflogger (= 0.71.8) 329 | - React-jsinspector (0.71.8) 330 | - React-logger (0.71.8): 331 | - glog 332 | - React-perflogger (0.71.8) 333 | - React-RCTActionSheet (0.71.8): 334 | - React-Core/RCTActionSheetHeaders (= 0.71.8) 335 | - React-RCTAnimation (0.71.8): 336 | - RCT-Folly (= 2021.07.22.00) 337 | - RCTTypeSafety (= 0.71.8) 338 | - React-Codegen (= 0.71.8) 339 | - React-Core/RCTAnimationHeaders (= 0.71.8) 340 | - React-jsi (= 0.71.8) 341 | - ReactCommon/turbomodule/core (= 0.71.8) 342 | - React-RCTAppDelegate (0.71.8): 343 | - RCT-Folly 344 | - RCTRequired 345 | - RCTTypeSafety 346 | - React-Core 347 | - ReactCommon/turbomodule/core 348 | - React-RCTBlob (0.71.8): 349 | - hermes-engine 350 | - RCT-Folly (= 2021.07.22.00) 351 | - React-Codegen (= 0.71.8) 352 | - React-Core/RCTBlobHeaders (= 0.71.8) 353 | - React-Core/RCTWebSocket (= 0.71.8) 354 | - React-jsi (= 0.71.8) 355 | - React-RCTNetwork (= 0.71.8) 356 | - ReactCommon/turbomodule/core (= 0.71.8) 357 | - React-RCTImage (0.71.8): 358 | - RCT-Folly (= 2021.07.22.00) 359 | - RCTTypeSafety (= 0.71.8) 360 | - React-Codegen (= 0.71.8) 361 | - React-Core/RCTImageHeaders (= 0.71.8) 362 | - React-jsi (= 0.71.8) 363 | - React-RCTNetwork (= 0.71.8) 364 | - ReactCommon/turbomodule/core (= 0.71.8) 365 | - React-RCTLinking (0.71.8): 366 | - React-Codegen (= 0.71.8) 367 | - React-Core/RCTLinkingHeaders (= 0.71.8) 368 | - React-jsi (= 0.71.8) 369 | - ReactCommon/turbomodule/core (= 0.71.8) 370 | - React-RCTNetwork (0.71.8): 371 | - RCT-Folly (= 2021.07.22.00) 372 | - RCTTypeSafety (= 0.71.8) 373 | - React-Codegen (= 0.71.8) 374 | - React-Core/RCTNetworkHeaders (= 0.71.8) 375 | - React-jsi (= 0.71.8) 376 | - ReactCommon/turbomodule/core (= 0.71.8) 377 | - React-RCTSettings (0.71.8): 378 | - RCT-Folly (= 2021.07.22.00) 379 | - RCTTypeSafety (= 0.71.8) 380 | - React-Codegen (= 0.71.8) 381 | - React-Core/RCTSettingsHeaders (= 0.71.8) 382 | - React-jsi (= 0.71.8) 383 | - ReactCommon/turbomodule/core (= 0.71.8) 384 | - React-RCTText (0.71.8): 385 | - React-Core/RCTTextHeaders (= 0.71.8) 386 | - React-RCTVibration (0.71.8): 387 | - RCT-Folly (= 2021.07.22.00) 388 | - React-Codegen (= 0.71.8) 389 | - React-Core/RCTVibrationHeaders (= 0.71.8) 390 | - React-jsi (= 0.71.8) 391 | - ReactCommon/turbomodule/core (= 0.71.8) 392 | - React-runtimeexecutor (0.71.8): 393 | - React-jsi (= 0.71.8) 394 | - ReactCommon/turbomodule/bridging (0.71.8): 395 | - DoubleConversion 396 | - glog 397 | - hermes-engine 398 | - RCT-Folly (= 2021.07.22.00) 399 | - React-callinvoker (= 0.71.8) 400 | - React-Core (= 0.71.8) 401 | - React-cxxreact (= 0.71.8) 402 | - React-jsi (= 0.71.8) 403 | - React-logger (= 0.71.8) 404 | - React-perflogger (= 0.71.8) 405 | - ReactCommon/turbomodule/core (0.71.8): 406 | - DoubleConversion 407 | - glog 408 | - hermes-engine 409 | - RCT-Folly (= 2021.07.22.00) 410 | - React-callinvoker (= 0.71.8) 411 | - React-Core (= 0.71.8) 412 | - React-cxxreact (= 0.71.8) 413 | - React-jsi (= 0.71.8) 414 | - React-logger (= 0.71.8) 415 | - React-perflogger (= 0.71.8) 416 | - SocketRocket (0.6.0) 417 | - Yoga (1.14.0) 418 | - YogaKit (1.18.1): 419 | - Yoga (~> 1.14) 420 | 421 | DEPENDENCIES: 422 | - boost (from `../node_modules/react-native/third-party-podspecs/boost.podspec`) 423 | - DoubleConversion (from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`) 424 | - FBLazyVector (from `../node_modules/react-native/Libraries/FBLazyVector`) 425 | - FBReactNativeSpec (from `../node_modules/react-native/React/FBReactNativeSpec`) 426 | - Flipper (= 0.125.0) 427 | - Flipper-Boost-iOSX (= 1.76.0.1.11) 428 | - Flipper-DoubleConversion (= 3.2.0.1) 429 | - Flipper-Fmt (= 7.1.7) 430 | - Flipper-Folly (= 2.6.10) 431 | - Flipper-Glog (= 0.5.0.5) 432 | - Flipper-PeerTalk (= 0.0.4) 433 | - Flipper-RSocket (= 1.4.3) 434 | - FlipperKit (= 0.125.0) 435 | - FlipperKit/Core (= 0.125.0) 436 | - FlipperKit/CppBridge (= 0.125.0) 437 | - FlipperKit/FBCxxFollyDynamicConvert (= 0.125.0) 438 | - FlipperKit/FBDefines (= 0.125.0) 439 | - FlipperKit/FKPortForwarding (= 0.125.0) 440 | - FlipperKit/FlipperKitHighlightOverlay (= 0.125.0) 441 | - FlipperKit/FlipperKitLayoutPlugin (= 0.125.0) 442 | - FlipperKit/FlipperKitLayoutTextSearchable (= 0.125.0) 443 | - FlipperKit/FlipperKitNetworkPlugin (= 0.125.0) 444 | - FlipperKit/FlipperKitReactPlugin (= 0.125.0) 445 | - FlipperKit/FlipperKitUserDefaultsPlugin (= 0.125.0) 446 | - FlipperKit/SKIOSNetworkPlugin (= 0.125.0) 447 | - glog (from `../node_modules/react-native/third-party-podspecs/glog.podspec`) 448 | - hermes-engine (from `../node_modules/react-native/sdks/hermes-engine/hermes-engine.podspec`) 449 | - libevent (~> 2.1.12) 450 | - OpenSSL-Universal (= 1.1.1100) 451 | - RCT-Folly (from `../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec`) 452 | - RCTRequired (from `../node_modules/react-native/Libraries/RCTRequired`) 453 | - RCTTypeSafety (from `../node_modules/react-native/Libraries/TypeSafety`) 454 | - React (from `../node_modules/react-native/`) 455 | - React-callinvoker (from `../node_modules/react-native/ReactCommon/callinvoker`) 456 | - React-Codegen (from `build/generated/ios`) 457 | - React-Core (from `../node_modules/react-native/`) 458 | - React-Core/DevSupport (from `../node_modules/react-native/`) 459 | - React-Core/RCTWebSocket (from `../node_modules/react-native/`) 460 | - React-CoreModules (from `../node_modules/react-native/React/CoreModules`) 461 | - React-cxxreact (from `../node_modules/react-native/ReactCommon/cxxreact`) 462 | - React-hermes (from `../node_modules/react-native/ReactCommon/hermes`) 463 | - React-jsi (from `../node_modules/react-native/ReactCommon/jsi`) 464 | - React-jsiexecutor (from `../node_modules/react-native/ReactCommon/jsiexecutor`) 465 | - React-jsinspector (from `../node_modules/react-native/ReactCommon/jsinspector`) 466 | - React-logger (from `../node_modules/react-native/ReactCommon/logger`) 467 | - React-perflogger (from `../node_modules/react-native/ReactCommon/reactperflogger`) 468 | - React-RCTActionSheet (from `../node_modules/react-native/Libraries/ActionSheetIOS`) 469 | - React-RCTAnimation (from `../node_modules/react-native/Libraries/NativeAnimation`) 470 | - React-RCTAppDelegate (from `../node_modules/react-native/Libraries/AppDelegate`) 471 | - React-RCTBlob (from `../node_modules/react-native/Libraries/Blob`) 472 | - React-RCTImage (from `../node_modules/react-native/Libraries/Image`) 473 | - React-RCTLinking (from `../node_modules/react-native/Libraries/LinkingIOS`) 474 | - React-RCTNetwork (from `../node_modules/react-native/Libraries/Network`) 475 | - React-RCTSettings (from `../node_modules/react-native/Libraries/Settings`) 476 | - React-RCTText (from `../node_modules/react-native/Libraries/Text`) 477 | - React-RCTVibration (from `../node_modules/react-native/Libraries/Vibration`) 478 | - React-runtimeexecutor (from `../node_modules/react-native/ReactCommon/runtimeexecutor`) 479 | - ReactCommon/turbomodule/core (from `../node_modules/react-native/ReactCommon`) 480 | - Yoga (from `../node_modules/react-native/ReactCommon/yoga`) 481 | 482 | SPEC REPOS: 483 | trunk: 484 | - CocoaAsyncSocket 485 | - Flipper 486 | - Flipper-Boost-iOSX 487 | - Flipper-DoubleConversion 488 | - Flipper-Fmt 489 | - Flipper-Folly 490 | - Flipper-Glog 491 | - Flipper-PeerTalk 492 | - Flipper-RSocket 493 | - FlipperKit 494 | - fmt 495 | - libevent 496 | - OpenSSL-Universal 497 | - SocketRocket 498 | - YogaKit 499 | 500 | EXTERNAL SOURCES: 501 | boost: 502 | :podspec: "../node_modules/react-native/third-party-podspecs/boost.podspec" 503 | DoubleConversion: 504 | :podspec: "../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec" 505 | FBLazyVector: 506 | :path: "../node_modules/react-native/Libraries/FBLazyVector" 507 | FBReactNativeSpec: 508 | :path: "../node_modules/react-native/React/FBReactNativeSpec" 509 | glog: 510 | :podspec: "../node_modules/react-native/third-party-podspecs/glog.podspec" 511 | hermes-engine: 512 | :podspec: "../node_modules/react-native/sdks/hermes-engine/hermes-engine.podspec" 513 | RCT-Folly: 514 | :podspec: "../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec" 515 | RCTRequired: 516 | :path: "../node_modules/react-native/Libraries/RCTRequired" 517 | RCTTypeSafety: 518 | :path: "../node_modules/react-native/Libraries/TypeSafety" 519 | React: 520 | :path: "../node_modules/react-native/" 521 | React-callinvoker: 522 | :path: "../node_modules/react-native/ReactCommon/callinvoker" 523 | React-Codegen: 524 | :path: build/generated/ios 525 | React-Core: 526 | :path: "../node_modules/react-native/" 527 | React-CoreModules: 528 | :path: "../node_modules/react-native/React/CoreModules" 529 | React-cxxreact: 530 | :path: "../node_modules/react-native/ReactCommon/cxxreact" 531 | React-hermes: 532 | :path: "../node_modules/react-native/ReactCommon/hermes" 533 | React-jsi: 534 | :path: "../node_modules/react-native/ReactCommon/jsi" 535 | React-jsiexecutor: 536 | :path: "../node_modules/react-native/ReactCommon/jsiexecutor" 537 | React-jsinspector: 538 | :path: "../node_modules/react-native/ReactCommon/jsinspector" 539 | React-logger: 540 | :path: "../node_modules/react-native/ReactCommon/logger" 541 | React-perflogger: 542 | :path: "../node_modules/react-native/ReactCommon/reactperflogger" 543 | React-RCTActionSheet: 544 | :path: "../node_modules/react-native/Libraries/ActionSheetIOS" 545 | React-RCTAnimation: 546 | :path: "../node_modules/react-native/Libraries/NativeAnimation" 547 | React-RCTAppDelegate: 548 | :path: "../node_modules/react-native/Libraries/AppDelegate" 549 | React-RCTBlob: 550 | :path: "../node_modules/react-native/Libraries/Blob" 551 | React-RCTImage: 552 | :path: "../node_modules/react-native/Libraries/Image" 553 | React-RCTLinking: 554 | :path: "../node_modules/react-native/Libraries/LinkingIOS" 555 | React-RCTNetwork: 556 | :path: "../node_modules/react-native/Libraries/Network" 557 | React-RCTSettings: 558 | :path: "../node_modules/react-native/Libraries/Settings" 559 | React-RCTText: 560 | :path: "../node_modules/react-native/Libraries/Text" 561 | React-RCTVibration: 562 | :path: "../node_modules/react-native/Libraries/Vibration" 563 | React-runtimeexecutor: 564 | :path: "../node_modules/react-native/ReactCommon/runtimeexecutor" 565 | ReactCommon: 566 | :path: "../node_modules/react-native/ReactCommon" 567 | Yoga: 568 | :path: "../node_modules/react-native/ReactCommon/yoga" 569 | 570 | SPEC CHECKSUMS: 571 | boost: 57d2868c099736d80fcd648bf211b4431e51a558 572 | CocoaAsyncSocket: 065fd1e645c7abab64f7a6a2007a48038fdc6a99 573 | DoubleConversion: 5189b271737e1565bdce30deb4a08d647e3f5f54 574 | FBLazyVector: f637f31eacba90d4fdeff3fa41608b8f361c173b 575 | FBReactNativeSpec: 0d9a4f4de7ab614c49e98c00aedfd3bfbda33d59 576 | Flipper: 26fc4b7382499f1281eb8cb921e5c3ad6de91fe0 577 | Flipper-Boost-iOSX: fd1e2b8cbef7e662a122412d7ac5f5bea715403c 578 | Flipper-DoubleConversion: 2dc99b02f658daf147069aad9dbd29d8feb06d30 579 | Flipper-Fmt: 60cbdd92fc254826e61d669a5d87ef7015396a9b 580 | Flipper-Folly: 584845625005ff068a6ebf41f857f468decd26b3 581 | Flipper-Glog: 70c50ce58ddaf67dc35180db05f191692570f446 582 | Flipper-PeerTalk: 116d8f857dc6ef55c7a5a75ea3ceaafe878aadc9 583 | Flipper-RSocket: d9d9ade67cbecf6ac10730304bf5607266dd2541 584 | FlipperKit: cbdee19bdd4e7f05472a66ce290f1b729ba3cb86 585 | fmt: ff9d55029c625d3757ed641535fd4a75fedc7ce9 586 | glog: 04b94705f318337d7ead9e6d17c019bd9b1f6b1b 587 | hermes-engine: 47986d26692ae75ee7a17ab049caee8864f855de 588 | libevent: 4049cae6c81cdb3654a443be001fb9bdceff7913 589 | OpenSSL-Universal: ebc357f1e6bc71fa463ccb2fe676756aff50e88c 590 | RCT-Folly: 424b8c9a7a0b9ab2886ffe9c3b041ef628fd4fb1 591 | RCTRequired: 8af6a32dfc2b65ec82193c2dee6e1011ff22ac2a 592 | RCTTypeSafety: bee9dd161c175896c680d47ef1d9eaacf2b587f4 593 | React: d850475db9ba8006a8b875d79e1e0d6ac8a0f8b6 594 | React-callinvoker: 6a0c75475ddc17c9ed54e4ff0478074a18fd7ab5 595 | React-Codegen: 786571642e87add634e7f4d299c85314ec6cc158 596 | React-Core: 1adfab153f59e4f56e09b97a153089f466d7b8aa 597 | React-CoreModules: 958d236715415d4ccdd5fa35c516cf0356637393 598 | React-cxxreact: 2e7a6283807ce8755c3d501735acd400bec3b5cd 599 | React-hermes: 8102c3112ba32207c3052619be8cfae14bf99d84 600 | React-jsi: dd29264f041a587e91f994e4be97e86c127742b2 601 | React-jsiexecutor: 747911ab5921641b4ed7e4900065896597142125 602 | React-jsinspector: c712f9e3bb9ba4122d6b82b4f906448b8a281580 603 | React-logger: 342f358b8decfbf8f272367f4eacf4b6154061be 604 | React-perflogger: d21f182895de9d1b077f8a3cd00011095c8c9100 605 | React-RCTActionSheet: 0151f83ef92d2a7139bba7dfdbc8066632a6d47b 606 | React-RCTAnimation: 5ec9c0705bb2297549c120fe6473aa3e4a01e215 607 | React-RCTAppDelegate: 9895fd1b6d1176d88c4b10ddc169b2e1300c91f0 608 | React-RCTBlob: f3634eb45b6e7480037655e1ca93d1136ac984dd 609 | React-RCTImage: 3c12cb32dec49549ae62ed6cba4018db43841ffc 610 | React-RCTLinking: 310e930ee335ef25481b4a173d9edb64b77895f9 611 | React-RCTNetwork: b6837841fe88303b0c04c1e3c01992b30f1f5498 612 | React-RCTSettings: 600d91fe25fa7c16b0ff891304082440f2904b89 613 | React-RCTText: a0a19f749088280c6def5397ed6211b811e7eef3 614 | React-RCTVibration: 43ffd976a25f6057a7cf95ea3648ba4e00287f89 615 | React-runtimeexecutor: 7c51ae9d4b3e9608a2366e39ccaa606aa551b9ed 616 | ReactCommon: 85c98ab0a509e70bf5ee5d9715cf68dbf495b84c 617 | SocketRocket: fccef3f9c5cedea1353a9ef6ada904fde10d6608 618 | Yoga: 065f0b74dba4832d6e328238de46eb72c5de9556 619 | YogaKit: f782866e155069a2cca2517aafea43200b01fd5a 620 | 621 | PODFILE CHECKSUM: 446419b91f3d523996e9ca2fa51242b50bd76552 622 | 623 | COCOAPODS: 1.12.1 624 | -------------------------------------------------------------------------------- /example/ios/example.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 54; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 00E356F31AD99517003FC87E /* exampleTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* exampleTests.m */; }; 11 | 0C80B921A6F3F58F76C31292 /* libPods-example.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5DCACB8F33CDC322A6C60F78 /* libPods-example.a */; }; 12 | 13B07FBC1A68108700A75B9A /* AppDelegate.mm in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.mm */; }; 13 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; }; 14 | 13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; }; 15 | 7699B88040F8A987B510C191 /* libPods-example-exampleTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 19F6CBCC0A4E27FBF8BF4A61 /* libPods-example-exampleTests.a */; }; 16 | 81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */; }; 17 | CCD9CF7004C24F1FBA3385D6 /* Roboto-Black.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 9EDB14CD0B274C2E88219462 /* Roboto-Black.ttf */; }; 18 | 0E4663D11FC1402595AD1F46 /* Roboto-BlackItalic.ttf in Resources */ = {isa = PBXBuildFile; fileRef = A158AB4FF5504899B18256F0 /* Roboto-BlackItalic.ttf */; }; 19 | B5C0D0EB251444CA9A09C934 /* Roboto-Bold.ttf in Resources */ = {isa = PBXBuildFile; fileRef = AD9F44C357A64CD8A34354C5 /* Roboto-Bold.ttf */; }; 20 | FEA87E9CFEB045C498767D64 /* Roboto-BoldItalic.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 7963D977278041D7B71D2601 /* Roboto-BoldItalic.ttf */; }; 21 | 41C6C3EFEAEB41589CBF80EC /* Roboto-Italic.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 4E388F40B7534D5E87D1C0B9 /* Roboto-Italic.ttf */; }; 22 | 22473C841C324F2FAB6A8FA5 /* Roboto-Light.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 2ADDBEE2E64E4D73BEF8C9D7 /* Roboto-Light.ttf */; }; 23 | A15EAB09666D49BA992568D3 /* Roboto-LightItalic.ttf in Resources */ = {isa = PBXBuildFile; fileRef = B34EC5F53D104771901A8A98 /* Roboto-LightItalic.ttf */; }; 24 | 0E68023910E14D2398062C8C /* Roboto-Medium.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 45A9B1ACC3D14D33BD24CCD3 /* Roboto-Medium.ttf */; }; 25 | AB07691273E945F69A1BC5A8 /* Roboto-MediumItalic.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 34AE746E0FE2414FBED8EF18 /* Roboto-MediumItalic.ttf */; }; 26 | FDDF3B92ABCC4A4EA4CBDC40 /* Roboto-Regular.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 13A1CF828C824B138F27F216 /* Roboto-Regular.ttf */; }; 27 | E6D23EBC2D8044FD9EE0AD1E /* Roboto-Thin.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 99A080CDE338459CBE21CABD /* Roboto-Thin.ttf */; }; 28 | 39688CE1FE3C4D719AB8C383 /* Roboto-ThinItalic.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 50E6A62DCF9C4BA090485F54 /* Roboto-ThinItalic.ttf */; }; 29 | /* End PBXBuildFile section */ 30 | 31 | /* Begin PBXContainerItemProxy section */ 32 | 00E356F41AD99517003FC87E /* PBXContainerItemProxy */ = { 33 | isa = PBXContainerItemProxy; 34 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */; 35 | proxyType = 1; 36 | remoteGlobalIDString = 13B07F861A680F5B00A75B9A; 37 | remoteInfo = example; 38 | }; 39 | /* End PBXContainerItemProxy section */ 40 | 41 | /* Begin PBXFileReference section */ 42 | 00E356EE1AD99517003FC87E /* exampleTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = exampleTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 43 | 00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 44 | 00E356F21AD99517003FC87E /* exampleTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = exampleTests.m; sourceTree = ""; }; 45 | 13B07F961A680F5B00A75B9A /* example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = example.app; sourceTree = BUILT_PRODUCTS_DIR; }; 46 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = example/AppDelegate.h; sourceTree = ""; }; 47 | 13B07FB01A68108700A75B9A /* AppDelegate.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; name = AppDelegate.mm; path = example/AppDelegate.mm; sourceTree = ""; }; 48 | 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = example/Images.xcassets; sourceTree = ""; }; 49 | 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = example/Info.plist; sourceTree = ""; }; 50 | 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = example/main.m; sourceTree = ""; }; 51 | 19F6CBCC0A4E27FBF8BF4A61 /* libPods-example-exampleTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-example-exampleTests.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 52 | 3B4392A12AC88292D35C810B /* Pods-example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-example.debug.xcconfig"; path = "Target Support Files/Pods-example/Pods-example.debug.xcconfig"; sourceTree = ""; }; 53 | 5709B34CF0A7D63546082F79 /* Pods-example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-example.release.xcconfig"; path = "Target Support Files/Pods-example/Pods-example.release.xcconfig"; sourceTree = ""; }; 54 | 5B7EB9410499542E8C5724F5 /* Pods-example-exampleTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-example-exampleTests.debug.xcconfig"; path = "Target Support Files/Pods-example-exampleTests/Pods-example-exampleTests.debug.xcconfig"; sourceTree = ""; }; 55 | 5DCACB8F33CDC322A6C60F78 /* libPods-example.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-example.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 56 | 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = LaunchScreen.storyboard; path = example/LaunchScreen.storyboard; sourceTree = ""; }; 57 | 89C6BE57DB24E9ADA2F236DE /* Pods-example-exampleTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-example-exampleTests.release.xcconfig"; path = "Target Support Files/Pods-example-exampleTests/Pods-example-exampleTests.release.xcconfig"; sourceTree = ""; }; 58 | ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; }; 59 | 9EDB14CD0B274C2E88219462 /* Roboto-Black.ttf */ = {isa = PBXFileReference; name = "Roboto-Black.ttf"; path = "../assets/fonts/Roboto/Roboto-Black.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; 60 | A158AB4FF5504899B18256F0 /* Roboto-BlackItalic.ttf */ = {isa = PBXFileReference; name = "Roboto-BlackItalic.ttf"; path = "../assets/fonts/Roboto/Roboto-BlackItalic.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; 61 | AD9F44C357A64CD8A34354C5 /* Roboto-Bold.ttf */ = {isa = PBXFileReference; name = "Roboto-Bold.ttf"; path = "../assets/fonts/Roboto/Roboto-Bold.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; 62 | 7963D977278041D7B71D2601 /* Roboto-BoldItalic.ttf */ = {isa = PBXFileReference; name = "Roboto-BoldItalic.ttf"; path = "../assets/fonts/Roboto/Roboto-BoldItalic.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; 63 | 4E388F40B7534D5E87D1C0B9 /* Roboto-Italic.ttf */ = {isa = PBXFileReference; name = "Roboto-Italic.ttf"; path = "../assets/fonts/Roboto/Roboto-Italic.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; 64 | 2ADDBEE2E64E4D73BEF8C9D7 /* Roboto-Light.ttf */ = {isa = PBXFileReference; name = "Roboto-Light.ttf"; path = "../assets/fonts/Roboto/Roboto-Light.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; 65 | B34EC5F53D104771901A8A98 /* Roboto-LightItalic.ttf */ = {isa = PBXFileReference; name = "Roboto-LightItalic.ttf"; path = "../assets/fonts/Roboto/Roboto-LightItalic.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; 66 | 45A9B1ACC3D14D33BD24CCD3 /* Roboto-Medium.ttf */ = {isa = PBXFileReference; name = "Roboto-Medium.ttf"; path = "../assets/fonts/Roboto/Roboto-Medium.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; 67 | 34AE746E0FE2414FBED8EF18 /* Roboto-MediumItalic.ttf */ = {isa = PBXFileReference; name = "Roboto-MediumItalic.ttf"; path = "../assets/fonts/Roboto/Roboto-MediumItalic.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; 68 | 13A1CF828C824B138F27F216 /* Roboto-Regular.ttf */ = {isa = PBXFileReference; name = "Roboto-Regular.ttf"; path = "../assets/fonts/Roboto/Roboto-Regular.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; 69 | 99A080CDE338459CBE21CABD /* Roboto-Thin.ttf */ = {isa = PBXFileReference; name = "Roboto-Thin.ttf"; path = "../assets/fonts/Roboto/Roboto-Thin.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; 70 | 50E6A62DCF9C4BA090485F54 /* Roboto-ThinItalic.ttf */ = {isa = PBXFileReference; name = "Roboto-ThinItalic.ttf"; path = "../assets/fonts/Roboto/Roboto-ThinItalic.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; 71 | /* End PBXFileReference section */ 72 | 73 | /* Begin PBXFrameworksBuildPhase section */ 74 | 00E356EB1AD99517003FC87E /* Frameworks */ = { 75 | isa = PBXFrameworksBuildPhase; 76 | buildActionMask = 2147483647; 77 | files = ( 78 | 7699B88040F8A987B510C191 /* libPods-example-exampleTests.a in Frameworks */, 79 | ); 80 | runOnlyForDeploymentPostprocessing = 0; 81 | }; 82 | 13B07F8C1A680F5B00A75B9A /* Frameworks */ = { 83 | isa = PBXFrameworksBuildPhase; 84 | buildActionMask = 2147483647; 85 | files = ( 86 | 0C80B921A6F3F58F76C31292 /* libPods-example.a in Frameworks */, 87 | ); 88 | runOnlyForDeploymentPostprocessing = 0; 89 | }; 90 | /* End PBXFrameworksBuildPhase section */ 91 | 92 | /* Begin PBXGroup section */ 93 | 00E356EF1AD99517003FC87E /* exampleTests */ = { 94 | isa = PBXGroup; 95 | children = ( 96 | 00E356F21AD99517003FC87E /* exampleTests.m */, 97 | 00E356F01AD99517003FC87E /* Supporting Files */, 98 | ); 99 | path = exampleTests; 100 | sourceTree = ""; 101 | }; 102 | 00E356F01AD99517003FC87E /* Supporting Files */ = { 103 | isa = PBXGroup; 104 | children = ( 105 | 00E356F11AD99517003FC87E /* Info.plist */, 106 | ); 107 | name = "Supporting Files"; 108 | sourceTree = ""; 109 | }; 110 | 13B07FAE1A68108700A75B9A /* example */ = { 111 | isa = PBXGroup; 112 | children = ( 113 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */, 114 | 13B07FB01A68108700A75B9A /* AppDelegate.mm */, 115 | 13B07FB51A68108700A75B9A /* Images.xcassets */, 116 | 13B07FB61A68108700A75B9A /* Info.plist */, 117 | 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */, 118 | 13B07FB71A68108700A75B9A /* main.m */, 119 | ); 120 | name = example; 121 | sourceTree = ""; 122 | }; 123 | 2D16E6871FA4F8E400B85C8A /* Frameworks */ = { 124 | isa = PBXGroup; 125 | children = ( 126 | ED297162215061F000B7C4FE /* JavaScriptCore.framework */, 127 | 5DCACB8F33CDC322A6C60F78 /* libPods-example.a */, 128 | 19F6CBCC0A4E27FBF8BF4A61 /* libPods-example-exampleTests.a */, 129 | ); 130 | name = Frameworks; 131 | sourceTree = ""; 132 | }; 133 | 832341AE1AAA6A7D00B99B32 /* Libraries */ = { 134 | isa = PBXGroup; 135 | children = ( 136 | ); 137 | name = Libraries; 138 | sourceTree = ""; 139 | }; 140 | 83CBB9F61A601CBA00E9B192 = { 141 | isa = PBXGroup; 142 | children = ( 143 | 13B07FAE1A68108700A75B9A /* example */, 144 | 832341AE1AAA6A7D00B99B32 /* Libraries */, 145 | 00E356EF1AD99517003FC87E /* exampleTests */, 146 | 83CBBA001A601CBA00E9B192 /* Products */, 147 | 2D16E6871FA4F8E400B85C8A /* Frameworks */, 148 | BBD78D7AC51CEA395F1C20DB /* Pods */, 149 | 66837CF5CBAA464CBFD310E6 /* Resources */, 150 | ); 151 | indentWidth = 2; 152 | sourceTree = ""; 153 | tabWidth = 2; 154 | usesTabs = 0; 155 | }; 156 | 83CBBA001A601CBA00E9B192 /* Products */ = { 157 | isa = PBXGroup; 158 | children = ( 159 | 13B07F961A680F5B00A75B9A /* example.app */, 160 | 00E356EE1AD99517003FC87E /* exampleTests.xctest */, 161 | ); 162 | name = Products; 163 | sourceTree = ""; 164 | }; 165 | BBD78D7AC51CEA395F1C20DB /* Pods */ = { 166 | isa = PBXGroup; 167 | children = ( 168 | 3B4392A12AC88292D35C810B /* Pods-example.debug.xcconfig */, 169 | 5709B34CF0A7D63546082F79 /* Pods-example.release.xcconfig */, 170 | 5B7EB9410499542E8C5724F5 /* Pods-example-exampleTests.debug.xcconfig */, 171 | 89C6BE57DB24E9ADA2F236DE /* Pods-example-exampleTests.release.xcconfig */, 172 | ); 173 | path = Pods; 174 | sourceTree = ""; 175 | }; 176 | 66837CF5CBAA464CBFD310E6 /* Resources */ = { 177 | isa = "PBXGroup"; 178 | children = ( 179 | 9EDB14CD0B274C2E88219462 /* Roboto-Black.ttf */, 180 | A158AB4FF5504899B18256F0 /* Roboto-BlackItalic.ttf */, 181 | AD9F44C357A64CD8A34354C5 /* Roboto-Bold.ttf */, 182 | 7963D977278041D7B71D2601 /* Roboto-BoldItalic.ttf */, 183 | 4E388F40B7534D5E87D1C0B9 /* Roboto-Italic.ttf */, 184 | 2ADDBEE2E64E4D73BEF8C9D7 /* Roboto-Light.ttf */, 185 | B34EC5F53D104771901A8A98 /* Roboto-LightItalic.ttf */, 186 | 45A9B1ACC3D14D33BD24CCD3 /* Roboto-Medium.ttf */, 187 | 34AE746E0FE2414FBED8EF18 /* Roboto-MediumItalic.ttf */, 188 | 13A1CF828C824B138F27F216 /* Roboto-Regular.ttf */, 189 | 99A080CDE338459CBE21CABD /* Roboto-Thin.ttf */, 190 | 50E6A62DCF9C4BA090485F54 /* Roboto-ThinItalic.ttf */, 191 | ); 192 | name = Resources; 193 | sourceTree = ""; 194 | path = ""; 195 | }; 196 | /* End PBXGroup section */ 197 | 198 | /* Begin PBXNativeTarget section */ 199 | 00E356ED1AD99517003FC87E /* exampleTests */ = { 200 | isa = PBXNativeTarget; 201 | buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "exampleTests" */; 202 | buildPhases = ( 203 | A55EABD7B0C7F3A422A6CC61 /* [CP] Check Pods Manifest.lock */, 204 | 00E356EA1AD99517003FC87E /* Sources */, 205 | 00E356EB1AD99517003FC87E /* Frameworks */, 206 | 00E356EC1AD99517003FC87E /* Resources */, 207 | C59DA0FBD6956966B86A3779 /* [CP] Embed Pods Frameworks */, 208 | F6A41C54EA430FDDC6A6ED99 /* [CP] Copy Pods Resources */, 209 | ); 210 | buildRules = ( 211 | ); 212 | dependencies = ( 213 | 00E356F51AD99517003FC87E /* PBXTargetDependency */, 214 | ); 215 | name = exampleTests; 216 | productName = exampleTests; 217 | productReference = 00E356EE1AD99517003FC87E /* exampleTests.xctest */; 218 | productType = "com.apple.product-type.bundle.unit-test"; 219 | }; 220 | 13B07F861A680F5B00A75B9A /* example */ = { 221 | isa = PBXNativeTarget; 222 | buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "example" */; 223 | buildPhases = ( 224 | C38B50BA6285516D6DCD4F65 /* [CP] Check Pods Manifest.lock */, 225 | FD10A7F022414F080027D42C /* Start Packager */, 226 | 13B07F871A680F5B00A75B9A /* Sources */, 227 | 13B07F8C1A680F5B00A75B9A /* Frameworks */, 228 | 13B07F8E1A680F5B00A75B9A /* Resources */, 229 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */, 230 | 00EEFC60759A1932668264C0 /* [CP] Embed Pods Frameworks */, 231 | E235C05ADACE081382539298 /* [CP] Copy Pods Resources */, 232 | ); 233 | buildRules = ( 234 | ); 235 | dependencies = ( 236 | ); 237 | name = example; 238 | productName = example; 239 | productReference = 13B07F961A680F5B00A75B9A /* example.app */; 240 | productType = "com.apple.product-type.application"; 241 | }; 242 | /* End PBXNativeTarget section */ 243 | 244 | /* Begin PBXProject section */ 245 | 83CBB9F71A601CBA00E9B192 /* Project object */ = { 246 | isa = PBXProject; 247 | attributes = { 248 | LastUpgradeCheck = 1210; 249 | TargetAttributes = { 250 | 00E356ED1AD99517003FC87E = { 251 | CreatedOnToolsVersion = 6.2; 252 | TestTargetID = 13B07F861A680F5B00A75B9A; 253 | }; 254 | 13B07F861A680F5B00A75B9A = { 255 | LastSwiftMigration = 1120; 256 | }; 257 | }; 258 | }; 259 | buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "example" */; 260 | compatibilityVersion = "Xcode 12.0"; 261 | developmentRegion = en; 262 | hasScannedForEncodings = 0; 263 | knownRegions = ( 264 | en, 265 | Base, 266 | ); 267 | mainGroup = 83CBB9F61A601CBA00E9B192; 268 | productRefGroup = 83CBBA001A601CBA00E9B192 /* Products */; 269 | projectDirPath = ""; 270 | projectRoot = ""; 271 | targets = ( 272 | 13B07F861A680F5B00A75B9A /* example */, 273 | 00E356ED1AD99517003FC87E /* exampleTests */, 274 | ); 275 | }; 276 | /* End PBXProject section */ 277 | 278 | /* Begin PBXResourcesBuildPhase section */ 279 | 00E356EC1AD99517003FC87E /* Resources */ = { 280 | isa = PBXResourcesBuildPhase; 281 | buildActionMask = 2147483647; 282 | files = ( 283 | ); 284 | runOnlyForDeploymentPostprocessing = 0; 285 | }; 286 | 13B07F8E1A680F5B00A75B9A /* Resources */ = { 287 | isa = PBXResourcesBuildPhase; 288 | buildActionMask = 2147483647; 289 | files = ( 290 | 81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */, 291 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */, 292 | CCD9CF7004C24F1FBA3385D6 /* Roboto-Black.ttf in Resources */, 293 | 0E4663D11FC1402595AD1F46 /* Roboto-BlackItalic.ttf in Resources */, 294 | B5C0D0EB251444CA9A09C934 /* Roboto-Bold.ttf in Resources */, 295 | FEA87E9CFEB045C498767D64 /* Roboto-BoldItalic.ttf in Resources */, 296 | 41C6C3EFEAEB41589CBF80EC /* Roboto-Italic.ttf in Resources */, 297 | 22473C841C324F2FAB6A8FA5 /* Roboto-Light.ttf in Resources */, 298 | A15EAB09666D49BA992568D3 /* Roboto-LightItalic.ttf in Resources */, 299 | 0E68023910E14D2398062C8C /* Roboto-Medium.ttf in Resources */, 300 | AB07691273E945F69A1BC5A8 /* Roboto-MediumItalic.ttf in Resources */, 301 | FDDF3B92ABCC4A4EA4CBDC40 /* Roboto-Regular.ttf in Resources */, 302 | E6D23EBC2D8044FD9EE0AD1E /* Roboto-Thin.ttf in Resources */, 303 | 39688CE1FE3C4D719AB8C383 /* Roboto-ThinItalic.ttf in Resources */, 304 | ); 305 | runOnlyForDeploymentPostprocessing = 0; 306 | }; 307 | /* End PBXResourcesBuildPhase section */ 308 | 309 | /* Begin PBXShellScriptBuildPhase section */ 310 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */ = { 311 | isa = PBXShellScriptBuildPhase; 312 | buildActionMask = 2147483647; 313 | files = ( 314 | ); 315 | inputPaths = ( 316 | "$(SRCROOT)/.xcode.env.local", 317 | "$(SRCROOT)/.xcode.env", 318 | ); 319 | name = "Bundle React Native code and images"; 320 | outputPaths = ( 321 | ); 322 | runOnlyForDeploymentPostprocessing = 0; 323 | shellPath = /bin/sh; 324 | shellScript = "set -e\n\nWITH_ENVIRONMENT=\"../node_modules/react-native/scripts/xcode/with-environment.sh\"\nREACT_NATIVE_XCODE=\"../node_modules/react-native/scripts/react-native-xcode.sh\"\n\n/bin/sh -c \"$WITH_ENVIRONMENT $REACT_NATIVE_XCODE\"\n"; 325 | }; 326 | 00EEFC60759A1932668264C0 /* [CP] Embed Pods Frameworks */ = { 327 | isa = PBXShellScriptBuildPhase; 328 | buildActionMask = 2147483647; 329 | files = ( 330 | ); 331 | inputFileListPaths = ( 332 | "${PODS_ROOT}/Target Support Files/Pods-example/Pods-example-frameworks-${CONFIGURATION}-input-files.xcfilelist", 333 | ); 334 | name = "[CP] Embed Pods Frameworks"; 335 | outputFileListPaths = ( 336 | "${PODS_ROOT}/Target Support Files/Pods-example/Pods-example-frameworks-${CONFIGURATION}-output-files.xcfilelist", 337 | ); 338 | runOnlyForDeploymentPostprocessing = 0; 339 | shellPath = /bin/sh; 340 | shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-example/Pods-example-frameworks.sh\"\n"; 341 | showEnvVarsInLog = 0; 342 | }; 343 | A55EABD7B0C7F3A422A6CC61 /* [CP] Check Pods Manifest.lock */ = { 344 | isa = PBXShellScriptBuildPhase; 345 | buildActionMask = 2147483647; 346 | files = ( 347 | ); 348 | inputFileListPaths = ( 349 | ); 350 | inputPaths = ( 351 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 352 | "${PODS_ROOT}/Manifest.lock", 353 | ); 354 | name = "[CP] Check Pods Manifest.lock"; 355 | outputFileListPaths = ( 356 | ); 357 | outputPaths = ( 358 | "$(DERIVED_FILE_DIR)/Pods-example-exampleTests-checkManifestLockResult.txt", 359 | ); 360 | runOnlyForDeploymentPostprocessing = 0; 361 | shellPath = /bin/sh; 362 | 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"; 363 | showEnvVarsInLog = 0; 364 | }; 365 | C38B50BA6285516D6DCD4F65 /* [CP] Check Pods Manifest.lock */ = { 366 | isa = PBXShellScriptBuildPhase; 367 | buildActionMask = 2147483647; 368 | files = ( 369 | ); 370 | inputFileListPaths = ( 371 | ); 372 | inputPaths = ( 373 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 374 | "${PODS_ROOT}/Manifest.lock", 375 | ); 376 | name = "[CP] Check Pods Manifest.lock"; 377 | outputFileListPaths = ( 378 | ); 379 | outputPaths = ( 380 | "$(DERIVED_FILE_DIR)/Pods-example-checkManifestLockResult.txt", 381 | ); 382 | runOnlyForDeploymentPostprocessing = 0; 383 | shellPath = /bin/sh; 384 | 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"; 385 | showEnvVarsInLog = 0; 386 | }; 387 | C59DA0FBD6956966B86A3779 /* [CP] Embed Pods Frameworks */ = { 388 | isa = PBXShellScriptBuildPhase; 389 | buildActionMask = 2147483647; 390 | files = ( 391 | ); 392 | inputFileListPaths = ( 393 | "${PODS_ROOT}/Target Support Files/Pods-example-exampleTests/Pods-example-exampleTests-frameworks-${CONFIGURATION}-input-files.xcfilelist", 394 | ); 395 | name = "[CP] Embed Pods Frameworks"; 396 | outputFileListPaths = ( 397 | "${PODS_ROOT}/Target Support Files/Pods-example-exampleTests/Pods-example-exampleTests-frameworks-${CONFIGURATION}-output-files.xcfilelist", 398 | ); 399 | runOnlyForDeploymentPostprocessing = 0; 400 | shellPath = /bin/sh; 401 | shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-example-exampleTests/Pods-example-exampleTests-frameworks.sh\"\n"; 402 | showEnvVarsInLog = 0; 403 | }; 404 | E235C05ADACE081382539298 /* [CP] Copy Pods Resources */ = { 405 | isa = PBXShellScriptBuildPhase; 406 | buildActionMask = 2147483647; 407 | files = ( 408 | ); 409 | inputFileListPaths = ( 410 | "${PODS_ROOT}/Target Support Files/Pods-example/Pods-example-resources-${CONFIGURATION}-input-files.xcfilelist", 411 | ); 412 | name = "[CP] Copy Pods Resources"; 413 | outputFileListPaths = ( 414 | "${PODS_ROOT}/Target Support Files/Pods-example/Pods-example-resources-${CONFIGURATION}-output-files.xcfilelist", 415 | ); 416 | runOnlyForDeploymentPostprocessing = 0; 417 | shellPath = /bin/sh; 418 | shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-example/Pods-example-resources.sh\"\n"; 419 | showEnvVarsInLog = 0; 420 | }; 421 | F6A41C54EA430FDDC6A6ED99 /* [CP] Copy Pods Resources */ = { 422 | isa = PBXShellScriptBuildPhase; 423 | buildActionMask = 2147483647; 424 | files = ( 425 | ); 426 | inputFileListPaths = ( 427 | "${PODS_ROOT}/Target Support Files/Pods-example-exampleTests/Pods-example-exampleTests-resources-${CONFIGURATION}-input-files.xcfilelist", 428 | ); 429 | name = "[CP] Copy Pods Resources"; 430 | outputFileListPaths = ( 431 | "${PODS_ROOT}/Target Support Files/Pods-example-exampleTests/Pods-example-exampleTests-resources-${CONFIGURATION}-output-files.xcfilelist", 432 | ); 433 | runOnlyForDeploymentPostprocessing = 0; 434 | shellPath = /bin/sh; 435 | shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-example-exampleTests/Pods-example-exampleTests-resources.sh\"\n"; 436 | showEnvVarsInLog = 0; 437 | }; 438 | FD10A7F022414F080027D42C /* Start Packager */ = { 439 | isa = PBXShellScriptBuildPhase; 440 | buildActionMask = 2147483647; 441 | files = ( 442 | ); 443 | inputFileListPaths = ( 444 | ); 445 | inputPaths = ( 446 | ); 447 | name = "Start Packager"; 448 | outputFileListPaths = ( 449 | ); 450 | outputPaths = ( 451 | ); 452 | runOnlyForDeploymentPostprocessing = 0; 453 | shellPath = /bin/sh; 454 | 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"; 455 | showEnvVarsInLog = 0; 456 | }; 457 | /* End PBXShellScriptBuildPhase section */ 458 | 459 | /* Begin PBXSourcesBuildPhase section */ 460 | 00E356EA1AD99517003FC87E /* Sources */ = { 461 | isa = PBXSourcesBuildPhase; 462 | buildActionMask = 2147483647; 463 | files = ( 464 | 00E356F31AD99517003FC87E /* exampleTests.m in Sources */, 465 | ); 466 | runOnlyForDeploymentPostprocessing = 0; 467 | }; 468 | 13B07F871A680F5B00A75B9A /* Sources */ = { 469 | isa = PBXSourcesBuildPhase; 470 | buildActionMask = 2147483647; 471 | files = ( 472 | 13B07FBC1A68108700A75B9A /* AppDelegate.mm in Sources */, 473 | 13B07FC11A68108700A75B9A /* main.m in Sources */, 474 | ); 475 | runOnlyForDeploymentPostprocessing = 0; 476 | }; 477 | /* End PBXSourcesBuildPhase section */ 478 | 479 | /* Begin PBXTargetDependency section */ 480 | 00E356F51AD99517003FC87E /* PBXTargetDependency */ = { 481 | isa = PBXTargetDependency; 482 | target = 13B07F861A680F5B00A75B9A /* example */; 483 | targetProxy = 00E356F41AD99517003FC87E /* PBXContainerItemProxy */; 484 | }; 485 | /* End PBXTargetDependency section */ 486 | 487 | /* Begin XCBuildConfiguration section */ 488 | 00E356F61AD99517003FC87E /* Debug */ = { 489 | isa = XCBuildConfiguration; 490 | baseConfigurationReference = 5B7EB9410499542E8C5724F5 /* Pods-example-exampleTests.debug.xcconfig */; 491 | buildSettings = { 492 | BUNDLE_LOADER = "$(TEST_HOST)"; 493 | GCC_PREPROCESSOR_DEFINITIONS = ( 494 | "DEBUG=1", 495 | "$(inherited)", 496 | ); 497 | INFOPLIST_FILE = exampleTests/Info.plist; 498 | IPHONEOS_DEPLOYMENT_TARGET = 12.4; 499 | LD_RUNPATH_SEARCH_PATHS = ( 500 | "$(inherited)", 501 | "@executable_path/Frameworks", 502 | "@loader_path/Frameworks", 503 | ); 504 | OTHER_LDFLAGS = ( 505 | "-ObjC", 506 | "-lc++", 507 | "$(inherited)", 508 | ); 509 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; 510 | PRODUCT_NAME = "$(TARGET_NAME)"; 511 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/example.app/example"; 512 | }; 513 | name = Debug; 514 | }; 515 | 00E356F71AD99517003FC87E /* Release */ = { 516 | isa = XCBuildConfiguration; 517 | baseConfigurationReference = 89C6BE57DB24E9ADA2F236DE /* Pods-example-exampleTests.release.xcconfig */; 518 | buildSettings = { 519 | BUNDLE_LOADER = "$(TEST_HOST)"; 520 | COPY_PHASE_STRIP = NO; 521 | INFOPLIST_FILE = exampleTests/Info.plist; 522 | IPHONEOS_DEPLOYMENT_TARGET = 12.4; 523 | LD_RUNPATH_SEARCH_PATHS = ( 524 | "$(inherited)", 525 | "@executable_path/Frameworks", 526 | "@loader_path/Frameworks", 527 | ); 528 | OTHER_LDFLAGS = ( 529 | "-ObjC", 530 | "-lc++", 531 | "$(inherited)", 532 | ); 533 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; 534 | PRODUCT_NAME = "$(TARGET_NAME)"; 535 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/example.app/example"; 536 | }; 537 | name = Release; 538 | }; 539 | 13B07F941A680F5B00A75B9A /* Debug */ = { 540 | isa = XCBuildConfiguration; 541 | baseConfigurationReference = 3B4392A12AC88292D35C810B /* Pods-example.debug.xcconfig */; 542 | buildSettings = { 543 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 544 | CLANG_ENABLE_MODULES = YES; 545 | CURRENT_PROJECT_VERSION = 1; 546 | ENABLE_BITCODE = NO; 547 | INFOPLIST_FILE = example/Info.plist; 548 | LD_RUNPATH_SEARCH_PATHS = ( 549 | "$(inherited)", 550 | "@executable_path/Frameworks", 551 | ); 552 | MARKETING_VERSION = 1.0; 553 | OTHER_LDFLAGS = ( 554 | "$(inherited)", 555 | "-ObjC", 556 | "-lc++", 557 | ); 558 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; 559 | PRODUCT_NAME = example; 560 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 561 | SWIFT_VERSION = 5.0; 562 | VERSIONING_SYSTEM = "apple-generic"; 563 | }; 564 | name = Debug; 565 | }; 566 | 13B07F951A680F5B00A75B9A /* Release */ = { 567 | isa = XCBuildConfiguration; 568 | baseConfigurationReference = 5709B34CF0A7D63546082F79 /* Pods-example.release.xcconfig */; 569 | buildSettings = { 570 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 571 | CLANG_ENABLE_MODULES = YES; 572 | CURRENT_PROJECT_VERSION = 1; 573 | INFOPLIST_FILE = example/Info.plist; 574 | LD_RUNPATH_SEARCH_PATHS = ( 575 | "$(inherited)", 576 | "@executable_path/Frameworks", 577 | ); 578 | MARKETING_VERSION = 1.0; 579 | OTHER_LDFLAGS = ( 580 | "$(inherited)", 581 | "-ObjC", 582 | "-lc++", 583 | ); 584 | PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)"; 585 | PRODUCT_NAME = example; 586 | SWIFT_VERSION = 5.0; 587 | VERSIONING_SYSTEM = "apple-generic"; 588 | }; 589 | name = Release; 590 | }; 591 | 83CBBA201A601CBA00E9B192 /* Debug */ = { 592 | isa = XCBuildConfiguration; 593 | buildSettings = { 594 | ALWAYS_SEARCH_USER_PATHS = NO; 595 | CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; 596 | CLANG_CXX_LANGUAGE_STANDARD = "c++17"; 597 | CLANG_CXX_LIBRARY = "libc++"; 598 | CLANG_ENABLE_MODULES = YES; 599 | CLANG_ENABLE_OBJC_ARC = YES; 600 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 601 | CLANG_WARN_BOOL_CONVERSION = YES; 602 | CLANG_WARN_COMMA = YES; 603 | CLANG_WARN_CONSTANT_CONVERSION = YES; 604 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 605 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 606 | CLANG_WARN_EMPTY_BODY = YES; 607 | CLANG_WARN_ENUM_CONVERSION = YES; 608 | CLANG_WARN_INFINITE_RECURSION = YES; 609 | CLANG_WARN_INT_CONVERSION = YES; 610 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 611 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 612 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 613 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 614 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; 615 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 616 | CLANG_WARN_STRICT_PROTOTYPES = YES; 617 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 618 | CLANG_WARN_UNREACHABLE_CODE = YES; 619 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 620 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 621 | COPY_PHASE_STRIP = NO; 622 | ENABLE_STRICT_OBJC_MSGSEND = YES; 623 | ENABLE_TESTABILITY = YES; 624 | "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = i386; 625 | GCC_C_LANGUAGE_STANDARD = gnu99; 626 | GCC_DYNAMIC_NO_PIC = NO; 627 | GCC_NO_COMMON_BLOCKS = YES; 628 | GCC_OPTIMIZATION_LEVEL = 0; 629 | GCC_PREPROCESSOR_DEFINITIONS = ( 630 | "DEBUG=1", 631 | "$(inherited)", 632 | ); 633 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 634 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 635 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 636 | GCC_WARN_UNDECLARED_SELECTOR = YES; 637 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 638 | GCC_WARN_UNUSED_FUNCTION = YES; 639 | GCC_WARN_UNUSED_VARIABLE = YES; 640 | IPHONEOS_DEPLOYMENT_TARGET = 12.4; 641 | LD_RUNPATH_SEARCH_PATHS = ( 642 | /usr/lib/swift, 643 | "$(inherited)", 644 | ); 645 | LIBRARY_SEARCH_PATHS = ( 646 | "\"$(SDKROOT)/usr/lib/swift\"", 647 | "\"$(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)\"", 648 | "\"$(inherited)\"", 649 | ); 650 | MTL_ENABLE_DEBUG_INFO = YES; 651 | ONLY_ACTIVE_ARCH = YES; 652 | OTHER_CPLUSPLUSFLAGS = ( 653 | "$(OTHER_CFLAGS)", 654 | "-DFOLLY_NO_CONFIG", 655 | "-DFOLLY_MOBILE=1", 656 | "-DFOLLY_USE_LIBCPP=1", 657 | ); 658 | REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native"; 659 | SDKROOT = iphoneos; 660 | }; 661 | name = Debug; 662 | }; 663 | 83CBBA211A601CBA00E9B192 /* Release */ = { 664 | isa = XCBuildConfiguration; 665 | buildSettings = { 666 | ALWAYS_SEARCH_USER_PATHS = NO; 667 | CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; 668 | CLANG_CXX_LANGUAGE_STANDARD = "c++17"; 669 | CLANG_CXX_LIBRARY = "libc++"; 670 | CLANG_ENABLE_MODULES = YES; 671 | CLANG_ENABLE_OBJC_ARC = YES; 672 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 673 | CLANG_WARN_BOOL_CONVERSION = YES; 674 | CLANG_WARN_COMMA = YES; 675 | CLANG_WARN_CONSTANT_CONVERSION = YES; 676 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 677 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 678 | CLANG_WARN_EMPTY_BODY = YES; 679 | CLANG_WARN_ENUM_CONVERSION = YES; 680 | CLANG_WARN_INFINITE_RECURSION = YES; 681 | CLANG_WARN_INT_CONVERSION = YES; 682 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 683 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 684 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 685 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 686 | CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; 687 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 688 | CLANG_WARN_STRICT_PROTOTYPES = YES; 689 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 690 | CLANG_WARN_UNREACHABLE_CODE = YES; 691 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 692 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 693 | COPY_PHASE_STRIP = YES; 694 | ENABLE_NS_ASSERTIONS = NO; 695 | ENABLE_STRICT_OBJC_MSGSEND = YES; 696 | "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = i386; 697 | GCC_C_LANGUAGE_STANDARD = gnu99; 698 | GCC_NO_COMMON_BLOCKS = YES; 699 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 700 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 701 | GCC_WARN_UNDECLARED_SELECTOR = YES; 702 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 703 | GCC_WARN_UNUSED_FUNCTION = YES; 704 | GCC_WARN_UNUSED_VARIABLE = YES; 705 | IPHONEOS_DEPLOYMENT_TARGET = 12.4; 706 | LD_RUNPATH_SEARCH_PATHS = ( 707 | /usr/lib/swift, 708 | "$(inherited)", 709 | ); 710 | LIBRARY_SEARCH_PATHS = ( 711 | "\"$(SDKROOT)/usr/lib/swift\"", 712 | "\"$(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)\"", 713 | "\"$(inherited)\"", 714 | ); 715 | MTL_ENABLE_DEBUG_INFO = NO; 716 | OTHER_CPLUSPLUSFLAGS = ( 717 | "$(OTHER_CFLAGS)", 718 | "-DFOLLY_NO_CONFIG", 719 | "-DFOLLY_MOBILE=1", 720 | "-DFOLLY_USE_LIBCPP=1", 721 | ); 722 | REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native"; 723 | SDKROOT = iphoneos; 724 | VALIDATE_PRODUCT = YES; 725 | }; 726 | name = Release; 727 | }; 728 | /* End XCBuildConfiguration section */ 729 | 730 | /* Begin XCConfigurationList section */ 731 | 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "exampleTests" */ = { 732 | isa = XCConfigurationList; 733 | buildConfigurations = ( 734 | 00E356F61AD99517003FC87E /* Debug */, 735 | 00E356F71AD99517003FC87E /* Release */, 736 | ); 737 | defaultConfigurationIsVisible = 0; 738 | defaultConfigurationName = Release; 739 | }; 740 | 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "example" */ = { 741 | isa = XCConfigurationList; 742 | buildConfigurations = ( 743 | 13B07F941A680F5B00A75B9A /* Debug */, 744 | 13B07F951A680F5B00A75B9A /* Release */, 745 | ); 746 | defaultConfigurationIsVisible = 0; 747 | defaultConfigurationName = Release; 748 | }; 749 | 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "example" */ = { 750 | isa = XCConfigurationList; 751 | buildConfigurations = ( 752 | 83CBBA201A601CBA00E9B192 /* Debug */, 753 | 83CBBA211A601CBA00E9B192 /* Release */, 754 | ); 755 | defaultConfigurationIsVisible = 0; 756 | defaultConfigurationName = Release; 757 | }; 758 | /* End XCConfigurationList section */ 759 | }; 760 | rootObject = 83CBB9F71A601CBA00E9B192 /* Project object */; 761 | } 762 | -------------------------------------------------------------------------------- /example/ios/example.xcodeproj/xcshareddata/xcschemes/example.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 | -------------------------------------------------------------------------------- /example/ios/example.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /example/ios/example/AppDelegate.h: -------------------------------------------------------------------------------- 1 | #import 2 | #import 3 | 4 | @interface AppDelegate : RCTAppDelegate 5 | 6 | @end 7 | -------------------------------------------------------------------------------- /example/ios/example/AppDelegate.mm: -------------------------------------------------------------------------------- 1 | #import "AppDelegate.h" 2 | 3 | #import 4 | 5 | @implementation AppDelegate 6 | 7 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 8 | { 9 | self.moduleName = @"example"; 10 | // You can add your custom initial props in the dictionary below. 11 | // They will be passed down to the ViewController used by React Native. 12 | self.initialProps = @{}; 13 | 14 | return [super application:application didFinishLaunchingWithOptions:launchOptions]; 15 | } 16 | 17 | - (NSURL *)sourceURLForBridge:(RCTBridge *)bridge 18 | { 19 | #if DEBUG 20 | return [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index"]; 21 | #else 22 | return [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"]; 23 | #endif 24 | } 25 | 26 | /// This method controls whether the `concurrentRoot`feature of React18 is turned on or off. 27 | /// 28 | /// @see: https://reactjs.org/blog/2022/03/29/react-v18.html 29 | /// @note: This requires to be rendering on Fabric (i.e. on the New Architecture). 30 | /// @return: `true` if the `concurrentRoot` feature is enabled. Otherwise, it returns `false`. 31 | - (BOOL)concurrentRootEnabled 32 | { 33 | return true; 34 | } 35 | 36 | @end 37 | -------------------------------------------------------------------------------- /example/ios/example/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "scale" : "2x", 6 | "size" : "20x20" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "scale" : "3x", 11 | "size" : "20x20" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "scale" : "2x", 16 | "size" : "29x29" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "scale" : "3x", 21 | "size" : "29x29" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "scale" : "2x", 26 | "size" : "40x40" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "scale" : "3x", 31 | "size" : "40x40" 32 | }, 33 | { 34 | "idiom" : "iphone", 35 | "scale" : "2x", 36 | "size" : "60x60" 37 | }, 38 | { 39 | "idiom" : "iphone", 40 | "scale" : "3x", 41 | "size" : "60x60" 42 | }, 43 | { 44 | "idiom" : "ios-marketing", 45 | "scale" : "1x", 46 | "size" : "1024x1024" 47 | } 48 | ], 49 | "info" : { 50 | "author" : "xcode", 51 | "version" : 1 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /example/ios/example/Images.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /example/ios/example/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | example 9 | CFBundleExecutable 10 | $(EXECUTABLE_NAME) 11 | CFBundleIdentifier 12 | $(PRODUCT_BUNDLE_IDENTIFIER) 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | $(PRODUCT_NAME) 17 | CFBundlePackageType 18 | APPL 19 | CFBundleShortVersionString 20 | $(MARKETING_VERSION) 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | $(CURRENT_PROJECT_VERSION) 25 | LSRequiresIPhoneOS 26 | 27 | NSAppTransportSecurity 28 | 29 | NSExceptionDomains 30 | 31 | localhost 32 | 33 | NSExceptionAllowsInsecureHTTPLoads 34 | 35 | 36 | 37 | 38 | NSLocationWhenInUseUsageDescription 39 | 40 | UILaunchStoryboardName 41 | LaunchScreen 42 | UIRequiredDeviceCapabilities 43 | 44 | armv7 45 | 46 | UISupportedInterfaceOrientations 47 | 48 | UIInterfaceOrientationPortrait 49 | UIInterfaceOrientationLandscapeLeft 50 | UIInterfaceOrientationLandscapeRight 51 | 52 | UIViewControllerBasedStatusBarAppearance 53 | 54 | UIAppFonts 55 | 56 | Roboto-Black.ttf 57 | Roboto-BlackItalic.ttf 58 | Roboto-Bold.ttf 59 | Roboto-BoldItalic.ttf 60 | Roboto-Italic.ttf 61 | Roboto-Light.ttf 62 | Roboto-LightItalic.ttf 63 | Roboto-Medium.ttf 64 | Roboto-MediumItalic.ttf 65 | Roboto-Regular.ttf 66 | Roboto-Thin.ttf 67 | Roboto-ThinItalic.ttf 68 | 69 | 70 | 71 | -------------------------------------------------------------------------------- /example/ios/example/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 | -------------------------------------------------------------------------------- /example/ios/example/main.m: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | #import "AppDelegate.h" 4 | 5 | int main(int argc, char *argv[]) 6 | { 7 | @autoreleasepool { 8 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /example/ios/exampleTests/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 | -------------------------------------------------------------------------------- /example/ios/exampleTests/exampleTests.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 exampleTests : XCTestCase 11 | 12 | @end 13 | 14 | @implementation exampleTests 15 | 16 | - (BOOL)findSubviewInView:(UIView *)view matching:(BOOL (^)(UIView *view))test 17 | { 18 | if (test(view)) { 19 | return YES; 20 | } 21 | for (UIView *subview in [view subviews]) { 22 | if ([self findSubviewInView:subview matching:test]) { 23 | return YES; 24 | } 25 | } 26 | return NO; 27 | } 28 | 29 | - (void)testRendersWelcomeScreen 30 | { 31 | UIViewController *vc = [[[RCTSharedApplication() delegate] window] rootViewController]; 32 | NSDate *date = [NSDate dateWithTimeIntervalSinceNow:TIMEOUT_SECONDS]; 33 | BOOL foundElement = NO; 34 | 35 | __block NSString *redboxError = nil; 36 | #ifdef DEBUG 37 | RCTSetLogFunction( 38 | ^(RCTLogLevel level, RCTLogSource source, NSString *fileName, NSNumber *lineNumber, NSString *message) { 39 | if (level >= RCTLogLevelError) { 40 | redboxError = message; 41 | } 42 | }); 43 | #endif 44 | 45 | while ([date timeIntervalSinceNow] > 0 && !foundElement && !redboxError) { 46 | [[NSRunLoop mainRunLoop] runMode:NSDefaultRunLoopMode beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]]; 47 | [[NSRunLoop mainRunLoop] runMode:NSRunLoopCommonModes beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]]; 48 | 49 | foundElement = [self findSubviewInView:vc.view 50 | matching:^BOOL(UIView *view) { 51 | if ([view.accessibilityLabel isEqualToString:TEXT_TO_LOOK_FOR]) { 52 | return YES; 53 | } 54 | return NO; 55 | }]; 56 | } 57 | 58 | #ifdef DEBUG 59 | RCTSetLogFunction(RCTDefaultLogFunction); 60 | #endif 61 | 62 | XCTAssertNil(redboxError, @"RedBox error: %@", redboxError); 63 | XCTAssertTrue(foundElement, @"Couldn't find element with text '%@' in %d seconds", TEXT_TO_LOOK_FOR, TIMEOUT_SECONDS); 64 | } 65 | 66 | @end 67 | -------------------------------------------------------------------------------- /example/ios/link-assets-manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "migIndex": 1, 3 | "data": [ 4 | { 5 | "path": "assets/fonts/Roboto/Roboto-Black.ttf", 6 | "sha1": "e28654c12713143bfdd72f8c559c48a19c1cbf18" 7 | }, 8 | { 9 | "path": "assets/fonts/Roboto/Roboto-BlackItalic.ttf", 10 | "sha1": "91158ed880ebf4bb904568ec246e85a07fefcdfb" 11 | }, 12 | { 13 | "path": "assets/fonts/Roboto/Roboto-Bold.ttf", 14 | "sha1": "013f1bbcbbd80991a5f00fca52a90d0d7ab8b81f" 15 | }, 16 | { 17 | "path": "assets/fonts/Roboto/Roboto-BoldItalic.ttf", 18 | "sha1": "41985122ae0d78676ac1eb30edde89606bdbe531" 19 | }, 20 | { 21 | "path": "assets/fonts/Roboto/Roboto-Italic.ttf", 22 | "sha1": "20420db4e13d654cbe22b5fba6296c78a6360537" 23 | }, 24 | { 25 | "path": "assets/fonts/Roboto/Roboto-Light.ttf", 26 | "sha1": "51dbae4543aaa10096e344e48fcffe468bd314a9" 27 | }, 28 | { 29 | "path": "assets/fonts/Roboto/Roboto-LightItalic.ttf", 30 | "sha1": "538f6b977a7109f14cf314b8bad18ed84519d995" 31 | }, 32 | { 33 | "path": "assets/fonts/Roboto/Roboto-Medium.ttf", 34 | "sha1": "fddc8b1c688ef3baed0d5a46abf5f01f0edaf02b" 35 | }, 36 | { 37 | "path": "assets/fonts/Roboto/Roboto-MediumItalic.ttf", 38 | "sha1": "b13559734aa602f9a1bddb8b5be72d7036858716" 39 | }, 40 | { 41 | "path": "assets/fonts/Roboto/Roboto-Regular.ttf", 42 | "sha1": "84d102488738b0ebbc7a5087973effbd54c95bd5" 43 | }, 44 | { 45 | "path": "assets/fonts/Roboto/Roboto-Thin.ttf", 46 | "sha1": "e07c400b55ef4ac7fb5ff9a79d301712922c681b" 47 | }, 48 | { 49 | "path": "assets/fonts/Roboto/Roboto-ThinItalic.ttf", 50 | "sha1": "4c80f7c044a7e9a83865f625559e114ea4d7d2b1" 51 | } 52 | ] 53 | } 54 | -------------------------------------------------------------------------------- /example/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 | -------------------------------------------------------------------------------- /example/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "example", 3 | "version": "0.0.1", 4 | "private": true, 5 | "scripts": { 6 | "android": "react-native run-android", 7 | "ios": "react-native run-ios", 8 | "lint": "eslint .", 9 | "start": "react-native start", 10 | "test": "jest" 11 | }, 12 | "dependencies": { 13 | "react": "18.2.0", 14 | "react-native": "0.71.8", 15 | "react-native-subscribe-card": "^1.0.0" 16 | }, 17 | "devDependencies": { 18 | "@babel/core": "^7.20.0", 19 | "@babel/preset-env": "^7.20.0", 20 | "@babel/runtime": "^7.20.0", 21 | "@react-native-community/eslint-config": "^3.2.0", 22 | "@tsconfig/react-native": "^2.0.2", 23 | "@types/jest": "^29.2.1", 24 | "@types/react": "^18.0.24", 25 | "@types/react-test-renderer": "^18.0.0", 26 | "babel-jest": "^29.2.1", 27 | "eslint": "^8.19.0", 28 | "jest": "^29.2.1", 29 | "metro-react-native-babel-preset": "0.73.9", 30 | "prettier": "^2.4.1", 31 | "react-test-renderer": "18.2.0", 32 | "typescript": "4.8.4" 33 | }, 34 | "jest": { 35 | "preset": "react-native" 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /example/react-native.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | assets: ['./assets/fonts'], 3 | }; 4 | -------------------------------------------------------------------------------- /example/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@tsconfig/react-native/tsconfig.json" 3 | } 4 | -------------------------------------------------------------------------------- /lib/SubscribeCard.style.ts: -------------------------------------------------------------------------------- 1 | import { ViewStyle, Dimensions, StyleSheet, TextStyle } from "react-native"; 2 | const { width: ScreenWidth } = Dimensions.get("screen"); 3 | 4 | interface Style { 5 | container: ViewStyle; 6 | selectedContainer: ViewStyle; 7 | containerGlue: ViewStyle; 8 | outerContainer: ViewStyle; 9 | selectedOuterContainer: ViewStyle; 10 | titleTextStyle: TextStyle; 11 | descriptionTextStyle: TextStyle; 12 | priceContainer: ViewStyle; 13 | currencyTextStyle: TextStyle; 14 | selectedCurrencyTextStyle: TextStyle; 15 | priceTextStyle: TextStyle; 16 | selectedPriceTextStyle: TextStyle; 17 | timeTextStyle: TextStyle; 18 | selectedDescriptionPriceTextStyle: TextStyle; 19 | descriptionPriceTextStyle: TextStyle; 20 | discountContainer: ViewStyle; 21 | discountTextStyle: TextStyle; 22 | } 23 | 24 | export default StyleSheet.create