@nrwl/react-native 15.9.2 → 16.0.0-beta.1

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.
Files changed (359) hide show
  1. package/executors.json +40 -40
  2. package/generators.json +2 -107
  3. package/index.d.ts +1 -5
  4. package/index.js +2 -11
  5. package/index.js.map +1 -1
  6. package/package.json +7 -25
  7. package/plugins/jest/svg-mock.js.map +1 -1
  8. package/plugins/with-nx-metro.d.ts +1 -8
  9. package/plugins/with-nx-metro.js +2 -29
  10. package/plugins/with-nx-metro.js.map +1 -1
  11. package/.eslintrc.json +0 -19
  12. package/README.md +0 -63
  13. package/migrations.json +0 -1285
  14. package/plugins/metro-resolver.d.ts +0 -1
  15. package/plugins/metro-resolver.js +0 -134
  16. package/plugins/metro-resolver.js.map +0 -1
  17. package/project.json +0 -61
  18. package/src/executors/build-android/build-android.impl.d.ts +0 -6
  19. package/src/executors/build-android/build-android.impl.js +0 -76
  20. package/src/executors/build-android/build-android.impl.js.map +0 -1
  21. package/src/executors/build-android/build-android.impl.ts +0 -108
  22. package/src/executors/build-android/compat.d.ts +0 -2
  23. package/src/executors/build-android/compat.js +0 -6
  24. package/src/executors/build-android/compat.js.map +0 -1
  25. package/src/executors/build-android/schema.d.ts +0 -31
  26. package/src/executors/build-android/schema.json +0 -102
  27. package/src/executors/build-ios/build-ios.impl.d.ts +0 -6
  28. package/src/executors/build-ios/build-ios.impl.js +0 -77
  29. package/src/executors/build-ios/build-ios.impl.js.map +0 -1
  30. package/src/executors/build-ios/build-ios.impl.ts +0 -118
  31. package/src/executors/build-ios/compat.d.ts +0 -2
  32. package/src/executors/build-ios/compat.js +0 -6
  33. package/src/executors/build-ios/compat.js.map +0 -1
  34. package/src/executors/build-ios/schema.d.ts +0 -22
  35. package/src/executors/build-ios/schema.json +0 -106
  36. package/src/executors/bundle/bundle.impl.d.ts +0 -6
  37. package/src/executors/bundle/bundle.impl.js +0 -58
  38. package/src/executors/bundle/bundle.impl.js.map +0 -1
  39. package/src/executors/bundle/bundle.impl.ts +0 -76
  40. package/src/executors/bundle/compat.d.ts +0 -2
  41. package/src/executors/bundle/compat.js +0 -6
  42. package/src/executors/bundle/compat.js.map +0 -1
  43. package/src/executors/bundle/schema.d.ts +0 -16
  44. package/src/executors/bundle/schema.json +0 -92
  45. package/src/executors/ensure-symlink/compat.d.ts +0 -2
  46. package/src/executors/ensure-symlink/compat.js +0 -6
  47. package/src/executors/ensure-symlink/compat.js.map +0 -1
  48. package/src/executors/ensure-symlink/ensure-symlink.impl.d.ts +0 -5
  49. package/src/executors/ensure-symlink/ensure-symlink.impl.js +0 -13
  50. package/src/executors/ensure-symlink/ensure-symlink.impl.js.map +0 -1
  51. package/src/executors/ensure-symlink/ensure-symlink.impl.ts +0 -18
  52. package/src/executors/ensure-symlink/schema.json +0 -11
  53. package/src/executors/pod-install/compat.d.ts +0 -2
  54. package/src/executors/pod-install/compat.js +0 -6
  55. package/src/executors/pod-install/compat.js.map +0 -1
  56. package/src/executors/pod-install/pod-install.impl.d.ts +0 -6
  57. package/src/executors/pod-install/pod-install.impl.js +0 -15
  58. package/src/executors/pod-install/pod-install.impl.js.map +0 -1
  59. package/src/executors/pod-install/pod-install.impl.ts +0 -21
  60. package/src/executors/pod-install/schema.d.ts +0 -3
  61. package/src/executors/pod-install/schema.json +0 -18
  62. package/src/executors/run-android/compat.d.ts +0 -2
  63. package/src/executors/run-android/compat.js +0 -6
  64. package/src/executors/run-android/compat.js.map +0 -1
  65. package/src/executors/run-android/run-android.impl.d.ts +0 -6
  66. package/src/executors/run-android/run-android.impl.js +0 -72
  67. package/src/executors/run-android/run-android.impl.js.map +0 -1
  68. package/src/executors/run-android/run-android.impl.ts +0 -110
  69. package/src/executors/run-android/schema.d.ts +0 -24
  70. package/src/executors/run-android/schema.json +0 -121
  71. package/src/executors/run-ios/compat.d.ts +0 -2
  72. package/src/executors/run-ios/compat.js +0 -6
  73. package/src/executors/run-ios/compat.js.map +0 -1
  74. package/src/executors/run-ios/run-ios.impl.d.ts +0 -6
  75. package/src/executors/run-ios/run-ios.impl.js +0 -78
  76. package/src/executors/run-ios/run-ios.impl.js.map +0 -1
  77. package/src/executors/run-ios/run-ios.impl.ts +0 -120
  78. package/src/executors/run-ios/schema.d.ts +0 -12
  79. package/src/executors/run-ios/schema.json +0 -119
  80. package/src/executors/start/compat.d.ts +0 -2
  81. package/src/executors/start/compat.js +0 -6
  82. package/src/executors/start/compat.js.map +0 -1
  83. package/src/executors/start/lib/is-packager-running.d.ts +0 -1
  84. package/src/executors/start/lib/is-packager-running.js +0 -19
  85. package/src/executors/start/lib/is-packager-running.js.map +0 -1
  86. package/src/executors/start/schema.d.ts +0 -7
  87. package/src/executors/start/schema.json +0 -28
  88. package/src/executors/start/start.impl.d.ts +0 -8
  89. package/src/executors/start/start.impl.js +0 -99
  90. package/src/executors/start/start.impl.js.map +0 -1
  91. package/src/executors/start/start.impl.ts +0 -120
  92. package/src/executors/storybook/compat.d.ts +0 -2
  93. package/src/executors/storybook/compat.js +0 -6
  94. package/src/executors/storybook/compat.js.map +0 -1
  95. package/src/executors/storybook/schema.d.ts +0 -7
  96. package/src/executors/storybook/schema.json +0 -34
  97. package/src/executors/storybook/storybook.impl.d.ts +0 -5
  98. package/src/executors/storybook/storybook.impl.js +0 -76
  99. package/src/executors/storybook/storybook.impl.js.map +0 -1
  100. package/src/executors/storybook/storybook.impl.ts +0 -105
  101. package/src/executors/sync-deps/compat.d.ts +0 -2
  102. package/src/executors/sync-deps/compat.js +0 -6
  103. package/src/executors/sync-deps/compat.js.map +0 -1
  104. package/src/executors/sync-deps/schema.d.ts +0 -4
  105. package/src/executors/sync-deps/schema.json +0 -28
  106. package/src/executors/sync-deps/sync-deps.impl.d.ts +0 -8
  107. package/src/executors/sync-deps/sync-deps.impl.js +0 -62
  108. package/src/executors/sync-deps/sync-deps.impl.js.map +0 -1
  109. package/src/executors/sync-deps/sync-deps.impl.ts +0 -101
  110. package/src/generators/application/application.d.ts +0 -5
  111. package/src/generators/application/application.js +0 -40
  112. package/src/generators/application/application.js.map +0 -1
  113. package/src/generators/application/application.spec.ts +0 -214
  114. package/src/generators/application/files/app/.ruby-version +0 -1
  115. package/src/generators/application/files/app/Gemfile.template +0 -6
  116. package/src/generators/application/files/app/android/app/build.gradle.template +0 -184
  117. package/src/generators/application/files/app/android/app/debug.keystore +0 -0
  118. package/src/generators/application/files/app/android/app/proguard-rules.pro +0 -10
  119. package/src/generators/application/files/app/android/app/src/androidTest/java/com/__lowerCaseName__/DetoxTest.java.template +0 -30
  120. package/src/generators/application/files/app/android/app/src/debug/AndroidManifest.xml.template +0 -14
  121. package/src/generators/application/files/app/android/app/src/debug/java/com/__lowerCaseName__/ReactNativeFlipper.java.template +0 -75
  122. package/src/generators/application/files/app/android/app/src/main/AndroidManifest.xml.template +0 -26
  123. package/src/generators/application/files/app/android/app/src/main/java/com/__lowerCaseName__/MainActivity.java.template +0 -35
  124. package/src/generators/application/files/app/android/app/src/main/java/com/__lowerCaseName__/MainApplication.java.template +0 -63
  125. package/src/generators/application/files/app/android/app/src/main/res/drawable/rn_edit_text_material.xml +0 -36
  126. package/src/generators/application/files/app/android/app/src/main/res/mipmap-hdpi/ic_launcher.png +0 -0
  127. package/src/generators/application/files/app/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png +0 -0
  128. package/src/generators/application/files/app/android/app/src/main/res/mipmap-mdpi/ic_launcher.png +0 -0
  129. package/src/generators/application/files/app/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png +0 -0
  130. package/src/generators/application/files/app/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png +0 -0
  131. package/src/generators/application/files/app/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png +0 -0
  132. package/src/generators/application/files/app/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png +0 -0
  133. package/src/generators/application/files/app/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png +0 -0
  134. package/src/generators/application/files/app/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png +0 -0
  135. package/src/generators/application/files/app/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png +0 -0
  136. package/src/generators/application/files/app/android/app/src/main/res/values/strings.xml.template +0 -3
  137. package/src/generators/application/files/app/android/app/src/main/res/values/styles.xml +0 -9
  138. package/src/generators/application/files/app/android/app/src/main/res/xml/network_security_config.xml +0 -7
  139. package/src/generators/application/files/app/android/app/src/release/java/com/__lowerCaseName__/ReactNativeFlipper.java.template +0 -20
  140. package/src/generators/application/files/app/android/build.gradle.template +0 -34
  141. package/src/generators/application/files/app/android/gradle/wrapper/gradle-wrapper.jar +0 -0
  142. package/src/generators/application/files/app/android/gradle/wrapper/gradle-wrapper.properties +0 -5
  143. package/src/generators/application/files/app/android/gradle.properties +0 -44
  144. package/src/generators/application/files/app/android/gradlew.bat +0 -89
  145. package/src/generators/application/files/app/android/gradlew.template +0 -234
  146. package/src/generators/application/files/app/android/settings.gradle.template +0 -7
  147. package/src/generators/application/files/app/app.json.template +0 -4
  148. package/src/generators/application/files/app/babel.config.json.template +0 -3
  149. package/src/generators/application/files/app/ios/.xcode.env.template +0 -12
  150. package/src/generators/application/files/app/ios/Podfile.template +0 -60
  151. package/src/generators/application/files/app/ios/__className__/AppDelegate.h +0 -6
  152. package/src/generators/application/files/app/ios/__className__/AppDelegate.mm.template +0 -36
  153. package/src/generators/application/files/app/ios/__className__/Images.xcassets/AppIcon.appiconset/Contents.json +0 -53
  154. package/src/generators/application/files/app/ios/__className__/Images.xcassets/Contents.json +0 -6
  155. package/src/generators/application/files/app/ios/__className__/Info.plist.template +0 -55
  156. package/src/generators/application/files/app/ios/__className__/LaunchScreen.storyboard.template +0 -47
  157. package/src/generators/application/files/app/ios/__className__/main.m +0 -10
  158. package/src/generators/application/files/app/ios/__className__.xcodeproj/project.pbxproj.template +0 -702
  159. package/src/generators/application/files/app/ios/__className__.xcodeproj/xcshareddata/xcschemes/__className__.xcscheme.template +0 -88
  160. package/src/generators/application/files/app/ios/__className__.xcworkspace/contents.xcworkspacedata +0 -10
  161. package/src/generators/application/files/app/ios/__className__Tests/Info.plist +0 -24
  162. package/src/generators/application/files/app/ios/__className__Tests/__className__Tests.m +0 -66
  163. package/src/generators/application/files/app/metro.config.js.template +0 -38
  164. package/src/generators/application/files/app/package.json.template +0 -15
  165. package/src/generators/application/files/app/src/app/App.spec.tsx.template +0 -9
  166. package/src/generators/application/files/app/src/app/App.tsx.template +0 -694
  167. package/src/generators/application/files/app/src/main.tsx.template +0 -4
  168. package/src/generators/application/files/app/test-setup.ts.template +0 -1
  169. package/src/generators/application/files/app/tsconfig.app.json.template +0 -9
  170. package/src/generators/application/files/app/tsconfig.json.template +0 -25
  171. package/src/generators/application/lib/add-detox.d.ts +0 -3
  172. package/src/generators/application/lib/add-detox.js +0 -16
  173. package/src/generators/application/lib/add-detox.js.map +0 -1
  174. package/src/generators/application/lib/add-project.d.ts +0 -3
  175. package/src/generators/application/lib/add-project.js +0 -83
  176. package/src/generators/application/lib/add-project.js.map +0 -1
  177. package/src/generators/application/lib/create-application-files.d.ts +0 -3
  178. package/src/generators/application/lib/create-application-files.js +0 -20
  179. package/src/generators/application/lib/create-application-files.js.map +0 -1
  180. package/src/generators/application/lib/nomalize-options.spec.ts +0 -138
  181. package/src/generators/application/lib/normalize-options.d.ts +0 -13
  182. package/src/generators/application/lib/normalize-options.js +0 -36
  183. package/src/generators/application/lib/normalize-options.js.map +0 -1
  184. package/src/generators/application/schema.d.ts +0 -19
  185. package/src/generators/application/schema.json +0 -89
  186. package/src/generators/component/component.d.ts +0 -5
  187. package/src/generators/component/component.js +0 -53
  188. package/src/generators/component/component.js.map +0 -1
  189. package/src/generators/component/component.spec.ts +0 -135
  190. package/src/generators/component/files/__fileName__.spec.tsx__tmpl__ +0 -11
  191. package/src/generators/component/files/__fileName__.tsx__tmpl__ +0 -32
  192. package/src/generators/component/lib/add-import.d.ts +0 -3
  193. package/src/generators/component/lib/add-import.js +0 -34
  194. package/src/generators/component/lib/add-import.js.map +0 -1
  195. package/src/generators/component/lib/normalize-options.d.ts +0 -8
  196. package/src/generators/component/lib/normalize-options.js +0 -58
  197. package/src/generators/component/lib/normalize-options.js.map +0 -1
  198. package/src/generators/component/schema.d.ts +0 -14
  199. package/src/generators/component/schema.json +0 -78
  200. package/src/generators/component-story/component-story.d.ts +0 -8
  201. package/src/generators/component-story/component-story.js +0 -113
  202. package/src/generators/component-story/component-story.js.map +0 -1
  203. package/src/generators/component-story/component-story.spec.ts +0 -433
  204. package/src/generators/component-story/files/__componentFileName__.stories.__fileExt__ +0 -24
  205. package/src/generators/component-story/schema.d.ts +0 -5
  206. package/src/generators/component-story/schema.json +0 -34
  207. package/src/generators/init/init.d.ts +0 -6
  208. package/src/generators/init/init.js +0 -58
  209. package/src/generators/init/init.js.map +0 -1
  210. package/src/generators/init/init.spec.ts +0 -81
  211. package/src/generators/init/lib/add-git-ignore-entry.d.ts +0 -2
  212. package/src/generators/init/lib/add-git-ignore-entry.js +0 -25
  213. package/src/generators/init/lib/add-git-ignore-entry.js.map +0 -1
  214. package/src/generators/init/lib/gitignore-entries.d.ts +0 -1
  215. package/src/generators/init/lib/gitignore-entries.js +0 -75
  216. package/src/generators/init/lib/gitignore-entries.js.map +0 -1
  217. package/src/generators/init/schema.d.ts +0 -7
  218. package/src/generators/init/schema.json +0 -40
  219. package/src/generators/library/files/lib/README.md +0 -7
  220. package/src/generators/library/files/lib/babel.config.json.template +0 -17
  221. package/src/generators/library/files/lib/package.json__tmpl__ +0 -4
  222. package/src/generators/library/files/lib/src/index.ts__tmpl__ +0 -0
  223. package/src/generators/library/files/lib/test-setup.ts.template +0 -1
  224. package/src/generators/library/files/lib/tsconfig.json__tmpl__ +0 -16
  225. package/src/generators/library/files/lib/tsconfig.lib.json__tmpl__ +0 -9
  226. package/src/generators/library/lib/normalize-options.d.ts +0 -13
  227. package/src/generators/library/lib/normalize-options.js +0 -26
  228. package/src/generators/library/lib/normalize-options.js.map +0 -1
  229. package/src/generators/library/library.d.ts +0 -5
  230. package/src/generators/library/library.js +0 -101
  231. package/src/generators/library/library.js.map +0 -1
  232. package/src/generators/library/library.spec.ts +0 -397
  233. package/src/generators/library/schema.d.ts +0 -22
  234. package/src/generators/library/schema.json +0 -102
  235. package/src/generators/stories/schema.d.ts +0 -5
  236. package/src/generators/stories/schema.json +0 -42
  237. package/src/generators/stories/stories-app.spec.ts +0 -145
  238. package/src/generators/stories/stories-lib.spec.ts +0 -113
  239. package/src/generators/stories/stories.d.ts +0 -6
  240. package/src/generators/stories/stories.js +0 -63
  241. package/src/generators/stories/stories.js.map +0 -1
  242. package/src/generators/storybook-configuration/configuration.d.ts +0 -5
  243. package/src/generators/storybook-configuration/configuration.js +0 -60
  244. package/src/generators/storybook-configuration/configuration.js.map +0 -1
  245. package/src/generators/storybook-configuration/configuration.spec.ts +0 -146
  246. package/src/generators/storybook-configuration/files/app/storybook.ts.template +0 -9
  247. package/src/generators/storybook-configuration/files/app/toggle-storybook.tsx.template +0 -114
  248. package/src/generators/storybook-configuration/files/root/story-loader.js.template +0 -13
  249. package/src/generators/storybook-configuration/lib/add-resolver-main-fields-to-metro-config.d.ts +0 -6
  250. package/src/generators/storybook-configuration/lib/add-resolver-main-fields-to-metro-config.js +0 -26
  251. package/src/generators/storybook-configuration/lib/add-resolver-main-fields-to-metro-config.js.map +0 -1
  252. package/src/generators/storybook-configuration/lib/add-resolver-main-fields-to-metro-config.spec.ts +0 -161
  253. package/src/generators/storybook-configuration/lib/create-storybook-files.d.ts +0 -6
  254. package/src/generators/storybook-configuration/lib/create-storybook-files.js +0 -45
  255. package/src/generators/storybook-configuration/lib/create-storybook-files.js.map +0 -1
  256. package/src/generators/storybook-configuration/lib/replace-app-import-with-storybook-toggle.d.ts +0 -7
  257. package/src/generators/storybook-configuration/lib/replace-app-import-with-storybook-toggle.js +0 -30
  258. package/src/generators/storybook-configuration/lib/replace-app-import-with-storybook-toggle.js.map +0 -1
  259. package/src/generators/storybook-configuration/lib/replace-app-import-with-storybook-toggle.spec.ts +0 -65
  260. package/src/generators/storybook-configuration/schema.d.ts +0 -11
  261. package/src/generators/storybook-configuration/schema.json +0 -66
  262. package/src/generators/upgrade-native/lib/create-native-files.d.ts +0 -3
  263. package/src/generators/upgrade-native/lib/create-native-files.js +0 -15
  264. package/src/generators/upgrade-native/lib/create-native-files.js.map +0 -1
  265. package/src/generators/upgrade-native/lib/normalize-options.d.ts +0 -12
  266. package/src/generators/upgrade-native/lib/normalize-options.js +0 -28
  267. package/src/generators/upgrade-native/lib/normalize-options.js.map +0 -1
  268. package/src/generators/upgrade-native/schema.d.ts +0 -9
  269. package/src/generators/upgrade-native/schema.json +0 -41
  270. package/src/generators/upgrade-native/upgrade-native.d.ts +0 -9
  271. package/src/generators/upgrade-native/upgrade-native.js +0 -33
  272. package/src/generators/upgrade-native/upgrade-native.js.map +0 -1
  273. package/src/migrations/update-12-10-0/add-react-native-svg-12-10-0.d.ts +0 -8
  274. package/src/migrations/update-12-10-0/add-react-native-svg-12-10-0.js +0 -63
  275. package/src/migrations/update-12-10-0/add-react-native-svg-12-10-0.js.map +0 -1
  276. package/src/migrations/update-12-10-0/add-react-native-svg-12-10-0.spec.ts +0 -79
  277. package/src/migrations/update-12-5-0/update-jest-for-react-native.d.ts +0 -2
  278. package/src/migrations/update-12-5-0/update-jest-for-react-native.js +0 -62
  279. package/src/migrations/update-12-5-0/update-jest-for-react-native.js.map +0 -1
  280. package/src/migrations/update-13-5-0/add-babel-config-root-13-5-0.d.ts +0 -2
  281. package/src/migrations/update-13-5-0/add-babel-config-root-13-5-0.js +0 -22
  282. package/src/migrations/update-13-5-0/add-babel-config-root-13-5-0.js.map +0 -1
  283. package/src/migrations/update-13-5-0/add-babel-config-root-13-5-0.spec.ts +0 -48
  284. package/src/migrations/update-13-5-0/update-react-native-typing-svg-13-5-0.d.ts +0 -6
  285. package/src/migrations/update-13-5-0/update-react-native-typing-svg-13-5-0.js +0 -41
  286. package/src/migrations/update-13-5-0/update-react-native-typing-svg-13-5-0.js.map +0 -1
  287. package/src/migrations/update-13-5-0/update-react-native-typing-svg-13-5-0.spec.ts +0 -61
  288. package/src/migrations/update-14-0-0/add-project-root-metro-config-14-0-0.d.ts +0 -6
  289. package/src/migrations/update-14-0-0/add-project-root-metro-config-14-0-0.js +0 -33
  290. package/src/migrations/update-14-0-0/add-project-root-metro-config-14-0-0.js.map +0 -1
  291. package/src/migrations/update-14-0-0/add-project-root-metro-config-14-0-0.spec.ts +0 -192
  292. package/src/migrations/update-14-0-0/update-entry-file-bundle-14-0-0.d.ts +0 -5
  293. package/src/migrations/update-14-0-0/update-entry-file-bundle-14-0-0.js +0 -39
  294. package/src/migrations/update-14-0-0/update-entry-file-bundle-14-0-0.js.map +0 -1
  295. package/src/migrations/update-14-0-0/update-entry-file-bundle-14-0-0.spec.ts +0 -84
  296. package/src/migrations/update-14-0-2/change-main-to-class-name-14-0-2.d.ts +0 -5
  297. package/src/migrations/update-14-0-2/change-main-to-class-name-14-0-2.js +0 -42
  298. package/src/migrations/update-14-0-2/change-main-to-class-name-14-0-2.js.map +0 -1
  299. package/src/migrations/update-14-0-2/change-main-to-class-name-14-0-2.spec.ts +0 -48
  300. package/src/migrations/update-14-2-1/rename-blockList-metro-config.d.ts +0 -6
  301. package/src/migrations/update-14-2-1/rename-blockList-metro-config.js +0 -33
  302. package/src/migrations/update-14-2-1/rename-blockList-metro-config.js.map +0 -1
  303. package/src/migrations/update-14-2-1/rename-blockList-metro-config.spec.ts +0 -190
  304. package/src/migrations/update-14-5-5/add-exclude-sync-deps.d.ts +0 -5
  305. package/src/migrations/update-14-5-5/add-exclude-sync-deps.js +0 -26
  306. package/src/migrations/update-14-5-5/add-exclude-sync-deps.js.map +0 -1
  307. package/src/migrations/update-14-5-5/add-exclude-sync-deps.spec.ts +0 -39
  308. package/src/migrations/update-14-5-8/change-searchDir-storybook.d.ts +0 -5
  309. package/src/migrations/update-14-5-8/change-searchDir-storybook.js +0 -26
  310. package/src/migrations/update-14-5-8/change-searchDir-storybook.js.map +0 -1
  311. package/src/migrations/update-14-5-8/change-searchDir-storybook.spec.ts +0 -39
  312. package/src/migrations/update-14-6-0/remove-jest-transform.d.ts +0 -5
  313. package/src/migrations/update-14-6-0/remove-jest-transform.js +0 -58
  314. package/src/migrations/update-14-6-0/remove-jest-transform.js.map +0 -1
  315. package/src/migrations/update-14-6-0/remove-jest-transform.spec.ts +0 -109
  316. package/src/migrations/update-15-0-0/add-babel-inputs.d.ts +0 -2
  317. package/src/migrations/update-15-0-0/add-babel-inputs.js +0 -13
  318. package/src/migrations/update-15-0-0/add-babel-inputs.js.map +0 -1
  319. package/src/migrations/update-15-0-0/add-babel-inputs.spec.ts +0 -73
  320. package/src/migrations/update-15-9-1/add-build-ios-target.d.ts +0 -5
  321. package/src/migrations/update-15-9-1/add-build-ios-target.js +0 -34
  322. package/src/migrations/update-15-9-1/add-build-ios-target.js.map +0 -1
  323. package/src/migrations/update-15-9-1/add-build-ios-target.spec.ts +0 -36
  324. package/src/utils/add-jest.d.ts +0 -2
  325. package/src/utils/add-jest.js +0 -38
  326. package/src/utils/add-jest.js.map +0 -1
  327. package/src/utils/add-linting.d.ts +0 -12
  328. package/src/utils/add-linting.js +0 -41
  329. package/src/utils/add-linting.js.map +0 -1
  330. package/src/utils/add-linting.spec.ts +0 -42
  331. package/src/utils/chmod-android-gradle-files.d.ts +0 -3
  332. package/src/utils/chmod-android-gradle-files.js +0 -24
  333. package/src/utils/chmod-android-gradle-files.js.map +0 -1
  334. package/src/utils/ensure-node-modules-symlink.d.ts +0 -9
  335. package/src/utils/ensure-node-modules-symlink.js +0 -29
  336. package/src/utils/ensure-node-modules-symlink.js.map +0 -1
  337. package/src/utils/ensure-node-modules-symlink.spec.ts +0 -108
  338. package/src/utils/find-all-npm-dependencies.d.ts +0 -2
  339. package/src/utils/find-all-npm-dependencies.js +0 -26
  340. package/src/utils/find-all-npm-dependencies.js.map +0 -1
  341. package/src/utils/find-all-npm-dependencies.spec.ts +0 -95
  342. package/src/utils/format-file.d.ts +0 -1
  343. package/src/utils/format-file.js +0 -17
  344. package/src/utils/format-file.js.map +0 -1
  345. package/src/utils/get-cli-options.d.ts +0 -8
  346. package/src/utils/get-cli-options.js +0 -31
  347. package/src/utils/get-cli-options.js.map +0 -1
  348. package/src/utils/pod-install-task.d.ts +0 -8
  349. package/src/utils/pod-install-task.js +0 -62
  350. package/src/utils/pod-install-task.js.map +0 -1
  351. package/src/utils/symlink-task.d.ts +0 -2
  352. package/src/utils/symlink-task.js +0 -19
  353. package/src/utils/symlink-task.js.map +0 -1
  354. package/src/utils/testing-generators.d.ts +0 -3
  355. package/src/utils/testing-generators.js +0 -36
  356. package/src/utils/testing-generators.js.map +0 -1
  357. package/src/utils/versions.d.ts +0 -20
  358. package/src/utils/versions.js +0 -24
  359. package/src/utils/versions.js.map +0 -1
@@ -1,184 +0,0 @@
1
- apply plugin: "com.android.application"
2
- apply from: project(':react-native-config').projectDir.getPath() + "/dotenv.gradle"
3
- apply plugin: "com.facebook.react"
4
-
5
- import com.android.build.OutputFile
6
-
7
- /**
8
- * This is the configuration block to customize your React Native Android app.
9
- * By default you don't need to apply any configuration, just uncomment the lines you need.
10
- */
11
- react {
12
- /* Folders */
13
- // The root of your project, i.e. where "package.json" lives. Default is '..'
14
- // root = file("../")
15
- // The folder where the react-native NPM package is. Default is ../node_modules/react-native
16
- // reactNativeDir = file("../node_modules/react-native")
17
- // The folder where the react-native Codegen package is. Default is ../node_modules/react-native-codegen
18
- // codegenDir = file("../node_modules/react-native-codegen")
19
- // The cli.js file which is the React Native CLI entrypoint. Default is ../node_modules/react-native/cli.js
20
- // cliFile = file("../node_modules/react-native/cli.js")
21
-
22
- /* Variants */
23
- // The list of variants to that are debuggable. For those we're going to
24
- // skip the bundling of the JS bundle and the assets. By default is just 'debug'.
25
- // If you add flavors like lite, prod, etc. you'll have to list your debuggableVariants.
26
- // debuggableVariants = ["liteDebug", "prodDebug"]
27
-
28
- /* Bundling */
29
- // A list containing the node command and its flags. Default is just 'node'.
30
- // nodeExecutableAndArgs = ["node"]
31
- //
32
- // The command to run when bundling. By default is 'bundle'
33
- // bundleCommand = "ram-bundle"
34
- //
35
- // The path to the CLI configuration file. Default is empty.
36
- // bundleConfig = file(../rn-cli.config.js)
37
- //
38
- // The name of the generated asset file containing your JS bundle
39
- // bundleAssetName = "MyApplication.android.bundle"
40
- //
41
- // The entry file for bundle generation. Default is 'index.android.js' or 'index.js'
42
- // entryFile = file("../js/MyApplication.android.js")
43
- //
44
- // A list of extra flags to pass to the 'bundle' commands.
45
- // See https://github.com/react-native-community/cli/blob/main/docs/commands.md#bundle
46
- // extraPackagerArgs = []
47
-
48
- /* Hermes Commands */
49
- // The hermes compiler command to run. By default it is 'hermesc'
50
- // hermesCommand = "$rootDir/my-custom-hermesc/bin/hermesc"
51
- //
52
- // The list of flags to pass to the Hermes compiler. By default is "-O", "-output-source-map"
53
- // hermesFlags = ["-O", "-output-source-map"]
54
- entryFile = file("../../<%= entryFile %>")
55
- }
56
-
57
- /**
58
- * Set this to true to create four separate APKs instead of one,
59
- * one for each native architecture. This is useful if you don't
60
- * use App Bundles (https://developer.android.com/guide/app-bundle/)
61
- * and want to have separate APKs to upload to the Play Store.
62
- */
63
- def enableSeparateBuildPerCPUArchitecture = false
64
-
65
- /**
66
- * Set this to true to Run Proguard on Release builds to minify the Java bytecode.
67
- */
68
- def enableProguardInReleaseBuilds = false
69
-
70
- /**
71
- * The preferred build flavor of JavaScriptCore (JSC)
72
- *
73
- * For example, to use the international variant, you can use:
74
- * `def jscFlavor = 'org.webkit:android-jsc-intl:+'`
75
- *
76
- * The international variant includes ICU i18n library and necessary data
77
- * allowing to use e.g. `Date.toLocaleString` and `String.localeCompare` that
78
- * give correct results when using with locales other than en-US. Note that
79
- * this variant is about 6MiB larger per architecture than default.
80
- */
81
- def jscFlavor = 'org.webkit:android-jsc:+'
82
-
83
- /**
84
- * Private function to get the list of Native Architectures you want to build.
85
- * This reads the value from reactNativeArchitectures in your gradle.properties
86
- * file and works together with the --active-arch-only flag of react-native run-android.
87
- */
88
- def reactNativeArchitectures() {
89
- def value = project.getProperties().get("reactNativeArchitectures")
90
- return value ? value.split(",") : ["armeabi-v7a", "x86", "x86_64", "arm64-v8a"]
91
- }
92
-
93
- android {
94
- ndkVersion rootProject.ext.ndkVersion
95
-
96
- compileSdkVersion rootProject.ext.compileSdkVersion
97
-
98
- namespace "com.<%= lowerCaseName %>"
99
- defaultConfig {
100
- applicationId "com.<%= lowerCaseName %>"
101
- minSdkVersion rootProject.ext.minSdkVersion
102
- targetSdkVersion rootProject.ext.targetSdkVersion
103
- versionCode 1
104
- versionName "1.0"
105
- <% if (e2eTestRunner === 'detox') { %>
106
- testBuildType System.getProperty('testBuildType', 'debug')
107
- testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
108
- <% } %>
109
- }
110
-
111
- splits {
112
- abi {
113
- reset()
114
- enable enableSeparateBuildPerCPUArchitecture
115
- universalApk false // If true, also generate a universal APK
116
- include (*reactNativeArchitectures())
117
- }
118
- }
119
- signingConfigs {
120
- debug {
121
- storeFile file('debug.keystore')
122
- storePassword 'android'
123
- keyAlias 'androiddebugkey'
124
- keyPassword 'android'
125
- }
126
- }
127
- buildTypes {
128
- debug {
129
- signingConfig signingConfigs.debug
130
- }
131
- release {
132
- // Caution! In production, you need to generate your own keystore file.
133
- // see https://reactnative.dev/docs/signed-apk-android.
134
- signingConfig signingConfigs.debug
135
- minifyEnabled enableProguardInReleaseBuilds
136
- proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
137
- <% if (e2eTestRunner === 'detox') { %>
138
- proguardFile "${rootProject.projectDir}/../node_modules/detox/android/detox/proguard-rules-app.pro"
139
- <% } %>
140
- }
141
- }
142
-
143
- // applicationVariants are e.g. debug, release
144
- applicationVariants.all { variant ->
145
- variant.outputs.each { output ->
146
- // For each separate APK per architecture, set a unique version code as described here:
147
- // https://developer.android.com/studio/build/configure-apk-splits.html
148
- // Example: versionCode 1 will generate 1001 for armeabi-v7a, 1002 for x86, etc.
149
- def versionCodes = ["armeabi-v7a": 1, "x86": 2, "arm64-v8a": 3, "x86_64": 4]
150
- def abi = output.getFilter(OutputFile.ABI)
151
- if (abi != null) { // null for the universal-debug, universal-release variants
152
- output.versionCodeOverride =
153
- defaultConfig.versionCode * 1000 + versionCodes.get(abi)
154
- }
155
-
156
- }
157
- }
158
- }
159
-
160
- dependencies {
161
- <% if (e2eTestRunner === 'detox') { %>
162
- androidTestImplementation('com.wix:detox:+')
163
- implementation 'androidx.appcompat:appcompat:1.1.0'
164
- <% } %>
165
- // The version of react-native is set by the React Native Gradle Plugin
166
- implementation("com.facebook.react:react-android")
167
- implementation project(':react-native-config')
168
-
169
- implementation("androidx.swiperefreshlayout:swiperefreshlayout:1.0.0")
170
-
171
- debugImplementation("com.facebook.flipper:flipper:${FLIPPER_VERSION}")
172
- debugImplementation("com.facebook.flipper:flipper-network-plugin:${FLIPPER_VERSION}") {
173
- exclude group:'com.squareup.okhttp3', module:'okhttp'
174
- }
175
-
176
- debugImplementation("com.facebook.flipper:flipper-fresco-plugin:${FLIPPER_VERSION}")
177
- if (hermesEnabled.toBoolean()) {
178
- implementation("com.facebook.react:hermes-android")
179
- } else {
180
- implementation jscFlavor
181
- }
182
- }
183
-
184
- apply from: file("../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesAppBuildGradle(project)
@@ -1,10 +0,0 @@
1
- # Add project specific ProGuard rules here.
2
- # By default, the flags in this file are appended to flags specified
3
- # in /usr/local/Cellar/android-sdk/24.3.3/tools/proguard/proguard-android.txt
4
- # You can edit the include path and order by changing the proguardFiles
5
- # directive in build.gradle.
6
- #
7
- # For more details, see
8
- # http://developer.android.com/guide/developing/tools/proguard.html
9
-
10
- # Add any project specific keep options here:
@@ -1,30 +0,0 @@
1
- // Replace "com.<%= lowerCaseName %>" here and below with your app's package name from the top of MainActivity.java
2
- package com.<%= lowerCaseName %>;
3
-
4
- import com.wix.detox.Detox;
5
- import com.wix.detox.config.DetoxConfig;
6
-
7
- import org.junit.Rule;
8
- import org.junit.Test;
9
- import org.junit.runner.RunWith;
10
-
11
- import androidx.test.ext.junit.runners.AndroidJUnit4;
12
- import androidx.test.filters.LargeTest;
13
- import androidx.test.rule.ActivityTestRule;
14
-
15
- @RunWith(AndroidJUnit4.class)
16
- @LargeTest
17
- public class DetoxTest {
18
- @Rule // (2)
19
- public ActivityTestRule<MainActivity> mActivityRule = new ActivityTestRule<>(MainActivity.class, false, false);
20
-
21
- @Test
22
- public void runDetoxTests() {
23
- DetoxConfig detoxConfig = new DetoxConfig();
24
- detoxConfig.idlePolicyConfig.masterTimeoutSec = 90;
25
- detoxConfig.idlePolicyConfig.idleResourceTimeoutSec = 60;
26
- detoxConfig.rnContextLoadTimeoutSec = (BuildConfig.DEBUG ? 180 : 60);
27
-
28
- Detox.runTests(mActivityRule, detoxConfig);
29
- }
30
- }
@@ -1,14 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <manifest xmlns:android="http://schemas.android.com/apk/res/android"
3
- xmlns:tools="http://schemas.android.com/tools">
4
-
5
- <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
6
-
7
- <application
8
- android:usesCleartextTraffic="true"
9
- tools:targetApi="28"
10
- tools:ignore="GoogleAppIndexingWarning"
11
- android:networkSecurityConfig="@xml/network_security_config">
12
- <activity android:name="com.facebook.react.devsupport.DevSettingsActivity" android:exported="false" />
13
- </application>
14
- </manifest>
@@ -1,75 +0,0 @@
1
- /**
2
- * Copyright (c) Meta Platforms, Inc. and affiliates.
3
- *
4
- * <p>This source code is licensed under the MIT license found in the LICENSE file in the root
5
- * directory of this source tree.
6
- */
7
- package com.<%= lowerCaseName %>;
8
-
9
- import android.content.Context;
10
- import com.facebook.flipper.android.AndroidFlipperClient;
11
- import com.facebook.flipper.android.utils.FlipperUtils;
12
- import com.facebook.flipper.core.FlipperClient;
13
- import com.facebook.flipper.plugins.crashreporter.CrashReporterPlugin;
14
- import com.facebook.flipper.plugins.databases.DatabasesFlipperPlugin;
15
- import com.facebook.flipper.plugins.fresco.FrescoFlipperPlugin;
16
- import com.facebook.flipper.plugins.inspector.DescriptorMapping;
17
- import com.facebook.flipper.plugins.inspector.InspectorFlipperPlugin;
18
- import com.facebook.flipper.plugins.network.FlipperOkhttpInterceptor;
19
- import com.facebook.flipper.plugins.network.NetworkFlipperPlugin;
20
- import com.facebook.flipper.plugins.sharedpreferences.SharedPreferencesFlipperPlugin;
21
- import com.facebook.react.ReactInstanceEventListener;
22
- import com.facebook.react.ReactInstanceManager;
23
- import com.facebook.react.bridge.ReactContext;
24
- import com.facebook.react.modules.network.NetworkingModule;
25
- import okhttp3.OkHttpClient;
26
-
27
- /**
28
- * Class responsible of loading Flipper inside your React Native application. This is the debug
29
- * flavor of it. Here you can add your own plugins and customize the Flipper setup.
30
- */
31
- public class ReactNativeFlipper {
32
- public static void initializeFlipper(Context context, ReactInstanceManager reactInstanceManager) {
33
- if (FlipperUtils.shouldEnableFlipper(context)) {
34
- final FlipperClient client = AndroidFlipperClient.getInstance(context);
35
-
36
- client.addPlugin(new InspectorFlipperPlugin(context, DescriptorMapping.withDefaults()));
37
- client.addPlugin(new DatabasesFlipperPlugin(context));
38
- client.addPlugin(new SharedPreferencesFlipperPlugin(context));
39
- client.addPlugin(CrashReporterPlugin.getInstance());
40
-
41
- NetworkFlipperPlugin networkFlipperPlugin = new NetworkFlipperPlugin();
42
- NetworkingModule.setCustomClientBuilder(
43
- new NetworkingModule.CustomClientBuilder() {
44
- @Override
45
- public void apply(OkHttpClient.Builder builder) {
46
- builder.addNetworkInterceptor(new FlipperOkhttpInterceptor(networkFlipperPlugin));
47
- }
48
- });
49
- client.addPlugin(networkFlipperPlugin);
50
- client.start();
51
-
52
- // Fresco Plugin needs to ensure that ImagePipelineFactory is initialized
53
- // Hence we run if after all native modules have been initialized
54
- ReactContext reactContext = reactInstanceManager.getCurrentReactContext();
55
- if (reactContext == null) {
56
- reactInstanceManager.addReactInstanceEventListener(
57
- new ReactInstanceEventListener() {
58
- @Override
59
- public void onReactContextInitialized(ReactContext reactContext) {
60
- reactInstanceManager.removeReactInstanceEventListener(this);
61
- reactContext.runOnNativeModulesQueueThread(
62
- new Runnable() {
63
- @Override
64
- public void run() {
65
- client.addPlugin(new FrescoFlipperPlugin());
66
- }
67
- });
68
- }
69
- });
70
- } else {
71
- client.addPlugin(new FrescoFlipperPlugin());
72
- }
73
- }
74
- }
75
- }
@@ -1,26 +0,0 @@
1
- <manifest xmlns:android="http://schemas.android.com/apk/res/android">
2
-
3
- <uses-permission android:name="android.permission.INTERNET" />
4
-
5
- <application
6
- android:name=".MainApplication"
7
- android:label="@string/app_name"
8
- android:icon="@mipmap/ic_launcher"
9
- android:roundIcon="@mipmap/ic_launcher_round"
10
- android:allowBackup="false"
11
- android:theme="@style/AppTheme"
12
- android:networkSecurityConfig="@xml/network_security_config">
13
- <activity
14
- android:name=".MainActivity"
15
- android:label="@string/app_name"
16
- android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize|uiMode"
17
- android:launchMode="singleTask"
18
- android:windowSoftInputMode="adjustResize"
19
- android:exported="true">
20
- <intent-filter>
21
- <action android:name="android.intent.action.MAIN" />
22
- <category android:name="android.intent.category.LAUNCHER" />
23
- </intent-filter>
24
- </activity>
25
- </application>
26
- </manifest>
@@ -1,35 +0,0 @@
1
- package com.<%= lowerCaseName %>;
2
-
3
- import com.facebook.react.ReactActivity;
4
- import com.facebook.react.ReactActivityDelegate;
5
- import com.facebook.react.defaults.DefaultNewArchitectureEntryPoint;
6
- import com.facebook.react.defaults.DefaultReactActivityDelegate;
7
-
8
- public class MainActivity extends ReactActivity {
9
-
10
- /**
11
- * Returns the name of the main component registered from JavaScript. This is used to schedule
12
- * rendering of the component.
13
- */
14
- @Override
15
- protected String getMainComponentName() {
16
- return "<%= className %>";
17
- }
18
-
19
- /**
20
- * Returns the instance of the {@link ReactActivityDelegate}. Here we use a util class {@link
21
- * DefaultReactActivityDelegate} which allows you to easily enable Fabric and Concurrent React
22
- * (aka React 18) with two boolean flags.
23
- */
24
- @Override
25
- protected ReactActivityDelegate createReactActivityDelegate() {
26
- return new DefaultReactActivityDelegate(
27
- this,
28
- getMainComponentName(),
29
- // If you opted-in for the New Architecture, we enable the Fabric Renderer.
30
- DefaultNewArchitectureEntryPoint.getFabricEnabled(), // fabricEnabled
31
- // If you opted-in for the New Architecture, we enable Concurrent React (i.e. React 18).
32
- DefaultNewArchitectureEntryPoint.getConcurrentReactEnabled() // concurrentRootEnabled
33
- );
34
- }
35
- }
@@ -1,63 +0,0 @@
1
- package com.<%= lowerCaseName %>;
2
-
3
- import android.app.Application;
4
- import com.facebook.react.PackageList;
5
- import com.facebook.react.ReactApplication;
6
- import com.facebook.react.ReactNativeHost;
7
- import com.facebook.react.ReactPackage;
8
- import com.facebook.react.defaults.DefaultNewArchitectureEntryPoint;
9
- import com.facebook.react.defaults.DefaultReactNativeHost;
10
- import com.facebook.soloader.SoLoader;
11
- import java.util.List;
12
- import com.lugg.RNCConfig.RNCConfigPackage;
13
-
14
- public class MainApplication extends Application implements ReactApplication {
15
-
16
- private final ReactNativeHost mReactNativeHost =
17
- new DefaultReactNativeHost(this) {
18
- @Override
19
- public boolean getUseDeveloperSupport() {
20
- return BuildConfig.DEBUG;
21
- }
22
-
23
- @Override
24
- protected List<ReactPackage> getPackages() {
25
- @SuppressWarnings("UnnecessaryLocalVariable")
26
- List<ReactPackage> packages = new PackageList(this).getPackages();
27
- // Packages that cannot be autolinked yet can be added manually here, for example:
28
- // packages.add(new MyReactNativePackage());
29
- return packages;
30
- }
31
-
32
- @Override
33
- protected String getJSMainModuleName() {
34
- return "<%= entryFile %>";
35
- }
36
-
37
- @Override
38
- protected boolean isNewArchEnabled() {
39
- return BuildConfig.IS_NEW_ARCHITECTURE_ENABLED;
40
- }
41
-
42
- @Override
43
- protected Boolean isHermesEnabled() {
44
- return BuildConfig.IS_HERMES_ENABLED;
45
- }
46
- };
47
-
48
- @Override
49
- public ReactNativeHost getReactNativeHost() {
50
- return mReactNativeHost;
51
- }
52
-
53
- @Override
54
- public void onCreate() {
55
- super.onCreate();
56
- SoLoader.init(this, /* native exopackage */ false);
57
- if (BuildConfig.IS_NEW_ARCHITECTURE_ENABLED) {
58
- // If you opted-in for the New Architecture, we load the native entry point for this app.
59
- DefaultNewArchitectureEntryPoint.load();
60
- }
61
- ReactNativeFlipper.initializeFlipper(this, getReactNativeHost().getReactInstanceManager());
62
- }
63
- }
@@ -1,36 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <!-- Copyright (C) 2014 The Android Open Source Project
3
-
4
- Licensed under the Apache License, Version 2.0 (the "License");
5
- you may not use this file except in compliance with the License.
6
- You may obtain a copy of the License at
7
-
8
- http://www.apache.org/licenses/LICENSE-2.0
9
-
10
- Unless required by applicable law or agreed to in writing, software
11
- distributed under the License is distributed on an "AS IS" BASIS,
12
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- See the License for the specific language governing permissions and
14
- limitations under the License.
15
- -->
16
- <inset xmlns:android="http://schemas.android.com/apk/res/android"
17
- android:insetLeft="@dimen/abc_edit_text_inset_horizontal_material"
18
- android:insetRight="@dimen/abc_edit_text_inset_horizontal_material"
19
- android:insetTop="@dimen/abc_edit_text_inset_top_material"
20
- android:insetBottom="@dimen/abc_edit_text_inset_bottom_material">
21
-
22
- <selector>
23
- <!--
24
- This file is a copy of abc_edit_text_material (https://bit.ly/3k8fX7I).
25
- The item below with state_pressed="false" and state_focused="false" causes a NullPointerException.
26
- NullPointerException:tempt to invoke virtual method 'android.graphics.drawable.Drawable android.graphics.drawable.Drawable$ConstantState.newDrawable(android.content.res.Resources)'
27
-
28
- <item android:state_pressed="false" android:state_focused="false" android:drawable="@drawable/abc_textfield_default_mtrl_alpha"/>
29
-
30
- For more info, see https://bit.ly/3CdLStv (react-native/pull/29452) and https://bit.ly/3nxOMoR.
31
- -->
32
- <item android:state_enabled="false" android:drawable="@drawable/abc_textfield_default_mtrl_alpha"/>
33
- <item android:drawable="@drawable/abc_textfield_activated_mtrl_alpha"/>
34
- </selector>
35
-
36
- </inset>
@@ -1,3 +0,0 @@
1
- <resources>
2
- <string name="app_name"><%= displayName %></string>
3
- </resources>
@@ -1,9 +0,0 @@
1
- <resources>
2
-
3
- <!-- Base application theme. -->
4
- <style name="AppTheme" parent="Theme.AppCompat.DayNight.NoActionBar">
5
- <!-- Customize your theme here. -->
6
- <item name="android:editTextBackground">@drawable/rn_edit_text_material</item>
7
- </style>
8
-
9
- </resources>
@@ -1,7 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <network-security-config>
3
- <domain-config cleartextTrafficPermitted="true">
4
- <domain includeSubdomains="true">10.0.2.2</domain>
5
- <domain includeSubdomains="true">localhost</domain>
6
- </domain-config>
7
- </network-security-config>
@@ -1,20 +0,0 @@
1
- /**
2
- * Copyright (c) Meta Platforms, Inc. and affiliates.
3
- *
4
- * <p>This source code is licensed under the MIT license found in the LICENSE file in the root
5
- * directory of this source tree.
6
- */
7
- package com.<%= lowerCaseName %>;
8
-
9
- import android.content.Context;
10
- import com.facebook.react.ReactInstanceManager;
11
-
12
- /**
13
- * Class responsible of loading Flipper inside your React Native application. This is the release
14
- * flavor of it so it's empty as we don't want to load Flipper.
15
- */
16
- public class ReactNativeFlipper {
17
- public static void initializeFlipper(Context context, ReactInstanceManager reactInstanceManager) {
18
- // Do nothing as we don't want to initialize Flipper on Release.
19
- }
20
- }
@@ -1,34 +0,0 @@
1
- // Top-level build file where you can add configuration options common to all sub-projects/modules.
2
-
3
- buildscript {
4
- ext {
5
- buildToolsVersion = "33.0.0"
6
- minSdkVersion = 21
7
- compileSdkVersion = 33
8
- targetSdkVersion = 33
9
- kotlinVersion = "1.7.21"
10
-
11
- // We use NDK 23 which has both M1 support and is the side-by-side NDK version from AGP.
12
- ndkVersion = "23.1.7779620"
13
- }
14
- repositories {
15
- google()
16
- mavenCentral()
17
- }
18
- dependencies {
19
- classpath("com.android.tools.build:gradle:7.3.1")
20
- classpath("com.facebook.react:react-native-gradle-plugin")
21
- classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion")
22
- }
23
- }
24
-
25
- allprojects {
26
- repositories {
27
- <% if (e2eTestRunner === 'detox') { %>
28
- maven {
29
- // https://wix.github.io/Detox/docs/introduction/project-setup
30
- url("$rootDir/../node_modules/detox/Detox-android")
31
- }
32
- <% } %>
33
- }
34
- }
@@ -1,5 +0,0 @@
1
- distributionBase=GRADLE_USER_HOME
2
- distributionPath=wrapper/dists
3
- distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-all.zip
4
- zipStoreBase=GRADLE_USER_HOME
5
- zipStorePath=wrapper/dists
@@ -1,44 +0,0 @@
1
- # Project-wide Gradle settings.
2
-
3
- # IDE (e.g. Android Studio) users:
4
- # Gradle settings configured through the IDE *will override*
5
- # any settings specified in this file.
6
-
7
- # For more details on how to configure your build environment visit
8
- # http://www.gradle.org/docs/current/userguide/build_environment.html
9
-
10
- # Specifies the JVM arguments used for the daemon process.
11
- # The setting is particularly useful for tweaking memory settings.
12
- # Default value: -Xmx512m -XX:MaxMetaspaceSize=256m
13
- org.gradle.jvmargs=-Xmx2048m -XX:MaxMetaspaceSize=512m
14
-
15
- # When configured, Gradle will run in incubating parallel mode.
16
- # This option should only be used with decoupled projects. More details, visit
17
- # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
18
- # org.gradle.parallel=true
19
-
20
- # AndroidX package structure to make it clearer which packages are bundled with the
21
- # Android operating system, and which are packaged with your app's APK
22
- # https://developer.android.com/topic/libraries/support-library/androidx-rn
23
- android.useAndroidX=true
24
- # Automatically convert third-party libraries to use AndroidX
25
- android.enableJetifier=true
26
-
27
- # Version of flipper SDK to use with React Native
28
- FLIPPER_VERSION=0.125.0
29
-
30
- # Use this property to specify which architecture you want to build.
31
- # You can also override it from the CLI using
32
- # ./gradlew <task> -PreactNativeArchitectures=x86_64
33
- reactNativeArchitectures=armeabi-v7a,arm64-v8a,x86,x86_64
34
-
35
- # Use this property to enable support to the new architecture.
36
- # This will allow you to use TurboModules and the Fabric render in
37
- # your application. You should enable this flag either if you want
38
- # to write custom TurboModules/Fabric components OR use libraries that
39
- # are providing them.
40
- newArchEnabled=false
41
-
42
- # Use this property to enable or disable the Hermes JS engine.
43
- # If set to false, you will be using JSC instead.
44
- hermesEnabled=true