@expo/fingerprint 0.4.1 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +60 -6
- package/bin/cli.js +26 -5
- package/build/sourcer/Bare.js +13 -7
- package/build/sourcer/Bare.js.map +1 -1
- package/package.json +16 -9
- package/.eslintignore +0 -1
- package/CHANGELOG.md +0 -55
- package/__mocks__/@expo/spawn-async.ts +0 -30
- package/__mocks__/fs/promises.ts +0 -17
- package/__mocks__/fs.ts +0 -2
- package/__mocks__/resolve-from.ts +0 -24
- package/babel.config.js +0 -6
- package/e2e/__tests__/__snapshots__/managed-test.ts.snap +0 -242
- package/e2e/__tests__/bare-test.ts +0 -72
- package/e2e/__tests__/managed-test.ts +0 -165
- package/e2e/jest.config.js +0 -11
- package/jest.config.js +0 -10
- package/scripts/createFixture.ts +0 -81
- package/src/Dedup.ts +0 -97
- package/src/Fingerprint.ts +0 -60
- package/src/Fingerprint.types.ts +0 -110
- package/src/Options.ts +0 -81
- package/src/Sort.ts +0 -22
- package/src/__tests__/Dedup-test.ts +0 -177
- package/src/__tests__/Fingerprint-test.ts +0 -143
- package/src/__tests__/Sort-test.ts +0 -56
- package/src/hash/Hash.ts +0 -203
- package/src/hash/__tests__/Hash-test.ts +0 -238
- package/src/index.ts +0 -2
- package/src/sourcer/Bare.ts +0 -115
- package/src/sourcer/Expo.ts +0 -223
- package/src/sourcer/ExpoConfigLoader.ts +0 -84
- package/src/sourcer/PatchPackage.ts +0 -18
- package/src/sourcer/Sourcer.ts +0 -58
- package/src/sourcer/Utils.ts +0 -62
- package/src/sourcer/__tests__/Bare-test.ts +0 -88
- package/src/sourcer/__tests__/Expo-test.ts +0 -305
- package/src/sourcer/__tests__/PatchPackage-test.ts +0 -57
- package/src/sourcer/__tests__/Sourcer-test.ts +0 -21
- package/src/sourcer/__tests__/Utils-test.ts +0 -41
- package/src/sourcer/__tests__/__snapshots__/Bare-test.ts.snap +0 -21
- package/src/sourcer/__tests__/__snapshots__/Expo-test.ts.snap +0 -139
- package/src/sourcer/__tests__/fixtures/BareReactNative70Project.json +0 -47
- package/src/sourcer/__tests__/fixtures/ExpoAutolinkingAndroid.json +0 -82
- package/src/sourcer/__tests__/fixtures/ExpoAutolinkingIos.json +0 -114
- package/src/sourcer/__tests__/fixtures/ExpoManaged47Project.json +0 -6
- package/src/sourcer/__tests__/fixtures/PatchPackage.json +0 -4
- package/src/sourcer/__tests__/fixtures/RncliAutoLinking.json +0 -165
- package/src/utils/Path.ts +0 -26
- package/src/utils/Profile.ts +0 -47
- package/src/utils/__tests__/Path-test.ts +0 -36
- package/src/utils/__tests__/Profile-test.ts +0 -11
- package/tsconfig.json +0 -9
|
@@ -1,139 +0,0 @@
|
|
|
1
|
-
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
|
-
|
|
3
|
-
exports[`getExpoAutolinkingSourcesAsync should contain expo autolinking projects 1`] = `
|
|
4
|
-
[
|
|
5
|
-
{
|
|
6
|
-
"filePath": "node_modules/expo/android",
|
|
7
|
-
"reasons": [
|
|
8
|
-
"expoAutolinkingAndroid",
|
|
9
|
-
],
|
|
10
|
-
"type": "dir",
|
|
11
|
-
},
|
|
12
|
-
{
|
|
13
|
-
"filePath": "node_modules/expo-application/android",
|
|
14
|
-
"reasons": [
|
|
15
|
-
"expoAutolinkingAndroid",
|
|
16
|
-
],
|
|
17
|
-
"type": "dir",
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
"filePath": "node_modules/expo-constants/android",
|
|
21
|
-
"reasons": [
|
|
22
|
-
"expoAutolinkingAndroid",
|
|
23
|
-
],
|
|
24
|
-
"type": "dir",
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
"filePath": "node_modules/expo-error-recovery/android",
|
|
28
|
-
"reasons": [
|
|
29
|
-
"expoAutolinkingAndroid",
|
|
30
|
-
],
|
|
31
|
-
"type": "dir",
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
"filePath": "node_modules/expo-file-system/android",
|
|
35
|
-
"reasons": [
|
|
36
|
-
"expoAutolinkingAndroid",
|
|
37
|
-
],
|
|
38
|
-
"type": "dir",
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
"filePath": "node_modules/expo-font/android",
|
|
42
|
-
"reasons": [
|
|
43
|
-
"expoAutolinkingAndroid",
|
|
44
|
-
],
|
|
45
|
-
"type": "dir",
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
"filePath": "node_modules/expo-keep-awake/android",
|
|
49
|
-
"reasons": [
|
|
50
|
-
"expoAutolinkingAndroid",
|
|
51
|
-
],
|
|
52
|
-
"type": "dir",
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
"filePath": "node_modules/expo-modules-core/android",
|
|
56
|
-
"reasons": [
|
|
57
|
-
"expoAutolinkingAndroid",
|
|
58
|
-
],
|
|
59
|
-
"type": "dir",
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
"contents": "{"modules":[{"packageName":"expo","packageVersion":"47.0.3","projects":[{"name":"expo","sourceDir":"node_modules/expo/android"}],"modules":[]},{"packageName":"expo-application","packageVersion":"5.0.1","projects":[{"name":"expo-application","sourceDir":"node_modules/expo-application/android"}],"modules":[]},{"packageName":"expo-constants","packageVersion":"14.0.2","projects":[{"name":"expo-constants","sourceDir":"node_modules/expo-constants/android"}],"modules":[]},{"packageName":"expo-error-recovery","packageVersion":"4.0.1","projects":[{"name":"expo-error-recovery","sourceDir":"node_modules/expo-error-recovery/android"}],"modules":[]},{"packageName":"expo-file-system","packageVersion":"15.1.1","projects":[{"name":"expo-file-system","sourceDir":"node_modules/expo-file-system/android"}],"modules":[]},{"packageName":"expo-font","packageVersion":"11.0.1","projects":[{"name":"expo-font","sourceDir":"node_modules/expo-font/android"}],"modules":[]},{"packageName":"expo-keep-awake","packageVersion":"11.0.1","projects":[{"name":"expo-keep-awake","sourceDir":"node_modules/expo-keep-awake/android"}],"modules":[]},{"packageName":"expo-modules-core","packageVersion":"1.0.2","projects":[{"name":"expo-modules-core","sourceDir":"node_modules/expo-modules-core/android"}],"modules":[]}]}",
|
|
63
|
-
"id": "expoAutolinkingConfig:android",
|
|
64
|
-
"reasons": [
|
|
65
|
-
"expoAutolinkingAndroid",
|
|
66
|
-
],
|
|
67
|
-
"type": "contents",
|
|
68
|
-
},
|
|
69
|
-
]
|
|
70
|
-
`;
|
|
71
|
-
|
|
72
|
-
exports[`getExpoAutolinkingSourcesAsync should contain expo autolinking projects 2`] = `
|
|
73
|
-
[
|
|
74
|
-
{
|
|
75
|
-
"filePath": "node_modules/expo",
|
|
76
|
-
"reasons": [
|
|
77
|
-
"expoAutolinkingIos",
|
|
78
|
-
],
|
|
79
|
-
"type": "dir",
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
"filePath": "node_modules/expo-application/ios",
|
|
83
|
-
"reasons": [
|
|
84
|
-
"expoAutolinkingIos",
|
|
85
|
-
],
|
|
86
|
-
"type": "dir",
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
"filePath": "node_modules/expo-constants/ios",
|
|
90
|
-
"reasons": [
|
|
91
|
-
"expoAutolinkingIos",
|
|
92
|
-
],
|
|
93
|
-
"type": "dir",
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
"filePath": "node_modules/expo-error-recovery/ios",
|
|
97
|
-
"reasons": [
|
|
98
|
-
"expoAutolinkingIos",
|
|
99
|
-
],
|
|
100
|
-
"type": "dir",
|
|
101
|
-
},
|
|
102
|
-
{
|
|
103
|
-
"filePath": "node_modules/expo-file-system/ios",
|
|
104
|
-
"reasons": [
|
|
105
|
-
"expoAutolinkingIos",
|
|
106
|
-
],
|
|
107
|
-
"type": "dir",
|
|
108
|
-
},
|
|
109
|
-
{
|
|
110
|
-
"filePath": "node_modules/expo-font/ios",
|
|
111
|
-
"reasons": [
|
|
112
|
-
"expoAutolinkingIos",
|
|
113
|
-
],
|
|
114
|
-
"type": "dir",
|
|
115
|
-
},
|
|
116
|
-
{
|
|
117
|
-
"filePath": "node_modules/expo-keep-awake/ios",
|
|
118
|
-
"reasons": [
|
|
119
|
-
"expoAutolinkingIos",
|
|
120
|
-
],
|
|
121
|
-
"type": "dir",
|
|
122
|
-
},
|
|
123
|
-
{
|
|
124
|
-
"filePath": "node_modules/expo-modules-core",
|
|
125
|
-
"reasons": [
|
|
126
|
-
"expoAutolinkingIos",
|
|
127
|
-
],
|
|
128
|
-
"type": "dir",
|
|
129
|
-
},
|
|
130
|
-
{
|
|
131
|
-
"contents": "{"modules":[{"packageName":"expo","packageVersion":"47.0.3","pods":[{"podName":"Expo","podspecDir":"node_modules/expo"}],"swiftModuleNames":["Expo"],"modules":[],"appDelegateSubscribers":[],"reactDelegateHandlers":[],"debugOnly":false},{"packageName":"expo-application","packageVersion":"5.0.1","pods":[{"podName":"EXApplication","podspecDir":"node_modules/expo-application/ios"}],"swiftModuleNames":["EXApplication"],"modules":[],"appDelegateSubscribers":[],"reactDelegateHandlers":[],"debugOnly":false},{"packageName":"expo-constants","packageVersion":"14.0.2","pods":[{"podName":"EXConstants","podspecDir":"node_modules/expo-constants/ios"}],"swiftModuleNames":["EXConstants"],"modules":[],"appDelegateSubscribers":[],"reactDelegateHandlers":[],"debugOnly":false},{"packageName":"expo-error-recovery","packageVersion":"4.0.1","pods":[{"podName":"EXErrorRecovery","podspecDir":"node_modules/expo-error-recovery/ios"}],"swiftModuleNames":["EXErrorRecovery"],"modules":[],"appDelegateSubscribers":[],"reactDelegateHandlers":[],"debugOnly":false},{"packageName":"expo-file-system","packageVersion":"15.1.1","pods":[{"podName":"EXFileSystem","podspecDir":"node_modules/expo-file-system/ios"}],"swiftModuleNames":["EXFileSystem"],"modules":[],"appDelegateSubscribers":[],"reactDelegateHandlers":[],"debugOnly":false},{"packageName":"expo-font","packageVersion":"11.0.1","pods":[{"podName":"EXFont","podspecDir":"node_modules/expo-font/ios"}],"swiftModuleNames":["EXFont"],"modules":[],"appDelegateSubscribers":[],"reactDelegateHandlers":[],"debugOnly":false},{"packageName":"expo-keep-awake","packageVersion":"11.0.1","pods":[{"podName":"ExpoKeepAwake","podspecDir":"node_modules/expo-keep-awake/ios"}],"swiftModuleNames":["ExpoKeepAwake"],"modules":["KeepAwakeModule"],"appDelegateSubscribers":[],"reactDelegateHandlers":[],"debugOnly":false},{"packageName":"expo-modules-core","packageVersion":"1.0.2","pods":[{"podName":"ExpoModulesCore","podspecDir":"node_modules/expo-modules-core"}],"swiftModuleNames":["ExpoModulesCore"],"modules":[],"appDelegateSubscribers":[],"reactDelegateHandlers":[],"debugOnly":false}]}",
|
|
132
|
-
"id": "expoAutolinkingConfig:ios",
|
|
133
|
-
"reasons": [
|
|
134
|
-
"expoAutolinkingIos",
|
|
135
|
-
],
|
|
136
|
-
"type": "contents",
|
|
137
|
-
},
|
|
138
|
-
]
|
|
139
|
-
`;
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"/app/__tests__/App-test.js": "/**\n * @format\n */\n\nimport 'react-native';\nimport React from 'react';\nimport App from '../App';\n\n// Note: test renderer must be required after react-native.\nimport renderer from 'react-test-renderer';\n\nit('renders correctly', () => {\n renderer.create(<App />);\n});\n",
|
|
3
|
-
"/app/android/app/_BUCK": "# To learn about Buck see [Docs](https://buckbuild.com/).\n# To run your application with Buck:\n# - install Buck\n# - `npm start` - to start the packager\n# - `cd android`\n# - `keytool -genkey -v -keystore keystores/debug.keystore -storepass android -alias androiddebugkey -keypass android -dname \"CN=Android Debug,O=Android,C=US\"`\n# - `./gradlew :app:copyDownloadableDepsToLibs` - make all Gradle compile dependencies available to Buck\n# - `buck install -r android/app` - compile, install and run application\n#\n\nload(\":build_defs.bzl\", \"create_aar_targets\", \"create_jar_targets\")\n\nlib_deps = []\n\ncreate_aar_targets(glob([\"libs/*.aar\"]))\n\ncreate_jar_targets(glob([\"libs/*.jar\"]))\n\nandroid_library(\n name = \"all-libs\",\n exported_deps = lib_deps,\n)\n\nandroid_library(\n name = \"app-code\",\n srcs = glob([\n \"src/main/java/**/*.java\",\n ]),\n deps = [\n \":all-libs\",\n \":build_config\",\n \":res\",\n ],\n)\n\nandroid_build_config(\n name = \"build_config\",\n package = \"com.rn070\",\n)\n\nandroid_resource(\n name = \"res\",\n package = \"com.rn070\",\n res = \"src/main/res\",\n)\n\nandroid_binary(\n name = \"app\",\n keystore = \"//android/keystores:debug\",\n manifest = \"src/main/AndroidManifest.xml\",\n package_type = \"debug\",\n deps = [\n \":app-code\",\n ],\n)\n",
|
|
4
|
-
"/app/android/app/build_defs.bzl": "\"\"\"Helper definitions to glob .aar and .jar targets\"\"\"\n\ndef create_aar_targets(aarfiles):\n for aarfile in aarfiles:\n name = \"aars__\" + aarfile[aarfile.rindex(\"/\") + 1:aarfile.rindex(\".aar\")]\n lib_deps.append(\":\" + name)\n android_prebuilt_aar(\n name = name,\n aar = aarfile,\n )\n\ndef create_jar_targets(jarfiles):\n for jarfile in jarfiles:\n name = \"jars__\" + jarfile[jarfile.rindex(\"/\") + 1:jarfile.rindex(\".jar\")]\n lib_deps.append(\":\" + name)\n prebuilt_jar(\n name = name,\n binary_jar = jarfile,\n )\n",
|
|
5
|
-
"/app/android/app/build.gradle": "apply plugin: \"com.android.application\"\n\nimport com.android.build.OutputFile\nimport org.apache.tools.ant.taskdefs.condition.Os\n\n/**\n * The react.gradle file registers a task for each build variant (e.g. bundleDebugJsAndAssets\n * and bundleReleaseJsAndAssets).\n * These basically call `react-native bundle` with the correct arguments during the Android build\n * cycle. By default, bundleDebugJsAndAssets is skipped, as in debug/dev mode we prefer to load the\n * bundle directly from the development server. Below you can see all the possible configurations\n * and their defaults. If you decide to add a configuration block, make sure to add it before the\n * `apply from: \"../../node_modules/react-native/react.gradle\"` line.\n *\n * project.ext.react = [\n * // the name of the generated asset file containing your JS bundle\n * bundleAssetName: \"index.android.bundle\",\n *\n * // the entry file for bundle generation. If none specified and\n * // \"index.android.js\" exists, it will be used. Otherwise \"index.js\" is\n * // default. Can be overridden with ENTRY_FILE environment variable.\n * entryFile: \"index.android.js\",\n *\n * // https://reactnative.dev/docs/performance#enable-the-ram-format\n * bundleCommand: \"ram-bundle\",\n *\n * // whether to bundle JS and assets in debug mode\n * bundleInDebug: false,\n *\n * // whether to bundle JS and assets in release mode\n * bundleInRelease: true,\n *\n * // whether to bundle JS and assets in another build variant (if configured).\n * // See http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Build-Variants\n * // The configuration property can be in the following formats\n * // 'bundleIn${productFlavor}${buildType}'\n * // 'bundleIn${buildType}'\n * // bundleInFreeDebug: true,\n * // bundleInPaidRelease: true,\n * // bundleInBeta: true,\n *\n * // whether to disable dev mode in custom build variants (by default only disabled in release)\n * // for example: to disable dev mode in the staging build type (if configured)\n * devDisabledInStaging: true,\n * // The configuration property can be in the following formats\n * // 'devDisabledIn${productFlavor}${buildType}'\n * // 'devDisabledIn${buildType}'\n *\n * // the root of your project, i.e. where \"package.json\" lives\n * root: \"../../\",\n *\n * // where to put the JS bundle asset in debug mode\n * jsBundleDirDebug: \"$buildDir/intermediates/assets/debug\",\n *\n * // where to put the JS bundle asset in release mode\n * jsBundleDirRelease: \"$buildDir/intermediates/assets/release\",\n *\n * // where to put drawable resources / React Native assets, e.g. the ones you use via\n * // require('./image.png')), in debug mode\n * resourcesDirDebug: \"$buildDir/intermediates/res/merged/debug\",\n *\n * // where to put drawable resources / React Native assets, e.g. the ones you use via\n * // require('./image.png')), in release mode\n * resourcesDirRelease: \"$buildDir/intermediates/res/merged/release\",\n *\n * // by default the gradle tasks are skipped if none of the JS files or assets change; this means\n * // that we don't look at files in android/ or ios/ to determine whether the tasks are up to\n * // date; if you have any other folders that you want to ignore for performance reasons (gradle\n * // indexes the entire tree), add them here. Alternatively, if you have JS files in android/\n * // for example, you might want to remove it from here.\n * inputExcludes: [\"android/**\", \"ios/**\"],\n *\n * // override which node gets called and with what additional arguments\n * nodeExecutableAndArgs: [\"node\"],\n *\n * // supply additional arguments to the packager\n * extraPackagerArgs: []\n * ]\n */\n\nproject.ext.react = [\n enableHermes: true, // clean and rebuild if changing\n]\n\napply from: \"../../node_modules/react-native/react.gradle\"\n\n/**\n * Set this to true to create two separate APKs instead of one:\n * - An APK that only works on ARM devices\n * - An APK that only works on x86 devices\n * The advantage is the size of the APK is reduced by about 4MB.\n * Upload all the APKs to the Play Store and people will download\n * the correct one based on the CPU architecture of their device.\n */\ndef enableSeparateBuildPerCPUArchitecture = false\n\n/**\n * Run Proguard to shrink the Java bytecode in release builds.\n */\ndef enableProguardInReleaseBuilds = false\n\n/**\n * The preferred build flavor of JavaScriptCore.\n *\n * For example, to use the international variant, you can use:\n * `def jscFlavor = 'org.webkit:android-jsc-intl:+'`\n *\n * The international variant includes ICU i18n library and necessary data\n * allowing to use e.g. `Date.toLocaleString` and `String.localeCompare` that\n * give correct results when using with locales other than en-US. Note that\n * this variant is about 6MiB larger per architecture than default.\n */\ndef jscFlavor = 'org.webkit:android-jsc:+'\n\n/**\n * Whether to enable the Hermes VM.\n *\n * This should be set on project.ext.react and that value will be read here. If it is not set\n * on project.ext.react, JavaScript will not be compiled to Hermes Bytecode\n * and the benefits of using Hermes will therefore be sharply reduced.\n */\ndef enableHermes = project.ext.react.get(\"enableHermes\", false);\n\n/**\n * Architectures to build native code for.\n */\ndef reactNativeArchitectures() {\n def value = project.getProperties().get(\"reactNativeArchitectures\")\n return value ? value.split(\",\") : [\"armeabi-v7a\", \"x86\", \"x86_64\", \"arm64-v8a\"]\n}\n\nandroid {\n ndkVersion rootProject.ext.ndkVersion\n\n compileSdkVersion rootProject.ext.compileSdkVersion\n\n defaultConfig {\n applicationId \"com.rn070\"\n minSdkVersion rootProject.ext.minSdkVersion\n targetSdkVersion rootProject.ext.targetSdkVersion\n versionCode 1\n versionName \"1.0\"\n buildConfigField \"boolean\", \"IS_NEW_ARCHITECTURE_ENABLED\", isNewArchitectureEnabled().toString()\n\n if (isNewArchitectureEnabled()) {\n // We configure the CMake build only if you decide to opt-in for the New Architecture.\n externalNativeBuild {\n cmake {\n arguments \"-DPROJECT_BUILD_DIR=$buildDir\",\n \"-DREACT_ANDROID_DIR=$rootDir/../node_modules/react-native/ReactAndroid\",\n \"-DREACT_ANDROID_BUILD_DIR=$rootDir/../node_modules/react-native/ReactAndroid/build\",\n \"-DNODE_MODULES_DIR=$rootDir/../node_modules\",\n \"-DANDROID_STL=c++_shared\"\n }\n }\n if (!enableSeparateBuildPerCPUArchitecture) {\n ndk {\n abiFilters (*reactNativeArchitectures())\n }\n }\n }\n }\n\n if (isNewArchitectureEnabled()) {\n // We configure the NDK build only if you decide to opt-in for the New Architecture.\n externalNativeBuild {\n cmake {\n path \"$projectDir/src/main/jni/CMakeLists.txt\"\n }\n }\n def reactAndroidProjectDir = project(':ReactAndroid').projectDir\n def packageReactNdkDebugLibs = tasks.register(\"packageReactNdkDebugLibs\", Copy) {\n dependsOn(\":ReactAndroid:packageReactNdkDebugLibsForBuck\")\n from(\"$reactAndroidProjectDir/src/main/jni/prebuilt/lib\")\n into(\"$buildDir/react-ndk/exported\")\n }\n def packageReactNdkReleaseLibs = tasks.register(\"packageReactNdkReleaseLibs\", Copy) {\n dependsOn(\":ReactAndroid:packageReactNdkReleaseLibsForBuck\")\n from(\"$reactAndroidProjectDir/src/main/jni/prebuilt/lib\")\n into(\"$buildDir/react-ndk/exported\")\n }\n afterEvaluate {\n // If you wish to add a custom TurboModule or component locally,\n // you should uncomment this line.\n // preBuild.dependsOn(\"generateCodegenArtifactsFromSchema\")\n preDebugBuild.dependsOn(packageReactNdkDebugLibs)\n preReleaseBuild.dependsOn(packageReactNdkReleaseLibs)\n\n // Due to a bug inside AGP, we have to explicitly set a dependency\n // between configureCMakeDebug* tasks and the preBuild tasks.\n // This can be removed once this is solved: https://issuetracker.google.com/issues/207403732\n configureCMakeRelWithDebInfo.dependsOn(preReleaseBuild)\n configureCMakeDebug.dependsOn(preDebugBuild)\n reactNativeArchitectures().each { architecture ->\n tasks.findByName(\"configureCMakeDebug[${architecture}]\")?.configure {\n dependsOn(\"preDebugBuild\")\n }\n tasks.findByName(\"configureCMakeRelWithDebInfo[${architecture}]\")?.configure {\n dependsOn(\"preReleaseBuild\")\n }\n }\n }\n }\n\n splits {\n abi {\n reset()\n enable enableSeparateBuildPerCPUArchitecture\n universalApk false // If true, also generate a universal APK\n include (*reactNativeArchitectures())\n }\n }\n signingConfigs {\n debug {\n storeFile file('debug.keystore')\n storePassword 'android'\n keyAlias 'androiddebugkey'\n keyPassword 'android'\n }\n }\n buildTypes {\n debug {\n signingConfig signingConfigs.debug\n }\n release {\n // Caution! In production, you need to generate your own keystore file.\n // see https://reactnative.dev/docs/signed-apk-android.\n signingConfig signingConfigs.debug\n minifyEnabled enableProguardInReleaseBuilds\n proguardFiles getDefaultProguardFile(\"proguard-android.txt\"), \"proguard-rules.pro\"\n }\n }\n\n // applicationVariants are e.g. debug, release\n applicationVariants.all { variant ->\n variant.outputs.each { output ->\n // For each separate APK per architecture, set a unique version code as described here:\n // https://developer.android.com/studio/build/configure-apk-splits.html\n // Example: versionCode 1 will generate 1001 for armeabi-v7a, 1002 for x86, etc.\n def versionCodes = [\"armeabi-v7a\": 1, \"x86\": 2, \"arm64-v8a\": 3, \"x86_64\": 4]\n def abi = output.getFilter(OutputFile.ABI)\n if (abi != null) { // null for the universal-debug, universal-release variants\n output.versionCodeOverride =\n defaultConfig.versionCode * 1000 + versionCodes.get(abi)\n }\n\n }\n }\n}\n\ndependencies {\n implementation fileTree(dir: \"libs\", include: [\"*.jar\"])\n\n //noinspection GradleDynamicVersion\n implementation \"com.facebook.react:react-native:+\" // From node_modules\n\n implementation \"androidx.swiperefreshlayout:swiperefreshlayout:1.0.0\"\n\n debugImplementation(\"com.facebook.flipper:flipper:${FLIPPER_VERSION}\") {\n exclude group:'com.facebook.fbjni'\n }\n\n debugImplementation(\"com.facebook.flipper:flipper-network-plugin:${FLIPPER_VERSION}\") {\n exclude group:'com.facebook.flipper'\n exclude group:'com.squareup.okhttp3', module:'okhttp'\n }\n\n debugImplementation(\"com.facebook.flipper:flipper-fresco-plugin:${FLIPPER_VERSION}\") {\n exclude group:'com.facebook.flipper'\n }\n\n if (enableHermes) {\n //noinspection GradleDynamicVersion\n implementation(\"com.facebook.react:hermes-engine:+\") { // From node_modules\n exclude group:'com.facebook.fbjni'\n }\n } else {\n implementation jscFlavor\n }\n}\n\nif (isNewArchitectureEnabled()) {\n // If new architecture is enabled, we let you build RN from source\n // Otherwise we fallback to a prebuilt .aar bundled in the NPM package.\n // This will be applied to all the imported transtitive dependency.\n configurations.all {\n resolutionStrategy.dependencySubstitution {\n substitute(module(\"com.facebook.react:react-native\"))\n .using(project(\":ReactAndroid\"))\n .because(\"On New Architecture we're building React Native from source\")\n substitute(module(\"com.facebook.react:hermes-engine\"))\n .using(project(\":ReactAndroid:hermes-engine\"))\n .because(\"On New Architecture we're building Hermes from source\")\n }\n }\n}\n\n// Run this once to be able to run the application with BUCK\n// puts all compile dependencies into folder libs for BUCK to use\ntask copyDownloadableDepsToLibs(type: Copy) {\n from configurations.implementation\n into 'libs'\n}\n\napply from: file(\"../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle\"); applyNativeModulesAppBuildGradle(project)\n\ndef isNewArchitectureEnabled() {\n // To opt-in for the New Architecture, you can either:\n // - Set `newArchEnabled` to true inside the `gradle.properties` file\n // - Invoke gradle with `-newArchEnabled=true`\n // - Set an environment variable `ORG_GRADLE_PROJECT_newArchEnabled=true`\n return project.hasProperty(\"newArchEnabled\") && project.newArchEnabled == \"true\"\n}\n",
|
|
6
|
-
"/app/android/app/proguard-rules.pro": "# Add project specific ProGuard rules here.\n# By default, the flags in this file are appended to flags specified\n# in /usr/local/Cellar/android-sdk/24.3.3/tools/proguard/proguard-android.txt\n# You can edit the include path and order by changing the proguardFiles\n# directive in build.gradle.\n#\n# For more details, see\n# http://developer.android.com/guide/developing/tools/proguard.html\n\n# Add any project specific keep options here:\n",
|
|
7
|
-
"/app/android/app/src/debug/AndroidManifest.xml": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<manifest xmlns:android=\"http://schemas.android.com/apk/res/android\"\n xmlns:tools=\"http://schemas.android.com/tools\">\n\n <uses-permission android:name=\"android.permission.SYSTEM_ALERT_WINDOW\"/>\n\n <application\n android:usesCleartextTraffic=\"true\"\n tools:targetApi=\"28\"\n tools:ignore=\"GoogleAppIndexingWarning\">\n <activity android:name=\"com.facebook.react.devsupport.DevSettingsActivity\" android:exported=\"false\" />\n </application>\n</manifest>\n",
|
|
8
|
-
"/app/android/app/src/debug/java/com/rn070/ReactNativeFlipper.java": "/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * <p>This source code is licensed under the MIT license found in the LICENSE file in the root\n * directory of this source tree.\n */\npackage com.rn070;\n\nimport android.content.Context;\nimport com.facebook.flipper.android.AndroidFlipperClient;\nimport com.facebook.flipper.android.utils.FlipperUtils;\nimport com.facebook.flipper.core.FlipperClient;\nimport com.facebook.flipper.plugins.crashreporter.CrashReporterPlugin;\nimport com.facebook.flipper.plugins.databases.DatabasesFlipperPlugin;\nimport com.facebook.flipper.plugins.fresco.FrescoFlipperPlugin;\nimport com.facebook.flipper.plugins.inspector.DescriptorMapping;\nimport com.facebook.flipper.plugins.inspector.InspectorFlipperPlugin;\nimport com.facebook.flipper.plugins.network.FlipperOkhttpInterceptor;\nimport com.facebook.flipper.plugins.network.NetworkFlipperPlugin;\nimport com.facebook.flipper.plugins.react.ReactFlipperPlugin;\nimport com.facebook.flipper.plugins.sharedpreferences.SharedPreferencesFlipperPlugin;\nimport com.facebook.react.ReactInstanceEventListener;\nimport com.facebook.react.ReactInstanceManager;\nimport com.facebook.react.bridge.ReactContext;\nimport com.facebook.react.modules.network.NetworkingModule;\nimport okhttp3.OkHttpClient;\n\npublic class ReactNativeFlipper {\n public static void initializeFlipper(Context context, ReactInstanceManager reactInstanceManager) {\n if (FlipperUtils.shouldEnableFlipper(context)) {\n final FlipperClient client = AndroidFlipperClient.getInstance(context);\n\n client.addPlugin(new InspectorFlipperPlugin(context, DescriptorMapping.withDefaults()));\n client.addPlugin(new ReactFlipperPlugin());\n client.addPlugin(new DatabasesFlipperPlugin(context));\n client.addPlugin(new SharedPreferencesFlipperPlugin(context));\n client.addPlugin(CrashReporterPlugin.getInstance());\n\n NetworkFlipperPlugin networkFlipperPlugin = new NetworkFlipperPlugin();\n NetworkingModule.setCustomClientBuilder(\n new NetworkingModule.CustomClientBuilder() {\n @Override\n public void apply(OkHttpClient.Builder builder) {\n builder.addNetworkInterceptor(new FlipperOkhttpInterceptor(networkFlipperPlugin));\n }\n });\n client.addPlugin(networkFlipperPlugin);\n client.start();\n\n // Fresco Plugin needs to ensure that ImagePipelineFactory is initialized\n // Hence we run if after all native modules have been initialized\n ReactContext reactContext = reactInstanceManager.getCurrentReactContext();\n if (reactContext == null) {\n reactInstanceManager.addReactInstanceEventListener(\n new ReactInstanceEventListener() {\n @Override\n public void onReactContextInitialized(ReactContext reactContext) {\n reactInstanceManager.removeReactInstanceEventListener(this);\n reactContext.runOnNativeModulesQueueThread(\n new Runnable() {\n @Override\n public void run() {\n client.addPlugin(new FrescoFlipperPlugin());\n }\n });\n }\n });\n } else {\n client.addPlugin(new FrescoFlipperPlugin());\n }\n }\n }\n}\n",
|
|
9
|
-
"/app/android/app/src/main/AndroidManifest.xml": "<manifest xmlns:android=\"http://schemas.android.com/apk/res/android\"\n package=\"com.rn070\">\n\n <uses-permission android:name=\"android.permission.INTERNET\" />\n\n <application\n android:name=\".MainApplication\"\n android:label=\"@string/app_name\"\n android:icon=\"@mipmap/ic_launcher\"\n android:roundIcon=\"@mipmap/ic_launcher_round\"\n android:allowBackup=\"false\"\n android:theme=\"@style/AppTheme\">\n <activity\n android:name=\".MainActivity\"\n android:label=\"@string/app_name\"\n android:configChanges=\"keyboard|keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize|uiMode\"\n android:launchMode=\"singleTask\"\n android:windowSoftInputMode=\"adjustResize\"\n android:exported=\"true\">\n <intent-filter>\n <action android:name=\"android.intent.action.MAIN\" />\n <category android:name=\"android.intent.category.LAUNCHER\" />\n </intent-filter>\n </activity>\n </application>\n</manifest>\n",
|
|
10
|
-
"/app/android/app/src/main/java/com/rn070/MainActivity.java": "package com.rn070;\n\nimport com.facebook.react.ReactActivity;\nimport com.facebook.react.ReactActivityDelegate;\nimport com.facebook.react.ReactRootView;\n\npublic class MainActivity extends ReactActivity {\n\n /**\n * Returns the name of the main component registered from JavaScript. This is used to schedule\n * rendering of the component.\n */\n @Override\n protected String getMainComponentName() {\n return \"RN070\";\n }\n\n /**\n * Returns the instance of the {@link ReactActivityDelegate}. There the RootView is created and\n * you can specify the renderer you wish to use - the new renderer (Fabric) or the old renderer\n * (Paper).\n */\n @Override\n protected ReactActivityDelegate createReactActivityDelegate() {\n return new MainActivityDelegate(this, getMainComponentName());\n }\n\n public static class MainActivityDelegate extends ReactActivityDelegate {\n public MainActivityDelegate(ReactActivity activity, String mainComponentName) {\n super(activity, mainComponentName);\n }\n\n @Override\n protected ReactRootView createRootView() {\n ReactRootView reactRootView = new ReactRootView(getContext());\n // If you opted-in for the New Architecture, we enable the Fabric Renderer.\n reactRootView.setIsFabric(BuildConfig.IS_NEW_ARCHITECTURE_ENABLED);\n return reactRootView;\n }\n\n @Override\n protected boolean isConcurrentRootEnabled() {\n // If you opted-in for the New Architecture, we enable Concurrent Root (i.e. React 18).\n // More on this on https://reactjs.org/blog/2022/03/29/react-v18.html\n return BuildConfig.IS_NEW_ARCHITECTURE_ENABLED;\n }\n }\n}\n",
|
|
11
|
-
"/app/android/app/src/main/java/com/rn070/MainApplication.java": "package com.rn070;\n\nimport android.app.Application;\nimport android.content.Context;\nimport com.facebook.react.PackageList;\nimport com.facebook.react.ReactApplication;\nimport com.facebook.react.ReactInstanceManager;\nimport com.facebook.react.ReactNativeHost;\nimport com.facebook.react.ReactPackage;\nimport com.facebook.react.config.ReactFeatureFlags;\nimport com.facebook.soloader.SoLoader;\nimport com.rn070.newarchitecture.MainApplicationReactNativeHost;\nimport java.lang.reflect.InvocationTargetException;\nimport java.util.List;\n\npublic class MainApplication extends Application implements ReactApplication {\n\n private final ReactNativeHost mReactNativeHost =\n new ReactNativeHost(this) {\n @Override\n public boolean getUseDeveloperSupport() {\n return BuildConfig.DEBUG;\n }\n\n @Override\n protected List<ReactPackage> getPackages() {\n @SuppressWarnings(\"UnnecessaryLocalVariable\")\n List<ReactPackage> packages = new PackageList(this).getPackages();\n // Packages that cannot be autolinked yet can be added manually here, for example:\n // packages.add(new MyReactNativePackage());\n return packages;\n }\n\n @Override\n protected String getJSMainModuleName() {\n return \"index\";\n }\n };\n\n private final ReactNativeHost mNewArchitectureNativeHost =\n new MainApplicationReactNativeHost(this);\n\n @Override\n public ReactNativeHost getReactNativeHost() {\n if (BuildConfig.IS_NEW_ARCHITECTURE_ENABLED) {\n return mNewArchitectureNativeHost;\n } else {\n return mReactNativeHost;\n }\n }\n\n @Override\n public void onCreate() {\n super.onCreate();\n // If you opted-in for the New Architecture, we enable the TurboModule system\n ReactFeatureFlags.useTurboModules = BuildConfig.IS_NEW_ARCHITECTURE_ENABLED;\n SoLoader.init(this, /* native exopackage */ false);\n initializeFlipper(this, getReactNativeHost().getReactInstanceManager());\n }\n\n /**\n * Loads Flipper in React Native templates. Call this in the onCreate method with something like\n * initializeFlipper(this, getReactNativeHost().getReactInstanceManager());\n *\n * @param context\n * @param reactInstanceManager\n */\n private static void initializeFlipper(\n Context context, ReactInstanceManager reactInstanceManager) {\n if (BuildConfig.DEBUG) {\n try {\n /*\n We use reflection here to pick up the class that initializes Flipper,\n since Flipper library is not available in release mode\n */\n Class<?> aClass = Class.forName(\"com.rn070.ReactNativeFlipper\");\n aClass\n .getMethod(\"initializeFlipper\", Context.class, ReactInstanceManager.class)\n .invoke(null, context, reactInstanceManager);\n } catch (ClassNotFoundException e) {\n e.printStackTrace();\n } catch (NoSuchMethodException e) {\n e.printStackTrace();\n } catch (IllegalAccessException e) {\n e.printStackTrace();\n } catch (InvocationTargetException e) {\n e.printStackTrace();\n }\n }\n }\n}\n",
|
|
12
|
-
"/app/android/app/src/main/java/com/rn070/newarchitecture/components/MainComponentsRegistry.java": "package com.rn070.newarchitecture.components;\n\nimport com.facebook.jni.HybridData;\nimport com.facebook.proguard.annotations.DoNotStrip;\nimport com.facebook.react.fabric.ComponentFactory;\nimport com.facebook.soloader.SoLoader;\n\n/**\n * Class responsible to load the custom Fabric Components. This class has native methods and needs a\n * corresponding C++ implementation/header file to work correctly (already placed inside the jni/\n * folder for you).\n *\n * <p>Please note that this class is used ONLY if you opt-in for the New Architecture (see the\n * `newArchEnabled` property). Is ignored otherwise.\n */\n@DoNotStrip\npublic class MainComponentsRegistry {\n static {\n SoLoader.loadLibrary(\"fabricjni\");\n }\n\n @DoNotStrip private final HybridData mHybridData;\n\n @DoNotStrip\n private native HybridData initHybrid(ComponentFactory componentFactory);\n\n @DoNotStrip\n private MainComponentsRegistry(ComponentFactory componentFactory) {\n mHybridData = initHybrid(componentFactory);\n }\n\n @DoNotStrip\n public static MainComponentsRegistry register(ComponentFactory componentFactory) {\n return new MainComponentsRegistry(componentFactory);\n }\n}\n",
|
|
13
|
-
"/app/android/app/src/main/java/com/rn070/newarchitecture/MainApplicationReactNativeHost.java": "package com.rn070.newarchitecture;\n\nimport android.app.Application;\nimport androidx.annotation.NonNull;\nimport com.facebook.react.PackageList;\nimport com.facebook.react.ReactInstanceManager;\nimport com.facebook.react.ReactNativeHost;\nimport com.facebook.react.ReactPackage;\nimport com.facebook.react.ReactPackageTurboModuleManagerDelegate;\nimport com.facebook.react.bridge.JSIModulePackage;\nimport com.facebook.react.bridge.JSIModuleProvider;\nimport com.facebook.react.bridge.JSIModuleSpec;\nimport com.facebook.react.bridge.JSIModuleType;\nimport com.facebook.react.bridge.JavaScriptContextHolder;\nimport com.facebook.react.bridge.ReactApplicationContext;\nimport com.facebook.react.bridge.UIManager;\nimport com.facebook.react.fabric.ComponentFactory;\nimport com.facebook.react.fabric.CoreComponentsRegistry;\nimport com.facebook.react.fabric.FabricJSIModuleProvider;\nimport com.facebook.react.fabric.ReactNativeConfig;\nimport com.facebook.react.uimanager.ViewManagerRegistry;\nimport com.rn070.BuildConfig;\nimport com.rn070.newarchitecture.components.MainComponentsRegistry;\nimport com.rn070.newarchitecture.modules.MainApplicationTurboModuleManagerDelegate;\nimport java.util.ArrayList;\nimport java.util.List;\n\n/**\n * A {@link ReactNativeHost} that helps you load everything needed for the New Architecture, both\n * TurboModule delegates and the Fabric Renderer.\n *\n * <p>Please note that this class is used ONLY if you opt-in for the New Architecture (see the\n * `newArchEnabled` property). Is ignored otherwise.\n */\npublic class MainApplicationReactNativeHost extends ReactNativeHost {\n public MainApplicationReactNativeHost(Application application) {\n super(application);\n }\n\n @Override\n public boolean getUseDeveloperSupport() {\n return BuildConfig.DEBUG;\n }\n\n @Override\n protected List<ReactPackage> getPackages() {\n List<ReactPackage> packages = new PackageList(this).getPackages();\n // Packages that cannot be autolinked yet can be added manually here, for example:\n // packages.add(new MyReactNativePackage());\n // TurboModules must also be loaded here providing a valid TurboReactPackage implementation:\n // packages.add(new TurboReactPackage() { ... });\n // If you have custom Fabric Components, their ViewManagers should also be loaded here\n // inside a ReactPackage.\n return packages;\n }\n\n @Override\n protected String getJSMainModuleName() {\n return \"index\";\n }\n\n @NonNull\n @Override\n protected ReactPackageTurboModuleManagerDelegate.Builder\n getReactPackageTurboModuleManagerDelegateBuilder() {\n // Here we provide the ReactPackageTurboModuleManagerDelegate Builder. This is necessary\n // for the new architecture and to use TurboModules correctly.\n return new MainApplicationTurboModuleManagerDelegate.Builder();\n }\n\n @Override\n protected JSIModulePackage getJSIModulePackage() {\n return new JSIModulePackage() {\n @Override\n public List<JSIModuleSpec> getJSIModules(\n final ReactApplicationContext reactApplicationContext,\n final JavaScriptContextHolder jsContext) {\n final List<JSIModuleSpec> specs = new ArrayList<>();\n\n // Here we provide a new JSIModuleSpec that will be responsible of providing the\n // custom Fabric Components.\n specs.add(\n new JSIModuleSpec() {\n @Override\n public JSIModuleType getJSIModuleType() {\n return JSIModuleType.UIManager;\n }\n\n @Override\n public JSIModuleProvider<UIManager> getJSIModuleProvider() {\n final ComponentFactory componentFactory = new ComponentFactory();\n CoreComponentsRegistry.register(componentFactory);\n\n // Here we register a Components Registry.\n // The one that is generated with the template contains no components\n // and just provides you the one from React Native core.\n MainComponentsRegistry.register(componentFactory);\n\n final ReactInstanceManager reactInstanceManager = getReactInstanceManager();\n\n ViewManagerRegistry viewManagerRegistry =\n new ViewManagerRegistry(\n reactInstanceManager.getOrCreateViewManagers(reactApplicationContext));\n\n return new FabricJSIModuleProvider(\n reactApplicationContext,\n componentFactory,\n ReactNativeConfig.DEFAULT_CONFIG,\n viewManagerRegistry);\n }\n });\n return specs;\n }\n };\n }\n}\n",
|
|
14
|
-
"/app/android/app/src/main/java/com/rn070/newarchitecture/modules/MainApplicationTurboModuleManagerDelegate.java": "package com.rn070.newarchitecture.modules;\n\nimport com.facebook.jni.HybridData;\nimport com.facebook.react.ReactPackage;\nimport com.facebook.react.ReactPackageTurboModuleManagerDelegate;\nimport com.facebook.react.bridge.ReactApplicationContext;\nimport com.facebook.soloader.SoLoader;\nimport java.util.List;\n\n/**\n * Class responsible to load the TurboModules. This class has native methods and needs a\n * corresponding C++ implementation/header file to work correctly (already placed inside the jni/\n * folder for you).\n *\n * <p>Please note that this class is used ONLY if you opt-in for the New Architecture (see the\n * `newArchEnabled` property). Is ignored otherwise.\n */\npublic class MainApplicationTurboModuleManagerDelegate\n extends ReactPackageTurboModuleManagerDelegate {\n\n private static volatile boolean sIsSoLibraryLoaded;\n\n protected MainApplicationTurboModuleManagerDelegate(\n ReactApplicationContext reactApplicationContext, List<ReactPackage> packages) {\n super(reactApplicationContext, packages);\n }\n\n protected native HybridData initHybrid();\n\n native boolean canCreateTurboModule(String moduleName);\n\n public static class Builder extends ReactPackageTurboModuleManagerDelegate.Builder {\n protected MainApplicationTurboModuleManagerDelegate build(\n ReactApplicationContext context, List<ReactPackage> packages) {\n return new MainApplicationTurboModuleManagerDelegate(context, packages);\n }\n }\n\n @Override\n protected synchronized void maybeLoadOtherSoLibraries() {\n if (!sIsSoLibraryLoaded) {\n // If you change the name of your application .so file in the Android.mk file,\n // make sure you update the name here as well.\n SoLoader.loadLibrary(\"rn070_appmodules\");\n sIsSoLibraryLoaded = true;\n }\n }\n}\n",
|
|
15
|
-
"/app/android/app/src/main/jni/CMakeLists.txt": "cmake_minimum_required(VERSION 3.13)\n\n# Define the library name here.\nproject(rn070_appmodules)\n\n# This file includes all the necessary to let you build your application with the New Architecture.\ninclude(${REACT_ANDROID_DIR}/cmake-utils/ReactNative-application.cmake)\n",
|
|
16
|
-
"/app/android/app/src/main/jni/MainApplicationModuleProvider.cpp": "#include \"MainApplicationModuleProvider.h\"\n\n#include <rncli.h>\n#include <rncore.h>\n\nnamespace facebook {\nnamespace react {\n\nstd::shared_ptr<TurboModule> MainApplicationModuleProvider(\n const std::string &moduleName,\n const JavaTurboModule::InitParams ¶ms) {\n // Here you can provide your own module provider for TurboModules coming from\n // either your application or from external libraries. The approach to follow\n // is similar to the following (for a library called `samplelibrary`:\n //\n // auto module = samplelibrary_ModuleProvider(moduleName, params);\n // if (module != nullptr) {\n // return module;\n // }\n // return rncore_ModuleProvider(moduleName, params);\n\n // Module providers autolinked by RN CLI\n auto rncli_module = rncli_ModuleProvider(moduleName, params);\n if (rncli_module != nullptr) {\n return rncli_module;\n }\n\n return rncore_ModuleProvider(moduleName, params);\n}\n\n} // namespace react\n} // namespace facebook\n",
|
|
17
|
-
"/app/android/app/src/main/jni/MainApplicationModuleProvider.h": "#pragma once\n\n#include <memory>\n#include <string>\n\n#include <ReactCommon/JavaTurboModule.h>\n\nnamespace facebook {\nnamespace react {\n\nstd::shared_ptr<TurboModule> MainApplicationModuleProvider(\n const std::string &moduleName,\n const JavaTurboModule::InitParams ¶ms);\n\n} // namespace react\n} // namespace facebook\n",
|
|
18
|
-
"/app/android/app/src/main/jni/MainApplicationTurboModuleManagerDelegate.cpp": "#include \"MainApplicationTurboModuleManagerDelegate.h\"\n#include \"MainApplicationModuleProvider.h\"\n\nnamespace facebook {\nnamespace react {\n\njni::local_ref<MainApplicationTurboModuleManagerDelegate::jhybriddata>\nMainApplicationTurboModuleManagerDelegate::initHybrid(\n jni::alias_ref<jhybridobject>) {\n return makeCxxInstance();\n}\n\nvoid MainApplicationTurboModuleManagerDelegate::registerNatives() {\n registerHybrid({\n makeNativeMethod(\n \"initHybrid\", MainApplicationTurboModuleManagerDelegate::initHybrid),\n makeNativeMethod(\n \"canCreateTurboModule\",\n MainApplicationTurboModuleManagerDelegate::canCreateTurboModule),\n });\n}\n\nstd::shared_ptr<TurboModule>\nMainApplicationTurboModuleManagerDelegate::getTurboModule(\n const std::string &name,\n const std::shared_ptr<CallInvoker> &jsInvoker) {\n // Not implemented yet: provide pure-C++ NativeModules here.\n return nullptr;\n}\n\nstd::shared_ptr<TurboModule>\nMainApplicationTurboModuleManagerDelegate::getTurboModule(\n const std::string &name,\n const JavaTurboModule::InitParams ¶ms) {\n return MainApplicationModuleProvider(name, params);\n}\n\nbool MainApplicationTurboModuleManagerDelegate::canCreateTurboModule(\n const std::string &name) {\n return getTurboModule(name, nullptr) != nullptr ||\n getTurboModule(name, {.moduleName = name}) != nullptr;\n}\n\n} // namespace react\n} // namespace facebook\n",
|
|
19
|
-
"/app/android/app/src/main/jni/MainApplicationTurboModuleManagerDelegate.h": "#include <memory>\n#include <string>\n\n#include <ReactCommon/TurboModuleManagerDelegate.h>\n#include <fbjni/fbjni.h>\n\nnamespace facebook {\nnamespace react {\n\nclass MainApplicationTurboModuleManagerDelegate\n : public jni::HybridClass<\n MainApplicationTurboModuleManagerDelegate,\n TurboModuleManagerDelegate> {\n public:\n // Adapt it to the package you used for your Java class.\n static constexpr auto kJavaDescriptor =\n \"Lcom/rn070/newarchitecture/modules/MainApplicationTurboModuleManagerDelegate;\";\n\n static jni::local_ref<jhybriddata> initHybrid(jni::alias_ref<jhybridobject>);\n\n static void registerNatives();\n\n std::shared_ptr<TurboModule> getTurboModule(\n const std::string &name,\n const std::shared_ptr<CallInvoker> &jsInvoker) override;\n std::shared_ptr<TurboModule> getTurboModule(\n const std::string &name,\n const JavaTurboModule::InitParams ¶ms) override;\n\n /**\n * Test-only method. Allows user to verify whether a TurboModule can be\n * created by instances of this class.\n */\n bool canCreateTurboModule(const std::string &name);\n};\n\n} // namespace react\n} // namespace facebook\n",
|
|
20
|
-
"/app/android/app/src/main/jni/MainComponentsRegistry.cpp": "#include \"MainComponentsRegistry.h\"\n\n#include <CoreComponentsRegistry.h>\n#include <fbjni/fbjni.h>\n#include <react/renderer/componentregistry/ComponentDescriptorProviderRegistry.h>\n#include <react/renderer/components/rncore/ComponentDescriptors.h>\n#include <rncli.h>\n\nnamespace facebook {\nnamespace react {\n\nMainComponentsRegistry::MainComponentsRegistry(ComponentFactory *delegate) {}\n\nstd::shared_ptr<ComponentDescriptorProviderRegistry const>\nMainComponentsRegistry::sharedProviderRegistry() {\n auto providerRegistry = CoreComponentsRegistry::sharedProviderRegistry();\n\n // Autolinked providers registered by RN CLI\n rncli_registerProviders(providerRegistry);\n\n // Custom Fabric Components go here. You can register custom\n // components coming from your App or from 3rd party libraries here.\n //\n // providerRegistry->add(concreteComponentDescriptorProvider<\n // AocViewerComponentDescriptor>());\n return providerRegistry;\n}\n\njni::local_ref<MainComponentsRegistry::jhybriddata>\nMainComponentsRegistry::initHybrid(\n jni::alias_ref<jclass>,\n ComponentFactory *delegate) {\n auto instance = makeCxxInstance(delegate);\n\n auto buildRegistryFunction =\n [](EventDispatcher::Weak const &eventDispatcher,\n ContextContainer::Shared const &contextContainer)\n -> ComponentDescriptorRegistry::Shared {\n auto registry = MainComponentsRegistry::sharedProviderRegistry()\n ->createComponentDescriptorRegistry(\n {eventDispatcher, contextContainer});\n\n auto mutableRegistry =\n std::const_pointer_cast<ComponentDescriptorRegistry>(registry);\n\n mutableRegistry->setFallbackComponentDescriptor(\n std::make_shared<UnimplementedNativeViewComponentDescriptor>(\n ComponentDescriptorParameters{\n eventDispatcher, contextContainer, nullptr}));\n\n return registry;\n };\n\n delegate->buildRegistryFunction = buildRegistryFunction;\n return instance;\n}\n\nvoid MainComponentsRegistry::registerNatives() {\n registerHybrid({\n makeNativeMethod(\"initHybrid\", MainComponentsRegistry::initHybrid),\n });\n}\n\n} // namespace react\n} // namespace facebook\n",
|
|
21
|
-
"/app/android/app/src/main/jni/MainComponentsRegistry.h": "#pragma once\n\n#include <ComponentFactory.h>\n#include <fbjni/fbjni.h>\n#include <react/renderer/componentregistry/ComponentDescriptorProviderRegistry.h>\n#include <react/renderer/componentregistry/ComponentDescriptorRegistry.h>\n\nnamespace facebook {\nnamespace react {\n\nclass MainComponentsRegistry\n : public facebook::jni::HybridClass<MainComponentsRegistry> {\n public:\n // Adapt it to the package you used for your Java class.\n constexpr static auto kJavaDescriptor =\n \"Lcom/rn070/newarchitecture/components/MainComponentsRegistry;\";\n\n static void registerNatives();\n\n MainComponentsRegistry(ComponentFactory *delegate);\n\n private:\n static std::shared_ptr<ComponentDescriptorProviderRegistry const>\n sharedProviderRegistry();\n\n static jni::local_ref<jhybriddata> initHybrid(\n jni::alias_ref<jclass>,\n ComponentFactory *delegate);\n};\n\n} // namespace react\n} // namespace facebook\n",
|
|
22
|
-
"/app/android/app/src/main/jni/OnLoad.cpp": "#include <fbjni/fbjni.h>\n#include \"MainApplicationTurboModuleManagerDelegate.h\"\n#include \"MainComponentsRegistry.h\"\n\nJNIEXPORT jint JNICALL JNI_OnLoad(JavaVM *vm, void *) {\n return facebook::jni::initialize(vm, [] {\n facebook::react::MainApplicationTurboModuleManagerDelegate::\n registerNatives();\n facebook::react::MainComponentsRegistry::registerNatives();\n });\n}\n",
|
|
23
|
-
"/app/android/app/src/main/res/drawable/rn_edit_text_material.xml": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!-- Copyright (C) 2014 The Android Open Source Project\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n-->\n<inset xmlns:android=\"http://schemas.android.com/apk/res/android\"\n android:insetLeft=\"@dimen/abc_edit_text_inset_horizontal_material\"\n android:insetRight=\"@dimen/abc_edit_text_inset_horizontal_material\"\n android:insetTop=\"@dimen/abc_edit_text_inset_top_material\"\n android:insetBottom=\"@dimen/abc_edit_text_inset_bottom_material\">\n\n <selector>\n <!-- \n This file is a copy of abc_edit_text_material (https://bit.ly/3k8fX7I).\n The item below with state_pressed=\"false\" and state_focused=\"false\" causes a NullPointerException.\n NullPointerException:tempt to invoke virtual method 'android.graphics.drawable.Drawable android.graphics.drawable.Drawable$ConstantState.newDrawable(android.content.res.Resources)'\n\n <item android:state_pressed=\"false\" android:state_focused=\"false\" android:drawable=\"@drawable/abc_textfield_default_mtrl_alpha\"/>\n\n For more info, see https://bit.ly/3CdLStv (react-native/pull/29452) and https://bit.ly/3nxOMoR.\n -->\n <item android:state_enabled=\"false\" android:drawable=\"@drawable/abc_textfield_default_mtrl_alpha\"/>\n <item android:drawable=\"@drawable/abc_textfield_activated_mtrl_alpha\"/>\n </selector>\n\n</inset>\n",
|
|
24
|
-
"/app/android/app/src/main/res/values/strings.xml": "<resources>\n <string name=\"app_name\">RN070</string>\n</resources>\n",
|
|
25
|
-
"/app/android/app/src/main/res/values/styles.xml": "<resources>\n\n <!-- Base application theme. -->\n <style name=\"AppTheme\" parent=\"Theme.AppCompat.DayNight.NoActionBar\">\n <!-- Customize your theme here. -->\n <item name=\"android:editTextBackground\">@drawable/rn_edit_text_material</item>\n </style>\n\n</resources>\n",
|
|
26
|
-
"/app/android/build.gradle": "// Top-level build file where you can add configuration options common to all sub-projects/modules.\n\nbuildscript {\n ext {\n buildToolsVersion = \"31.0.0\"\n minSdkVersion = 21\n compileSdkVersion = 31\n targetSdkVersion = 31\n\n if (System.properties['os.arch'] == \"aarch64\") {\n // For M1 Users we need to use the NDK 24 which added support for aarch64\n ndkVersion = \"24.0.8215888\"\n } else {\n // Otherwise we default to the side-by-side NDK version from AGP.\n ndkVersion = \"21.4.7075529\"\n }\n }\n repositories {\n google()\n mavenCentral()\n }\n dependencies {\n classpath(\"com.android.tools.build:gradle:7.2.1\")\n classpath(\"com.facebook.react:react-native-gradle-plugin\")\n classpath(\"de.undercouch:gradle-download-task:5.0.1\")\n // NOTE: Do not place your application dependencies here; they belong\n // in the individual module build.gradle files\n }\n}\n\nallprojects {\n repositories {\n maven {\n // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm\n url(\"$rootDir/../node_modules/react-native/android\")\n }\n maven {\n // Android JSC is installed from npm\n url(\"$rootDir/../node_modules/jsc-android/dist\")\n }\n mavenCentral {\n // We don't want to fetch react-native from Maven Central as there are\n // older versions over there.\n content {\n excludeGroup \"com.facebook.react\"\n }\n }\n google()\n maven { url 'https://www.jitpack.io' }\n }\n}\n",
|
|
27
|
-
"/app/android/gradle.properties": "# Project-wide Gradle settings.\n\n# IDE (e.g. Android Studio) users:\n# Gradle settings configured through the IDE *will override*\n# any settings specified in this file.\n\n# For more details on how to configure your build environment visit\n# http://www.gradle.org/docs/current/userguide/build_environment.html\n\n# Specifies the JVM arguments used for the daemon process.\n# The setting is particularly useful for tweaking memory settings.\n# Default value: -Xmx512m -XX:MaxMetaspaceSize=256m\norg.gradle.jvmargs=-Xmx2048m -XX:MaxMetaspaceSize=512m\n\n# When configured, Gradle will run in incubating parallel mode.\n# This option should only be used with decoupled projects. More details, visit\n# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects\n# org.gradle.parallel=true\n\n# AndroidX package structure to make it clearer which packages are bundled with the\n# Android operating system, and which are packaged with your app's APK\n# https://developer.android.com/topic/libraries/support-library/androidx-rn\nandroid.useAndroidX=true\n# Automatically convert third-party libraries to use AndroidX\nandroid.enableJetifier=true\n\n# Version of flipper SDK to use with React Native\nFLIPPER_VERSION=0.125.0\n\n# Use this property to specify which architecture you want to build.\n# You can also override it from the CLI using\n# ./gradlew <task> -PreactNativeArchitectures=x86_64\nreactNativeArchitectures=armeabi-v7a,arm64-v8a,x86,x86_64\n\n# Use this property to enable support to the new architecture.\n# This will allow you to use TurboModules and the Fabric render in\n# your application. You should enable this flag either if you want\n# to write custom TurboModules/Fabric components OR use libraries that\n# are providing them.\nnewArchEnabled=false\n",
|
|
28
|
-
"/app/android/settings.gradle": "rootProject.name = 'RN070'\napply from: file(\"../node_modules/@react-native-community/cli-platform-android/native_modules.gradle\"); applyNativeModulesSettingsGradle(settings)\ninclude ':app'\nincludeBuild('../node_modules/react-native-gradle-plugin')\n\nif (settings.hasProperty(\"newArchEnabled\") && settings.newArchEnabled == \"true\") {\n include(\":ReactAndroid\")\n project(\":ReactAndroid\").projectDir = file('../node_modules/react-native/ReactAndroid')\n include(\":ReactAndroid:hermes-engine\")\n project(\":ReactAndroid:hermes-engine\").projectDir = file('../node_modules/react-native/ReactAndroid/hermes-engine')\n}\n",
|
|
29
|
-
"/app/App.js": "/**\n * Sample React Native App\n * https://github.com/facebook/react-native\n *\n * @format\n * @flow strict-local\n */\n\nimport React from 'react';\nimport type {Node} from 'react';\nimport {\n SafeAreaView,\n ScrollView,\n StatusBar,\n StyleSheet,\n Text,\n useColorScheme,\n View,\n} from 'react-native';\n\nimport {\n Colors,\n DebugInstructions,\n Header,\n LearnMoreLinks,\n ReloadInstructions,\n} from 'react-native/Libraries/NewAppScreen';\n\n/* $FlowFixMe[missing-local-annot] The type annotation(s) required by Flow's\n * LTI update could not be added via codemod */\nconst Section = ({children, title}): Node => {\n const isDarkMode = useColorScheme() === 'dark';\n return (\n <View style={styles.sectionContainer}>\n <Text\n style={[\n styles.sectionTitle,\n {\n color: isDarkMode ? Colors.white : Colors.black,\n },\n ]}>\n {title}\n </Text>\n <Text\n style={[\n styles.sectionDescription,\n {\n color: isDarkMode ? Colors.light : Colors.dark,\n },\n ]}>\n {children}\n </Text>\n </View>\n );\n};\n\nconst App: () => Node = () => {\n const isDarkMode = useColorScheme() === 'dark';\n\n const backgroundStyle = {\n backgroundColor: isDarkMode ? Colors.darker : Colors.lighter,\n };\n\n return (\n <SafeAreaView style={backgroundStyle}>\n <StatusBar\n barStyle={isDarkMode ? 'light-content' : 'dark-content'}\n backgroundColor={backgroundStyle.backgroundColor}\n />\n <ScrollView\n contentInsetAdjustmentBehavior=\"automatic\"\n style={backgroundStyle}>\n <Header />\n <View\n style={{\n backgroundColor: isDarkMode ? Colors.black : Colors.white,\n }}>\n <Section title=\"Step One\">\n Edit <Text style={styles.highlight}>App.js</Text> to change this\n screen and then come back to see your edits.\n </Section>\n <Section title=\"See Your Changes\">\n <ReloadInstructions />\n </Section>\n <Section title=\"Debug\">\n <DebugInstructions />\n </Section>\n <Section title=\"Learn More\">\n Read the docs to discover what to do next:\n </Section>\n <LearnMoreLinks />\n </View>\n </ScrollView>\n </SafeAreaView>\n );\n};\n\nconst styles = StyleSheet.create({\n sectionContainer: {\n marginTop: 32,\n paddingHorizontal: 24,\n },\n sectionTitle: {\n fontSize: 24,\n fontWeight: '600',\n },\n sectionDescription: {\n marginTop: 8,\n fontSize: 18,\n fontWeight: '400',\n },\n highlight: {\n fontWeight: '700',\n },\n});\n\nexport default App;\n",
|
|
30
|
-
"/app/app.json": "{\n \"name\": \"RN070\",\n \"displayName\": \"RN070\"\n}",
|
|
31
|
-
"/app/babel.config.js": "module.exports = {\n presets: ['module:metro-react-native-babel-preset'],\n};\n",
|
|
32
|
-
"/app/Gemfile": "source 'https://rubygems.org'\n\n# You may use http://rbenv.org/ or https://rvm.io/ to install and use this version\nruby '2.7.5'\n\ngem 'cocoapods', '~> 1.11', '>= 1.11.2'\n",
|
|
33
|
-
"/app/index.js": "/**\n * @format\n */\n\nimport {AppRegistry} from 'react-native';\nimport App from './App';\nimport {name as appName} from './app.json';\n\nAppRegistry.registerComponent(appName, () => App);\n",
|
|
34
|
-
"/app/ios/Podfile": "require_relative '../node_modules/react-native/scripts/react_native_pods'\nrequire_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'\n\nplatform :ios, '12.4'\ninstall! 'cocoapods', :deterministic_uuids => false\n\ntarget 'RN070' do\n config = use_native_modules!\n\n # Flags change depending on the env values.\n flags = get_default_flags()\n\n use_react_native!(\n :path => config[:reactNativePath],\n # Hermes is now enabled by default. Disable by setting this flag to false.\n # Upcoming versions of React Native may rely on get_default_flags(), but\n # we make it explicit here to aid in the React Native upgrade process.\n :hermes_enabled => true,\n :fabric_enabled => flags[:fabric_enabled],\n # Enables Flipper.\n #\n # Note that if you have use_frameworks! enabled, Flipper will not work and\n # you should disable the next line.\n :flipper_configuration => FlipperConfiguration.enabled,\n # An absolute path to your application root.\n :app_path => \"#{Pod::Config.instance.installation_root}/..\"\n )\n\n target 'RN070Tests' do\n inherit! :complete\n # Pods for testing\n end\n\n post_install do |installer|\n react_native_post_install(\n installer,\n # Set `mac_catalyst_enabled` to `true` in order to apply patches\n # necessary for Mac Catalyst builds\n :mac_catalyst_enabled => false\n )\n __apply_Xcode_12_5_M1_post_install_workaround(installer)\n end\nend\n",
|
|
35
|
-
"/app/ios/RN070.xcodeproj/project.pbxproj": "// !$*UTF8*$!\n{\n\tarchiveVersion = 1;\n\tclasses = {\n\t};\n\tobjectVersion = 54;\n\tobjects = {\n\n/* Begin PBXBuildFile section */\n\t\t00E356F31AD99517003FC87E /* RN070Tests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* RN070Tests.m */; };\n\t\t0C80B921A6F3F58F76C31292 /* libPods-RN070.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5DCACB8F33CDC322A6C60F78 /* libPods-RN070.a */; };\n\t\t13B07FBC1A68108700A75B9A /* AppDelegate.mm in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.mm */; };\n\t\t13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };\n\t\t13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; };\n\t\t7699B88040F8A987B510C191 /* libPods-RN070-RN070Tests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 19F6CBCC0A4E27FBF8BF4A61 /* libPods-RN070-RN070Tests.a */; };\n\t\t81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */; };\n/* End PBXBuildFile section */\n\n/* Begin PBXContainerItemProxy section */\n\t\t00E356F41AD99517003FC87E /* PBXContainerItemProxy */ = {\n\t\t\tisa = PBXContainerItemProxy;\n\t\t\tcontainerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */;\n\t\t\tproxyType = 1;\n\t\t\tremoteGlobalIDString = 13B07F861A680F5B00A75B9A;\n\t\t\tremoteInfo = RN070;\n\t\t};\n/* End PBXContainerItemProxy section */\n\n/* Begin PBXFileReference section */\n\t\t00E356EE1AD99517003FC87E /* RN070Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = RN070Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };\n\t\t00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = \"<group>\"; };\n\t\t00E356F21AD99517003FC87E /* RN070Tests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = RN070Tests.m; sourceTree = \"<group>\"; };\n\t\t13B07F961A680F5B00A75B9A /* RN070.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = RN070.app; sourceTree = BUILT_PRODUCTS_DIR; };\n\t\t13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = RN070/AppDelegate.h; sourceTree = \"<group>\"; };\n\t\t13B07FB01A68108700A75B9A /* AppDelegate.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; name = AppDelegate.mm; path = RN070/AppDelegate.mm; sourceTree = \"<group>\"; };\n\t\t13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = RN070/Images.xcassets; sourceTree = \"<group>\"; };\n\t\t13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = RN070/Info.plist; sourceTree = \"<group>\"; };\n\t\t13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = RN070/main.m; sourceTree = \"<group>\"; };\n\t\t19F6CBCC0A4E27FBF8BF4A61 /* libPods-RN070-RN070Tests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = \"libPods-RN070-RN070Tests.a\"; sourceTree = BUILT_PRODUCTS_DIR; };\n\t\t3B4392A12AC88292D35C810B /* Pods-RN070.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = \"Pods-RN070.debug.xcconfig\"; path = \"Target Support Files/Pods-RN070/Pods-RN070.debug.xcconfig\"; sourceTree = \"<group>\"; };\n\t\t5709B34CF0A7D63546082F79 /* Pods-RN070.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = \"Pods-RN070.release.xcconfig\"; path = \"Target Support Files/Pods-RN070/Pods-RN070.release.xcconfig\"; sourceTree = \"<group>\"; };\n\t\t5B7EB9410499542E8C5724F5 /* Pods-RN070-RN070Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = \"Pods-RN070-RN070Tests.debug.xcconfig\"; path = \"Target Support Files/Pods-RN070-RN070Tests/Pods-RN070-RN070Tests.debug.xcconfig\"; sourceTree = \"<group>\"; };\n\t\t5DCACB8F33CDC322A6C60F78 /* libPods-RN070.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = \"libPods-RN070.a\"; sourceTree = BUILT_PRODUCTS_DIR; };\n\t\t81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = LaunchScreen.storyboard; path = RN070/LaunchScreen.storyboard; sourceTree = \"<group>\"; };\n\t\t89C6BE57DB24E9ADA2F236DE /* Pods-RN070-RN070Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = \"Pods-RN070-RN070Tests.release.xcconfig\"; path = \"Target Support Files/Pods-RN070-RN070Tests/Pods-RN070-RN070Tests.release.xcconfig\"; sourceTree = \"<group>\"; };\n\t\tED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; };\n/* End PBXFileReference section */\n\n/* Begin PBXFrameworksBuildPhase section */\n\t\t00E356EB1AD99517003FC87E /* Frameworks */ = {\n\t\t\tisa = PBXFrameworksBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t7699B88040F8A987B510C191 /* libPods-RN070-RN070Tests.a in Frameworks */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n\t\t13B07F8C1A680F5B00A75B9A /* Frameworks */ = {\n\t\t\tisa = PBXFrameworksBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t0C80B921A6F3F58F76C31292 /* libPods-RN070.a in Frameworks */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXFrameworksBuildPhase section */\n\n/* Begin PBXGroup section */\n\t\t00E356EF1AD99517003FC87E /* RN070Tests */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t00E356F21AD99517003FC87E /* RN070Tests.m */,\n\t\t\t\t00E356F01AD99517003FC87E /* Supporting Files */,\n\t\t\t);\n\t\t\tpath = RN070Tests;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t00E356F01AD99517003FC87E /* Supporting Files */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t00E356F11AD99517003FC87E /* Info.plist */,\n\t\t\t);\n\t\t\tname = \"Supporting Files\";\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t13B07FAE1A68108700A75B9A /* RN070 */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t13B07FAF1A68108700A75B9A /* AppDelegate.h */,\n\t\t\t\t13B07FB01A68108700A75B9A /* AppDelegate.mm */,\n\t\t\t\t13B07FB51A68108700A75B9A /* Images.xcassets */,\n\t\t\t\t13B07FB61A68108700A75B9A /* Info.plist */,\n\t\t\t\t81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */,\n\t\t\t\t13B07FB71A68108700A75B9A /* main.m */,\n\t\t\t);\n\t\t\tname = RN070;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t2D16E6871FA4F8E400B85C8A /* Frameworks */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\tED297162215061F000B7C4FE /* JavaScriptCore.framework */,\n\t\t\t\t5DCACB8F33CDC322A6C60F78 /* libPods-RN070.a */,\n\t\t\t\t19F6CBCC0A4E27FBF8BF4A61 /* libPods-RN070-RN070Tests.a */,\n\t\t\t);\n\t\t\tname = Frameworks;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t832341AE1AAA6A7D00B99B32 /* Libraries */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t);\n\t\t\tname = Libraries;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\t83CBB9F61A601CBA00E9B192 = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t13B07FAE1A68108700A75B9A /* RN070 */,\n\t\t\t\t832341AE1AAA6A7D00B99B32 /* Libraries */,\n\t\t\t\t00E356EF1AD99517003FC87E /* RN070Tests */,\n\t\t\t\t83CBBA001A601CBA00E9B192 /* Products */,\n\t\t\t\t2D16E6871FA4F8E400B85C8A /* Frameworks */,\n\t\t\t\tBBD78D7AC51CEA395F1C20DB /* Pods */,\n\t\t\t);\n\t\t\tindentWidth = 2;\n\t\t\tsourceTree = \"<group>\";\n\t\t\ttabWidth = 2;\n\t\t\tusesTabs = 0;\n\t\t};\n\t\t83CBBA001A601CBA00E9B192 /* Products */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t13B07F961A680F5B00A75B9A /* RN070.app */,\n\t\t\t\t00E356EE1AD99517003FC87E /* RN070Tests.xctest */,\n\t\t\t);\n\t\t\tname = Products;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n\t\tBBD78D7AC51CEA395F1C20DB /* Pods */ = {\n\t\t\tisa = PBXGroup;\n\t\t\tchildren = (\n\t\t\t\t3B4392A12AC88292D35C810B /* Pods-RN070.debug.xcconfig */,\n\t\t\t\t5709B34CF0A7D63546082F79 /* Pods-RN070.release.xcconfig */,\n\t\t\t\t5B7EB9410499542E8C5724F5 /* Pods-RN070-RN070Tests.debug.xcconfig */,\n\t\t\t\t89C6BE57DB24E9ADA2F236DE /* Pods-RN070-RN070Tests.release.xcconfig */,\n\t\t\t);\n\t\t\tpath = Pods;\n\t\t\tsourceTree = \"<group>\";\n\t\t};\n/* End PBXGroup section */\n\n/* Begin PBXNativeTarget section */\n\t\t00E356ED1AD99517003FC87E /* RN070Tests */ = {\n\t\t\tisa = PBXNativeTarget;\n\t\t\tbuildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget \"RN070Tests\" */;\n\t\t\tbuildPhases = (\n\t\t\t\tA55EABD7B0C7F3A422A6CC61 /* [CP] Check Pods Manifest.lock */,\n\t\t\t\t00E356EA1AD99517003FC87E /* Sources */,\n\t\t\t\t00E356EB1AD99517003FC87E /* Frameworks */,\n\t\t\t\t00E356EC1AD99517003FC87E /* Resources */,\n\t\t\t\tC59DA0FBD6956966B86A3779 /* [CP] Embed Pods Frameworks */,\n\t\t\t\tF6A41C54EA430FDDC6A6ED99 /* [CP] Copy Pods Resources */,\n\t\t\t);\n\t\t\tbuildRules = (\n\t\t\t);\n\t\t\tdependencies = (\n\t\t\t\t00E356F51AD99517003FC87E /* PBXTargetDependency */,\n\t\t\t);\n\t\t\tname = RN070Tests;\n\t\t\tproductName = RN070Tests;\n\t\t\tproductReference = 00E356EE1AD99517003FC87E /* RN070Tests.xctest */;\n\t\t\tproductType = \"com.apple.product-type.bundle.unit-test\";\n\t\t};\n\t\t13B07F861A680F5B00A75B9A /* RN070 */ = {\n\t\t\tisa = PBXNativeTarget;\n\t\t\tbuildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget \"RN070\" */;\n\t\t\tbuildPhases = (\n\t\t\t\tC38B50BA6285516D6DCD4F65 /* [CP] Check Pods Manifest.lock */,\n\t\t\t\tFD10A7F022414F080027D42C /* Start Packager */,\n\t\t\t\t13B07F871A680F5B00A75B9A /* Sources */,\n\t\t\t\t13B07F8C1A680F5B00A75B9A /* Frameworks */,\n\t\t\t\t13B07F8E1A680F5B00A75B9A /* Resources */,\n\t\t\t\t00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */,\n\t\t\t\t00EEFC60759A1932668264C0 /* [CP] Embed Pods Frameworks */,\n\t\t\t\tE235C05ADACE081382539298 /* [CP] Copy Pods Resources */,\n\t\t\t);\n\t\t\tbuildRules = (\n\t\t\t);\n\t\t\tdependencies = (\n\t\t\t);\n\t\t\tname = RN070;\n\t\t\tproductName = RN070;\n\t\t\tproductReference = 13B07F961A680F5B00A75B9A /* RN070.app */;\n\t\t\tproductType = \"com.apple.product-type.application\";\n\t\t};\n/* End PBXNativeTarget section */\n\n/* Begin PBXProject section */\n\t\t83CBB9F71A601CBA00E9B192 /* Project object */ = {\n\t\t\tisa = PBXProject;\n\t\t\tattributes = {\n\t\t\t\tLastUpgradeCheck = 1210;\n\t\t\t\tTargetAttributes = {\n\t\t\t\t\t00E356ED1AD99517003FC87E = {\n\t\t\t\t\t\tCreatedOnToolsVersion = 6.2;\n\t\t\t\t\t\tTestTargetID = 13B07F861A680F5B00A75B9A;\n\t\t\t\t\t};\n\t\t\t\t\t13B07F861A680F5B00A75B9A = {\n\t\t\t\t\t\tLastSwiftMigration = 1120;\n\t\t\t\t\t};\n\t\t\t\t};\n\t\t\t};\n\t\t\tbuildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject \"RN070\" */;\n\t\t\tcompatibilityVersion = \"Xcode 12.0\";\n\t\t\tdevelopmentRegion = en;\n\t\t\thasScannedForEncodings = 0;\n\t\t\tknownRegions = (\n\t\t\t\ten,\n\t\t\t\tBase,\n\t\t\t);\n\t\t\tmainGroup = 83CBB9F61A601CBA00E9B192;\n\t\t\tproductRefGroup = 83CBBA001A601CBA00E9B192 /* Products */;\n\t\t\tprojectDirPath = \"\";\n\t\t\tprojectRoot = \"\";\n\t\t\ttargets = (\n\t\t\t\t13B07F861A680F5B00A75B9A /* RN070 */,\n\t\t\t\t00E356ED1AD99517003FC87E /* RN070Tests */,\n\t\t\t);\n\t\t};\n/* End PBXProject section */\n\n/* Begin PBXResourcesBuildPhase section */\n\t\t00E356EC1AD99517003FC87E /* Resources */ = {\n\t\t\tisa = PBXResourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n\t\t13B07F8E1A680F5B00A75B9A /* Resources */ = {\n\t\t\tisa = PBXResourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */,\n\t\t\t\t13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXResourcesBuildPhase section */\n\n/* Begin PBXShellScriptBuildPhase section */\n\t\t00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */ = {\n\t\t\tisa = PBXShellScriptBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\tinputPaths = (\n\t\t\t\t\"$(SRCROOT)/.xcode.env.local\",\n\t\t\t\t\"$(SRCROOT)/.xcode.env\",\n\t\t\t);\n\t\t\tname = \"Bundle React Native code and images\";\n\t\t\toutputPaths = (\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t\tshellPath = /bin/sh;\n\t\t\tshellScript = \"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\";\n\t\t};\n\t\t00EEFC60759A1932668264C0 /* [CP] Embed Pods Frameworks */ = {\n\t\t\tisa = PBXShellScriptBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\tinputFileListPaths = (\n\t\t\t\t\"${PODS_ROOT}/Target Support Files/Pods-RN070/Pods-RN070-frameworks-${CONFIGURATION}-input-files.xcfilelist\",\n\t\t\t);\n\t\t\tname = \"[CP] Embed Pods Frameworks\";\n\t\t\toutputFileListPaths = (\n\t\t\t\t\"${PODS_ROOT}/Target Support Files/Pods-RN070/Pods-RN070-frameworks-${CONFIGURATION}-output-files.xcfilelist\",\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t\tshellPath = /bin/sh;\n\t\t\tshellScript = \"\\\"${PODS_ROOT}/Target Support Files/Pods-RN070/Pods-RN070-frameworks.sh\\\"\\n\";\n\t\t\tshowEnvVarsInLog = 0;\n\t\t};\n\t\tA55EABD7B0C7F3A422A6CC61 /* [CP] Check Pods Manifest.lock */ = {\n\t\t\tisa = PBXShellScriptBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\tinputFileListPaths = (\n\t\t\t);\n\t\t\tinputPaths = (\n\t\t\t\t\"${PODS_PODFILE_DIR_PATH}/Podfile.lock\",\n\t\t\t\t\"${PODS_ROOT}/Manifest.lock\",\n\t\t\t);\n\t\t\tname = \"[CP] Check Pods Manifest.lock\";\n\t\t\toutputFileListPaths = (\n\t\t\t);\n\t\t\toutputPaths = (\n\t\t\t\t\"$(DERIVED_FILE_DIR)/Pods-RN070-RN070Tests-checkManifestLockResult.txt\",\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t\tshellPath = /bin/sh;\n\t\t\tshellScript = \"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\";\n\t\t\tshowEnvVarsInLog = 0;\n\t\t};\n\t\tC38B50BA6285516D6DCD4F65 /* [CP] Check Pods Manifest.lock */ = {\n\t\t\tisa = PBXShellScriptBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\tinputFileListPaths = (\n\t\t\t);\n\t\t\tinputPaths = (\n\t\t\t\t\"${PODS_PODFILE_DIR_PATH}/Podfile.lock\",\n\t\t\t\t\"${PODS_ROOT}/Manifest.lock\",\n\t\t\t);\n\t\t\tname = \"[CP] Check Pods Manifest.lock\";\n\t\t\toutputFileListPaths = (\n\t\t\t);\n\t\t\toutputPaths = (\n\t\t\t\t\"$(DERIVED_FILE_DIR)/Pods-RN070-checkManifestLockResult.txt\",\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t\tshellPath = /bin/sh;\n\t\t\tshellScript = \"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\";\n\t\t\tshowEnvVarsInLog = 0;\n\t\t};\n\t\tC59DA0FBD6956966B86A3779 /* [CP] Embed Pods Frameworks */ = {\n\t\t\tisa = PBXShellScriptBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\tinputFileListPaths = (\n\t\t\t\t\"${PODS_ROOT}/Target Support Files/Pods-RN070-RN070Tests/Pods-RN070-RN070Tests-frameworks-${CONFIGURATION}-input-files.xcfilelist\",\n\t\t\t);\n\t\t\tname = \"[CP] Embed Pods Frameworks\";\n\t\t\toutputFileListPaths = (\n\t\t\t\t\"${PODS_ROOT}/Target Support Files/Pods-RN070-RN070Tests/Pods-RN070-RN070Tests-frameworks-${CONFIGURATION}-output-files.xcfilelist\",\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t\tshellPath = /bin/sh;\n\t\t\tshellScript = \"\\\"${PODS_ROOT}/Target Support Files/Pods-RN070-RN070Tests/Pods-RN070-RN070Tests-frameworks.sh\\\"\\n\";\n\t\t\tshowEnvVarsInLog = 0;\n\t\t};\n\t\tE235C05ADACE081382539298 /* [CP] Copy Pods Resources */ = {\n\t\t\tisa = PBXShellScriptBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\tinputFileListPaths = (\n\t\t\t\t\"${PODS_ROOT}/Target Support Files/Pods-RN070/Pods-RN070-resources-${CONFIGURATION}-input-files.xcfilelist\",\n\t\t\t);\n\t\t\tname = \"[CP] Copy Pods Resources\";\n\t\t\toutputFileListPaths = (\n\t\t\t\t\"${PODS_ROOT}/Target Support Files/Pods-RN070/Pods-RN070-resources-${CONFIGURATION}-output-files.xcfilelist\",\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t\tshellPath = /bin/sh;\n\t\t\tshellScript = \"\\\"${PODS_ROOT}/Target Support Files/Pods-RN070/Pods-RN070-resources.sh\\\"\\n\";\n\t\t\tshowEnvVarsInLog = 0;\n\t\t};\n\t\tF6A41C54EA430FDDC6A6ED99 /* [CP] Copy Pods Resources */ = {\n\t\t\tisa = PBXShellScriptBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\tinputFileListPaths = (\n\t\t\t\t\"${PODS_ROOT}/Target Support Files/Pods-RN070-RN070Tests/Pods-RN070-RN070Tests-resources-${CONFIGURATION}-input-files.xcfilelist\",\n\t\t\t);\n\t\t\tname = \"[CP] Copy Pods Resources\";\n\t\t\toutputFileListPaths = (\n\t\t\t\t\"${PODS_ROOT}/Target Support Files/Pods-RN070-RN070Tests/Pods-RN070-RN070Tests-resources-${CONFIGURATION}-output-files.xcfilelist\",\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t\tshellPath = /bin/sh;\n\t\t\tshellScript = \"\\\"${PODS_ROOT}/Target Support Files/Pods-RN070-RN070Tests/Pods-RN070-RN070Tests-resources.sh\\\"\\n\";\n\t\t\tshowEnvVarsInLog = 0;\n\t\t};\n\t\tFD10A7F022414F080027D42C /* Start Packager */ = {\n\t\t\tisa = PBXShellScriptBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t);\n\t\t\tinputFileListPaths = (\n\t\t\t);\n\t\t\tinputPaths = (\n\t\t\t);\n\t\t\tname = \"Start Packager\";\n\t\t\toutputFileListPaths = (\n\t\t\t);\n\t\t\toutputPaths = (\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t\tshellPath = /bin/sh;\n\t\t\tshellScript = \"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/expo/scripts/launchPackager.command\\\" || echo \\\"Can't start packager automatically\\\"\\n fi\\nfi\\n\";\n\t\t\tshowEnvVarsInLog = 0;\n\t\t};\n/* End PBXShellScriptBuildPhase section */\n\n/* Begin PBXSourcesBuildPhase section */\n\t\t00E356EA1AD99517003FC87E /* Sources */ = {\n\t\t\tisa = PBXSourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t00E356F31AD99517003FC87E /* RN070Tests.m in Sources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n\t\t13B07F871A680F5B00A75B9A /* Sources */ = {\n\t\t\tisa = PBXSourcesBuildPhase;\n\t\t\tbuildActionMask = 2147483647;\n\t\t\tfiles = (\n\t\t\t\t13B07FBC1A68108700A75B9A /* AppDelegate.mm in Sources */,\n\t\t\t\t13B07FC11A68108700A75B9A /* main.m in Sources */,\n\t\t\t);\n\t\t\trunOnlyForDeploymentPostprocessing = 0;\n\t\t};\n/* End PBXSourcesBuildPhase section */\n\n/* Begin PBXTargetDependency section */\n\t\t00E356F51AD99517003FC87E /* PBXTargetDependency */ = {\n\t\t\tisa = PBXTargetDependency;\n\t\t\ttarget = 13B07F861A680F5B00A75B9A /* RN070 */;\n\t\t\ttargetProxy = 00E356F41AD99517003FC87E /* PBXContainerItemProxy */;\n\t\t};\n/* End PBXTargetDependency section */\n\n/* Begin XCBuildConfiguration section */\n\t\t00E356F61AD99517003FC87E /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbaseConfigurationReference = 5B7EB9410499542E8C5724F5 /* Pods-RN070-RN070Tests.debug.xcconfig */;\n\t\t\tbuildSettings = {\n\t\t\t\tBUNDLE_LOADER = \"$(TEST_HOST)\";\n\t\t\t\tGCC_PREPROCESSOR_DEFINITIONS = (\n\t\t\t\t\t\"DEBUG=1\",\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t);\n\t\t\t\tINFOPLIST_FILE = RN070Tests/Info.plist;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 12.4;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = (\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t\t\"@executable_path/Frameworks\",\n\t\t\t\t\t\"@loader_path/Frameworks\",\n\t\t\t\t);\n\t\t\t\tOTHER_LDFLAGS = (\n\t\t\t\t\t\"-ObjC\",\n\t\t\t\t\t\"-lc++\",\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t);\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = \"org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)\";\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tTEST_HOST = \"$(BUILT_PRODUCTS_DIR)/RN070.app/RN070\";\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t00E356F71AD99517003FC87E /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbaseConfigurationReference = 89C6BE57DB24E9ADA2F236DE /* Pods-RN070-RN070Tests.release.xcconfig */;\n\t\t\tbuildSettings = {\n\t\t\t\tBUNDLE_LOADER = \"$(TEST_HOST)\";\n\t\t\t\tCOPY_PHASE_STRIP = NO;\n\t\t\t\tINFOPLIST_FILE = RN070Tests/Info.plist;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 12.4;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = (\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t\t\"@executable_path/Frameworks\",\n\t\t\t\t\t\"@loader_path/Frameworks\",\n\t\t\t\t);\n\t\t\t\tOTHER_LDFLAGS = (\n\t\t\t\t\t\"-ObjC\",\n\t\t\t\t\t\"-lc++\",\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t);\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = \"org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)\";\n\t\t\t\tPRODUCT_NAME = \"$(TARGET_NAME)\";\n\t\t\t\tTEST_HOST = \"$(BUILT_PRODUCTS_DIR)/RN070.app/RN070\";\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n\t\t13B07F941A680F5B00A75B9A /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbaseConfigurationReference = 3B4392A12AC88292D35C810B /* Pods-RN070.debug.xcconfig */;\n\t\t\tbuildSettings = {\n\t\t\t\tASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCURRENT_PROJECT_VERSION = 1;\n\t\t\t\tENABLE_BITCODE = NO;\n\t\t\t\tINFOPLIST_FILE = RN070/Info.plist;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = (\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t\t\"@executable_path/Frameworks\",\n\t\t\t\t);\n\t\t\t\tOTHER_LDFLAGS = (\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t\t\"-ObjC\",\n\t\t\t\t\t\"-lc++\",\n\t\t\t\t);\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = \"org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)\";\n\t\t\t\tPRODUCT_NAME = RN070;\n\t\t\t\tSWIFT_OPTIMIZATION_LEVEL = \"-Onone\";\n\t\t\t\tSWIFT_VERSION = 5.0;\n\t\t\t\tVERSIONING_SYSTEM = \"apple-generic\";\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t13B07F951A680F5B00A75B9A /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbaseConfigurationReference = 5709B34CF0A7D63546082F79 /* Pods-RN070.release.xcconfig */;\n\t\t\tbuildSettings = {\n\t\t\t\tASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCURRENT_PROJECT_VERSION = 1;\n\t\t\t\tINFOPLIST_FILE = RN070/Info.plist;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = (\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t\t\"@executable_path/Frameworks\",\n\t\t\t\t);\n\t\t\t\tOTHER_LDFLAGS = (\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t\t\"-ObjC\",\n\t\t\t\t\t\"-lc++\",\n\t\t\t\t);\n\t\t\t\tPRODUCT_BUNDLE_IDENTIFIER = \"org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)\";\n\t\t\t\tPRODUCT_NAME = RN070;\n\t\t\t\tSWIFT_VERSION = 5.0;\n\t\t\t\tVERSIONING_SYSTEM = \"apple-generic\";\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n\t\t83CBBA201A601CBA00E9B192 /* Debug */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;\n\t\t\t\tCLANG_CXX_LANGUAGE_STANDARD = \"c++17\";\n\t\t\t\tCLANG_CXX_LIBRARY = \"libc++\";\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;\n\t\t\t\tCLANG_WARN_BOOL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_COMMA = YES;\n\t\t\t\tCLANG_WARN_CONSTANT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;\n\t\t\t\tCLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;\n\t\t\t\tCLANG_WARN_EMPTY_BODY = YES;\n\t\t\t\tCLANG_WARN_ENUM_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_INFINITE_RECURSION = YES;\n\t\t\t\tCLANG_WARN_INT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;\n\t\t\t\tCLANG_WARN_OBJC_LITERAL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;\n\t\t\t\tCLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;\n\t\t\t\tCLANG_WARN_RANGE_LOOP_ANALYSIS = YES;\n\t\t\t\tCLANG_WARN_STRICT_PROTOTYPES = YES;\n\t\t\t\tCLANG_WARN_SUSPICIOUS_MOVE = YES;\n\t\t\t\tCLANG_WARN_UNREACHABLE_CODE = YES;\n\t\t\t\tCLANG_WARN__DUPLICATE_METHOD_MATCH = YES;\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"iPhone Developer\";\n\t\t\t\tCOPY_PHASE_STRIP = NO;\n\t\t\t\tENABLE_STRICT_OBJC_MSGSEND = YES;\n\t\t\t\tENABLE_TESTABILITY = YES;\n\t\t\t\t\"EXCLUDED_ARCHS[sdk=iphonesimulator*]\" = i386;\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = gnu99;\n\t\t\t\tGCC_DYNAMIC_NO_PIC = NO;\n\t\t\t\tGCC_NO_COMMON_BLOCKS = YES;\n\t\t\t\tGCC_OPTIMIZATION_LEVEL = 0;\n\t\t\t\tGCC_PREPROCESSOR_DEFINITIONS = (\n\t\t\t\t\t\"DEBUG=1\",\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t);\n\t\t\t\tGCC_SYMBOLS_PRIVATE_EXTERN = NO;\n\t\t\t\tGCC_WARN_64_TO_32_BIT_CONVERSION = YES;\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;\n\t\t\t\tGCC_WARN_UNDECLARED_SELECTOR = YES;\n\t\t\t\tGCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;\n\t\t\t\tGCC_WARN_UNUSED_FUNCTION = YES;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 12.4;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = (\n\t\t\t\t\t/usr/lib/swift,\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t);\n\t\t\t\tLIBRARY_SEARCH_PATHS = (\n\t\t\t\t\t\"\\\"$(SDKROOT)/usr/lib/swift\\\"\",\n\t\t\t\t\t\"\\\"$(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)\\\"\",\n\t\t\t\t\t\"\\\"$(inherited)\\\"\",\n\t\t\t\t);\n\t\t\t\tMTL_ENABLE_DEBUG_INFO = YES;\n\t\t\t\tONLY_ACTIVE_ARCH = YES;\n\t\t\t\tOTHER_CPLUSPLUSFLAGS = (\n\t\t\t\t\t\"$(OTHER_CFLAGS)\",\n\t\t\t\t\t\"-DFOLLY_NO_CONFIG\",\n\t\t\t\t\t\"-DFOLLY_MOBILE=1\",\n\t\t\t\t\t\"-DFOLLY_USE_LIBCPP=1\",\n\t\t\t\t);\n\t\t\t\tREACT_NATIVE_PATH = \"${PODS_ROOT}/../../node_modules/react-native\";\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t};\n\t\t\tname = Debug;\n\t\t};\n\t\t83CBBA211A601CBA00E9B192 /* Release */ = {\n\t\t\tisa = XCBuildConfiguration;\n\t\t\tbuildSettings = {\n\t\t\t\tALWAYS_SEARCH_USER_PATHS = NO;\n\t\t\t\tCLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;\n\t\t\t\tCLANG_CXX_LANGUAGE_STANDARD = \"c++17\";\n\t\t\t\tCLANG_CXX_LIBRARY = \"libc++\";\n\t\t\t\tCLANG_ENABLE_MODULES = YES;\n\t\t\t\tCLANG_ENABLE_OBJC_ARC = YES;\n\t\t\t\tCLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;\n\t\t\t\tCLANG_WARN_BOOL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_COMMA = YES;\n\t\t\t\tCLANG_WARN_CONSTANT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;\n\t\t\t\tCLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;\n\t\t\t\tCLANG_WARN_EMPTY_BODY = YES;\n\t\t\t\tCLANG_WARN_ENUM_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_INFINITE_RECURSION = YES;\n\t\t\t\tCLANG_WARN_INT_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;\n\t\t\t\tCLANG_WARN_OBJC_LITERAL_CONVERSION = YES;\n\t\t\t\tCLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;\n\t\t\t\tCLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;\n\t\t\t\tCLANG_WARN_RANGE_LOOP_ANALYSIS = YES;\n\t\t\t\tCLANG_WARN_STRICT_PROTOTYPES = YES;\n\t\t\t\tCLANG_WARN_SUSPICIOUS_MOVE = YES;\n\t\t\t\tCLANG_WARN_UNREACHABLE_CODE = YES;\n\t\t\t\tCLANG_WARN__DUPLICATE_METHOD_MATCH = YES;\n\t\t\t\t\"CODE_SIGN_IDENTITY[sdk=iphoneos*]\" = \"iPhone Developer\";\n\t\t\t\tCOPY_PHASE_STRIP = YES;\n\t\t\t\tENABLE_NS_ASSERTIONS = NO;\n\t\t\t\tENABLE_STRICT_OBJC_MSGSEND = YES;\n\t\t\t\t\"EXCLUDED_ARCHS[sdk=iphonesimulator*]\" = i386;\n\t\t\t\tGCC_C_LANGUAGE_STANDARD = gnu99;\n\t\t\t\tGCC_NO_COMMON_BLOCKS = YES;\n\t\t\t\tGCC_WARN_64_TO_32_BIT_CONVERSION = YES;\n\t\t\t\tGCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;\n\t\t\t\tGCC_WARN_UNDECLARED_SELECTOR = YES;\n\t\t\t\tGCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;\n\t\t\t\tGCC_WARN_UNUSED_FUNCTION = YES;\n\t\t\t\tGCC_WARN_UNUSED_VARIABLE = YES;\n\t\t\t\tIPHONEOS_DEPLOYMENT_TARGET = 12.4;\n\t\t\t\tLD_RUNPATH_SEARCH_PATHS = (\n\t\t\t\t\t/usr/lib/swift,\n\t\t\t\t\t\"$(inherited)\",\n\t\t\t\t);\n\t\t\t\tLIBRARY_SEARCH_PATHS = (\n\t\t\t\t\t\"\\\"$(SDKROOT)/usr/lib/swift\\\"\",\n\t\t\t\t\t\"\\\"$(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)\\\"\",\n\t\t\t\t\t\"\\\"$(inherited)\\\"\",\n\t\t\t\t);\n\t\t\t\tMTL_ENABLE_DEBUG_INFO = NO;\n\t\t\t\tOTHER_CPLUSPLUSFLAGS = (\n\t\t\t\t\t\"$(OTHER_CFLAGS)\",\n\t\t\t\t\t\"-DFOLLY_NO_CONFIG\",\n\t\t\t\t\t\"-DFOLLY_MOBILE=1\",\n\t\t\t\t\t\"-DFOLLY_USE_LIBCPP=1\",\n\t\t\t\t);\n\t\t\t\tREACT_NATIVE_PATH = \"${PODS_ROOT}/../../node_modules/react-native\";\n\t\t\t\tSDKROOT = iphoneos;\n\t\t\t\tVALIDATE_PRODUCT = YES;\n\t\t\t};\n\t\t\tname = Release;\n\t\t};\n/* End XCBuildConfiguration section */\n\n/* Begin XCConfigurationList section */\n\t\t00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget \"RN070Tests\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t00E356F61AD99517003FC87E /* Debug */,\n\t\t\t\t00E356F71AD99517003FC87E /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n\t\t13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget \"RN070\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t13B07F941A680F5B00A75B9A /* Debug */,\n\t\t\t\t13B07F951A680F5B00A75B9A /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n\t\t83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject \"RN070\" */ = {\n\t\t\tisa = XCConfigurationList;\n\t\t\tbuildConfigurations = (\n\t\t\t\t83CBBA201A601CBA00E9B192 /* Debug */,\n\t\t\t\t83CBBA211A601CBA00E9B192 /* Release */,\n\t\t\t);\n\t\t\tdefaultConfigurationIsVisible = 0;\n\t\t\tdefaultConfigurationName = Release;\n\t\t};\n/* End XCConfigurationList section */\n\t};\n\trootObject = 83CBB9F71A601CBA00E9B192 /* Project object */;\n}\n",
|
|
36
|
-
"/app/ios/RN070.xcodeproj/xcshareddata/xcschemes/RN070.xcscheme": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Scheme\n LastUpgradeVersion = \"1210\"\n version = \"1.3\">\n <BuildAction\n parallelizeBuildables = \"YES\"\n buildImplicitDependencies = \"YES\">\n <BuildActionEntries>\n <BuildActionEntry\n buildForTesting = \"YES\"\n buildForRunning = \"YES\"\n buildForProfiling = \"YES\"\n buildForArchiving = \"YES\"\n buildForAnalyzing = \"YES\">\n <BuildableReference\n BuildableIdentifier = \"primary\"\n BlueprintIdentifier = \"13B07F861A680F5B00A75B9A\"\n BuildableName = \"RN070.app\"\n BlueprintName = \"RN070\"\n ReferencedContainer = \"container:RN070.xcodeproj\">\n </BuildableReference>\n </BuildActionEntry>\n </BuildActionEntries>\n </BuildAction>\n <TestAction\n buildConfiguration = \"Debug\"\n selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n shouldUseLaunchSchemeArgsEnv = \"YES\">\n <Testables>\n <TestableReference\n skipped = \"NO\">\n <BuildableReference\n BuildableIdentifier = \"primary\"\n BlueprintIdentifier = \"00E356ED1AD99517003FC87E\"\n BuildableName = \"RN070Tests.xctest\"\n BlueprintName = \"RN070Tests\"\n ReferencedContainer = \"container:RN070.xcodeproj\">\n </BuildableReference>\n </TestableReference>\n </Testables>\n </TestAction>\n <LaunchAction\n buildConfiguration = \"Debug\"\n selectedDebuggerIdentifier = \"Xcode.DebuggerFoundation.Debugger.LLDB\"\n selectedLauncherIdentifier = \"Xcode.DebuggerFoundation.Launcher.LLDB\"\n launchStyle = \"0\"\n useCustomWorkingDirectory = \"NO\"\n ignoresPersistentStateOnLaunch = \"NO\"\n debugDocumentVersioning = \"YES\"\n debugServiceExtension = \"internal\"\n allowLocationSimulation = \"YES\">\n <BuildableProductRunnable\n runnableDebuggingMode = \"0\">\n <BuildableReference\n BuildableIdentifier = \"primary\"\n BlueprintIdentifier = \"13B07F861A680F5B00A75B9A\"\n BuildableName = \"RN070.app\"\n BlueprintName = \"RN070\"\n ReferencedContainer = \"container:RN070.xcodeproj\">\n </BuildableReference>\n </BuildableProductRunnable>\n </LaunchAction>\n <ProfileAction\n buildConfiguration = \"Release\"\n shouldUseLaunchSchemeArgsEnv = \"YES\"\n savedToolIdentifier = \"\"\n useCustomWorkingDirectory = \"NO\"\n debugDocumentVersioning = \"YES\">\n <BuildableProductRunnable\n runnableDebuggingMode = \"0\">\n <BuildableReference\n BuildableIdentifier = \"primary\"\n BlueprintIdentifier = \"13B07F861A680F5B00A75B9A\"\n BuildableName = \"RN070.app\"\n BlueprintName = \"RN070\"\n ReferencedContainer = \"container:RN070.xcodeproj\">\n </BuildableReference>\n </BuildableProductRunnable>\n </ProfileAction>\n <AnalyzeAction\n buildConfiguration = \"Debug\">\n </AnalyzeAction>\n <ArchiveAction\n buildConfiguration = \"Release\"\n revealArchiveInOrganizer = \"YES\">\n </ArchiveAction>\n</Scheme>\n",
|
|
37
|
-
"/app/ios/RN070.xcworkspace/contents.xcworkspacedata": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Workspace\n version = \"1.0\">\n <FileRef\n location = \"group:RN070.xcodeproj\">\n </FileRef>\n <FileRef\n location = \"group:Pods/Pods.xcodeproj\">\n </FileRef>\n</Workspace>\n",
|
|
38
|
-
"/app/ios/RN070/AppDelegate.h": "#import <React/RCTBridgeDelegate.h>\n#import <UIKit/UIKit.h>\n\n@interface AppDelegate : UIResponder <UIApplicationDelegate, RCTBridgeDelegate>\n\n@property (nonatomic, strong) UIWindow *window;\n\n@end\n",
|
|
39
|
-
"/app/ios/RN070/AppDelegate.mm": "#import \"AppDelegate.h\"\n\n#import <React/RCTBridge.h>\n#import <React/RCTBundleURLProvider.h>\n#import <React/RCTRootView.h>\n\n#import <React/RCTAppSetupUtils.h>\n\n#if RCT_NEW_ARCH_ENABLED\n#import <React/CoreModulesPlugins.h>\n#import <React/RCTCxxBridgeDelegate.h>\n#import <React/RCTFabricSurfaceHostingProxyRootView.h>\n#import <React/RCTSurfacePresenter.h>\n#import <React/RCTSurfacePresenterBridgeAdapter.h>\n#import <ReactCommon/RCTTurboModuleManager.h>\n\n#import <react/config/ReactNativeConfig.h>\n\nstatic NSString *const kRNConcurrentRoot = @\"concurrentRoot\";\n\n@interface AppDelegate () <RCTCxxBridgeDelegate, RCTTurboModuleManagerDelegate> {\n RCTTurboModuleManager *_turboModuleManager;\n RCTSurfacePresenterBridgeAdapter *_bridgeAdapter;\n std::shared_ptr<const facebook::react::ReactNativeConfig> _reactNativeConfig;\n facebook::react::ContextContainer::Shared _contextContainer;\n}\n@end\n#endif\n\n@implementation AppDelegate\n\n- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions\n{\n RCTAppSetupPrepareApp(application);\n\n RCTBridge *bridge = [[RCTBridge alloc] initWithDelegate:self launchOptions:launchOptions];\n\n#if RCT_NEW_ARCH_ENABLED\n _contextContainer = std::make_shared<facebook::react::ContextContainer const>();\n _reactNativeConfig = std::make_shared<facebook::react::EmptyReactNativeConfig const>();\n _contextContainer->insert(\"ReactNativeConfig\", _reactNativeConfig);\n _bridgeAdapter = [[RCTSurfacePresenterBridgeAdapter alloc] initWithBridge:bridge contextContainer:_contextContainer];\n bridge.surfacePresenter = _bridgeAdapter.surfacePresenter;\n#endif\n\n NSDictionary *initProps = [self prepareInitialProps];\n UIView *rootView = RCTAppSetupDefaultRootView(bridge, @\"RN070\", initProps);\n\n if (@available(iOS 13.0, *)) {\n rootView.backgroundColor = [UIColor systemBackgroundColor];\n } else {\n rootView.backgroundColor = [UIColor whiteColor];\n }\n\n self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];\n UIViewController *rootViewController = [UIViewController new];\n rootViewController.view = rootView;\n self.window.rootViewController = rootViewController;\n [self.window makeKeyAndVisible];\n return YES;\n}\n\n/// This method controls whether the `concurrentRoot`feature of React18 is turned on or off.\n///\n/// @see: https://reactjs.org/blog/2022/03/29/react-v18.html\n/// @note: This requires to be rendering on Fabric (i.e. on the New Architecture).\n/// @return: `true` if the `concurrentRoot` feture is enabled. Otherwise, it returns `false`.\n- (BOOL)concurrentRootEnabled\n{\n // Switch this bool to turn on and off the concurrent root\n return true;\n}\n\n- (NSDictionary *)prepareInitialProps\n{\n NSMutableDictionary *initProps = [NSMutableDictionary new];\n\n#ifdef RCT_NEW_ARCH_ENABLED\n initProps[kRNConcurrentRoot] = @([self concurrentRootEnabled]);\n#endif\n\n return initProps;\n}\n\n- (NSURL *)sourceURLForBridge:(RCTBridge *)bridge\n{\n#if DEBUG\n return [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@\"index\"];\n#else\n return [[NSBundle mainBundle] URLForResource:@\"main\" withExtension:@\"jsbundle\"];\n#endif\n}\n\n#if RCT_NEW_ARCH_ENABLED\n\n#pragma mark - RCTCxxBridgeDelegate\n\n- (std::unique_ptr<facebook::react::JSExecutorFactory>)jsExecutorFactoryForBridge:(RCTBridge *)bridge\n{\n _turboModuleManager = [[RCTTurboModuleManager alloc] initWithBridge:bridge\n delegate:self\n jsInvoker:bridge.jsCallInvoker];\n return RCTAppSetupDefaultJsExecutorFactory(bridge, _turboModuleManager);\n}\n\n#pragma mark RCTTurboModuleManagerDelegate\n\n- (Class)getModuleClassFromName:(const char *)name\n{\n return RCTCoreModulesClassProvider(name);\n}\n\n- (std::shared_ptr<facebook::react::TurboModule>)getTurboModule:(const std::string &)name\n jsInvoker:(std::shared_ptr<facebook::react::CallInvoker>)jsInvoker\n{\n return nullptr;\n}\n\n- (std::shared_ptr<facebook::react::TurboModule>)getTurboModule:(const std::string &)name\n initParams:\n (const facebook::react::ObjCTurboModule::InitParams &)params\n{\n return nullptr;\n}\n\n- (id<RCTTurboModule>)getModuleInstanceFromClass:(Class)moduleClass\n{\n return RCTAppSetupDefaultModuleFromClass(moduleClass);\n}\n\n#endif\n\n@end\n",
|
|
40
|
-
"/app/ios/RN070/Info.plist": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>CFBundleDevelopmentRegion</key>\n\t<string>en</string>\n\t<key>CFBundleDisplayName</key>\n\t<string>RN070</string>\n\t<key>CFBundleExecutable</key>\n\t<string>$(EXECUTABLE_NAME)</string>\n\t<key>CFBundleIdentifier</key>\n\t<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>\n\t<key>CFBundleInfoDictionaryVersion</key>\n\t<string>6.0</string>\n\t<key>CFBundleName</key>\n\t<string>$(PRODUCT_NAME)</string>\n\t<key>CFBundlePackageType</key>\n\t<string>APPL</string>\n\t<key>CFBundleShortVersionString</key>\n\t<string>1.0</string>\n\t<key>CFBundleSignature</key>\n\t<string>????</string>\n\t<key>CFBundleVersion</key>\n\t<string>1</string>\n\t<key>LSRequiresIPhoneOS</key>\n\t<true/>\n\t<key>NSAppTransportSecurity</key>\n\t<dict>\n\t\t<key>NSExceptionDomains</key>\n\t\t<dict>\n\t\t\t<key>localhost</key>\n\t\t\t<dict>\n\t\t\t\t<key>NSExceptionAllowsInsecureHTTPLoads</key>\n\t\t\t\t<true/>\n\t\t\t</dict>\n\t\t</dict>\n\t</dict>\n\t<key>NSLocationWhenInUseUsageDescription</key>\n\t<string></string>\n\t<key>UILaunchStoryboardName</key>\n\t<string>LaunchScreen</string>\n\t<key>UIRequiredDeviceCapabilities</key>\n\t<array>\n\t\t<string>armv7</string>\n\t</array>\n\t<key>UISupportedInterfaceOrientations</key>\n\t<array>\n\t\t<string>UIInterfaceOrientationPortrait</string>\n\t\t<string>UIInterfaceOrientationLandscapeLeft</string>\n\t\t<string>UIInterfaceOrientationLandscapeRight</string>\n\t</array>\n\t<key>UIViewControllerBasedStatusBarAppearance</key>\n\t<false/>\n</dict>\n</plist>\n",
|
|
41
|
-
"/app/ios/RN070/LaunchScreen.storyboard": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<document type=\"com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB\" version=\"3.0\" toolsVersion=\"15702\" targetRuntime=\"iOS.CocoaTouch\" propertyAccessControl=\"none\" useAutolayout=\"YES\" launchScreen=\"YES\" useTraitCollections=\"YES\" useSafeAreas=\"YES\" colorMatched=\"YES\" initialViewController=\"01J-lp-oVM\">\n <device id=\"retina4_7\" orientation=\"portrait\" appearance=\"light\"/>\n <dependencies>\n <deployment identifier=\"iOS\"/>\n <plugIn identifier=\"com.apple.InterfaceBuilder.IBCocoaTouchPlugin\" version=\"15704\"/>\n <capability name=\"Safe area layout guides\" minToolsVersion=\"9.0\"/>\n <capability name=\"documents saved in the Xcode 8 format\" minToolsVersion=\"8.0\"/>\n </dependencies>\n <scenes>\n <!--View Controller-->\n <scene sceneID=\"EHf-IW-A2E\">\n <objects>\n <viewController id=\"01J-lp-oVM\" sceneMemberID=\"viewController\">\n <view key=\"view\" contentMode=\"scaleToFill\" id=\"Ze5-6b-2t3\">\n <rect key=\"frame\" x=\"0.0\" y=\"0.0\" width=\"375\" height=\"667\"/>\n <autoresizingMask key=\"autoresizingMask\" widthSizable=\"YES\" heightSizable=\"YES\"/>\n <subviews>\n <label opaque=\"NO\" clipsSubviews=\"YES\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"RN070\" textAlignment=\"center\" lineBreakMode=\"middleTruncation\" baselineAdjustment=\"alignBaselines\" minimumFontSize=\"18\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"GJd-Yh-RWb\">\n <rect key=\"frame\" x=\"0.0\" y=\"202\" width=\"375\" height=\"43\"/>\n <fontDescription key=\"fontDescription\" type=\"boldSystem\" pointSize=\"36\"/>\n <nil key=\"highlightedColor\"/>\n </label>\n <label opaque=\"NO\" clipsSubviews=\"YES\" userInteractionEnabled=\"NO\" contentMode=\"left\" horizontalHuggingPriority=\"251\" verticalHuggingPriority=\"251\" text=\"Powered by React Native\" textAlignment=\"center\" lineBreakMode=\"tailTruncation\" baselineAdjustment=\"alignBaselines\" minimumFontSize=\"9\" translatesAutoresizingMaskIntoConstraints=\"NO\" id=\"MN2-I3-ftu\">\n <rect key=\"frame\" x=\"0.0\" y=\"626\" width=\"375\" height=\"21\"/>\n <fontDescription key=\"fontDescription\" type=\"system\" pointSize=\"17\"/>\n <nil key=\"highlightedColor\"/>\n </label>\n </subviews>\n <color key=\"backgroundColor\" systemColor=\"systemBackgroundColor\" cocoaTouchSystemColor=\"whiteColor\"/>\n <constraints>\n <constraint firstItem=\"Bcu-3y-fUS\" firstAttribute=\"bottom\" secondItem=\"MN2-I3-ftu\" secondAttribute=\"bottom\" constant=\"20\" id=\"OZV-Vh-mqD\"/>\n <constraint firstItem=\"Bcu-3y-fUS\" firstAttribute=\"centerX\" secondItem=\"GJd-Yh-RWb\" secondAttribute=\"centerX\" id=\"Q3B-4B-g5h\"/>\n <constraint firstItem=\"MN2-I3-ftu\" firstAttribute=\"centerX\" secondItem=\"Bcu-3y-fUS\" secondAttribute=\"centerX\" id=\"akx-eg-2ui\"/>\n <constraint firstItem=\"MN2-I3-ftu\" firstAttribute=\"leading\" secondItem=\"Bcu-3y-fUS\" secondAttribute=\"leading\" id=\"i1E-0Y-4RG\"/>\n <constraint firstItem=\"GJd-Yh-RWb\" firstAttribute=\"centerY\" secondItem=\"Ze5-6b-2t3\" secondAttribute=\"bottom\" multiplier=\"1/3\" constant=\"1\" id=\"moa-c2-u7t\"/>\n <constraint firstItem=\"GJd-Yh-RWb\" firstAttribute=\"leading\" secondItem=\"Bcu-3y-fUS\" secondAttribute=\"leading\" symbolic=\"YES\" id=\"x7j-FC-K8j\"/>\n </constraints>\n <viewLayoutGuide key=\"safeArea\" id=\"Bcu-3y-fUS\"/>\n </view>\n </viewController>\n <placeholder placeholderIdentifier=\"IBFirstResponder\" id=\"iYj-Kq-Ea1\" userLabel=\"First Responder\" sceneMemberID=\"firstResponder\"/>\n </objects>\n <point key=\"canvasLocation\" x=\"52.173913043478265\" y=\"375\"/>\n </scene>\n </scenes>\n</document>\n",
|
|
42
|
-
"/app/ios/RN070/main.m": "#import <UIKit/UIKit.h>\n\n#import \"AppDelegate.h\"\n\nint main(int argc, char *argv[])\n{\n @autoreleasepool {\n return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));\n }\n}\n",
|
|
43
|
-
"/app/ios/RN070Tests/Info.plist": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n<plist version=\"1.0\">\n<dict>\n\t<key>CFBundleDevelopmentRegion</key>\n\t<string>en</string>\n\t<key>CFBundleExecutable</key>\n\t<string>$(EXECUTABLE_NAME)</string>\n\t<key>CFBundleIdentifier</key>\n\t<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>\n\t<key>CFBundleInfoDictionaryVersion</key>\n\t<string>6.0</string>\n\t<key>CFBundleName</key>\n\t<string>$(PRODUCT_NAME)</string>\n\t<key>CFBundlePackageType</key>\n\t<string>BNDL</string>\n\t<key>CFBundleShortVersionString</key>\n\t<string>1.0</string>\n\t<key>CFBundleSignature</key>\n\t<string>????</string>\n\t<key>CFBundleVersion</key>\n\t<string>1</string>\n</dict>\n</plist>\n",
|
|
44
|
-
"/app/ios/RN070Tests/RN070Tests.m": "#import <UIKit/UIKit.h>\n#import <XCTest/XCTest.h>\n\n#import <React/RCTLog.h>\n#import <React/RCTRootView.h>\n\n#define TIMEOUT_SECONDS 600\n#define TEXT_TO_LOOK_FOR @\"Welcome to React\"\n\n@interface RN070Tests : XCTestCase\n\n@end\n\n@implementation RN070Tests\n\n- (BOOL)findSubviewInView:(UIView *)view matching:(BOOL (^)(UIView *view))test\n{\n if (test(view)) {\n return YES;\n }\n for (UIView *subview in [view subviews]) {\n if ([self findSubviewInView:subview matching:test]) {\n return YES;\n }\n }\n return NO;\n}\n\n- (void)testRendersWelcomeScreen\n{\n UIViewController *vc = [[[RCTSharedApplication() delegate] window] rootViewController];\n NSDate *date = [NSDate dateWithTimeIntervalSinceNow:TIMEOUT_SECONDS];\n BOOL foundElement = NO;\n\n __block NSString *redboxError = nil;\n#ifdef DEBUG\n RCTSetLogFunction(\n ^(RCTLogLevel level, RCTLogSource source, NSString *fileName, NSNumber *lineNumber, NSString *message) {\n if (level >= RCTLogLevelError) {\n redboxError = message;\n }\n });\n#endif\n\n while ([date timeIntervalSinceNow] > 0 && !foundElement && !redboxError) {\n [[NSRunLoop mainRunLoop] runMode:NSDefaultRunLoopMode beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]];\n [[NSRunLoop mainRunLoop] runMode:NSRunLoopCommonModes beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]];\n\n foundElement = [self findSubviewInView:vc.view\n matching:^BOOL(UIView *view) {\n if ([view.accessibilityLabel isEqualToString:TEXT_TO_LOOK_FOR]) {\n return YES;\n }\n return NO;\n }];\n }\n\n#ifdef DEBUG\n RCTSetLogFunction(RCTDefaultLogFunction);\n#endif\n\n XCTAssertNil(redboxError, @\"RedBox error: %@\", redboxError);\n XCTAssertTrue(foundElement, @\"Couldn't find element with text '%@' in %d seconds\", TEXT_TO_LOOK_FOR, TIMEOUT_SECONDS);\n}\n\n@end\n",
|
|
45
|
-
"/app/metro.config.js": "/**\n * Metro configuration for React Native\n * https://github.com/facebook/react-native\n *\n * @format\n */\n\nmodule.exports = {\n transformer: {\n getTransformOptions: async () => ({\n transform: {\n experimentalImportSupport: false,\n inlineRequires: true,\n },\n }),\n },\n};\n",
|
|
46
|
-
"/app/package.json": "{\n \"name\": \"RN070\",\n \"version\": \"0.0.1\",\n \"private\": true,\n \"scripts\": {\n \"android\": \"react-native run-android\",\n \"ios\": \"react-native run-ios\",\n \"start\": \"react-native start\",\n \"test\": \"jest\",\n \"lint\": \"eslint .\"\n },\n \"dependencies\": {\n \"react\": \"18.1.0\",\n \"react-native\": \"0.70.5\",\n \"react-native-reanimated\": \"^2.12.0\"\n },\n \"devDependencies\": {\n \"@babel/core\": \"^7.12.9\",\n \"@babel/runtime\": \"^7.12.5\",\n \"@react-native-community/eslint-config\": \"^2.0.0\",\n \"babel-jest\": \"^26.6.3\",\n \"eslint\": \"^7.32.0\",\n \"jest\": \"^26.6.3\",\n \"metro-react-native-babel-preset\": \"0.72.3\",\n \"react-test-renderer\": \"18.1.0\"\n },\n \"jest\": {\n \"preset\": \"react-native\"\n }\n}\n"
|
|
47
|
-
}
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"modules": [
|
|
3
|
-
{
|
|
4
|
-
"packageName": "expo",
|
|
5
|
-
"packageVersion": "47.0.3",
|
|
6
|
-
"projects": [{ "name": "expo", "sourceDir": "/app/node_modules/expo/android" }],
|
|
7
|
-
"modules": []
|
|
8
|
-
},
|
|
9
|
-
{
|
|
10
|
-
"packageName": "expo-application",
|
|
11
|
-
"packageVersion": "5.0.1",
|
|
12
|
-
"projects": [
|
|
13
|
-
{
|
|
14
|
-
"name": "expo-application",
|
|
15
|
-
"sourceDir": "/app/node_modules/expo-application/android"
|
|
16
|
-
}
|
|
17
|
-
],
|
|
18
|
-
"modules": []
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
"packageName": "expo-constants",
|
|
22
|
-
"packageVersion": "14.0.2",
|
|
23
|
-
"projects": [
|
|
24
|
-
{
|
|
25
|
-
"name": "expo-constants",
|
|
26
|
-
"sourceDir": "/app/node_modules/expo-constants/android"
|
|
27
|
-
}
|
|
28
|
-
],
|
|
29
|
-
"modules": []
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
"packageName": "expo-error-recovery",
|
|
33
|
-
"packageVersion": "4.0.1",
|
|
34
|
-
"projects": [
|
|
35
|
-
{
|
|
36
|
-
"name": "expo-error-recovery",
|
|
37
|
-
"sourceDir": "/app/node_modules/expo-error-recovery/android"
|
|
38
|
-
}
|
|
39
|
-
],
|
|
40
|
-
"modules": []
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
"packageName": "expo-file-system",
|
|
44
|
-
"packageVersion": "15.1.1",
|
|
45
|
-
"projects": [
|
|
46
|
-
{
|
|
47
|
-
"name": "expo-file-system",
|
|
48
|
-
"sourceDir": "/app/node_modules/expo-file-system/android"
|
|
49
|
-
}
|
|
50
|
-
],
|
|
51
|
-
"modules": []
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
"packageName": "expo-font",
|
|
55
|
-
"packageVersion": "11.0.1",
|
|
56
|
-
"projects": [{ "name": "expo-font", "sourceDir": "/app/node_modules/expo-font/android" }],
|
|
57
|
-
"modules": []
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
"packageName": "expo-keep-awake",
|
|
61
|
-
"packageVersion": "11.0.1",
|
|
62
|
-
"projects": [
|
|
63
|
-
{
|
|
64
|
-
"name": "expo-keep-awake",
|
|
65
|
-
"sourceDir": "/app/node_modules/expo-keep-awake/android"
|
|
66
|
-
}
|
|
67
|
-
],
|
|
68
|
-
"modules": []
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
"packageName": "expo-modules-core",
|
|
72
|
-
"packageVersion": "1.0.2",
|
|
73
|
-
"projects": [
|
|
74
|
-
{
|
|
75
|
-
"name": "expo-modules-core",
|
|
76
|
-
"sourceDir": "/app/node_modules/expo-modules-core/android"
|
|
77
|
-
}
|
|
78
|
-
],
|
|
79
|
-
"modules": []
|
|
80
|
-
}
|
|
81
|
-
]
|
|
82
|
-
}
|