Setting up the proper Maven repositories (Maven Central, Google Maven Repo, JSC local Maven repo, etc.) needed to consume all the necessary Maven Dependencies. Setting up the proper version of the :react-android and :hermes-android dependency, reading the React Native version from the package.json of react-native.Add a createBundleJsAndAssets task for every non debuggable variant, that is responsible of invoking the bundle, hermesc and compose-source-map commands.Here is a summary of the plugin responsibilities: The plugin is also used inside 3rd party libraries, to run the Codegen used for the New Architecture. The React Native Gradle Plugin is responsible for configuring your Application build to ship React Native applications to production. What is the plugin doing under the hood? For example, if you list fullStaging in the debuggableVariants, you won't be able to publish it to a store as it will be missing the bundle. This is necessary because the plugin will skip the JS bundling for all the debuggableVariants: you'll need Metro to run them.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |