Skip to content

What is source:rnv and how to change it to specific custom version from fork #1535

Discussion options

You must be logged in to vote

@ParvinderjitSF
There is no easy way to change the react-native version because rnv also uses a project template that is configured according to the current react-native version. The term "source: rnv" refers to the location where the current plugin implementation is defined (in this case, it’s node_modules/@rnv/config-templates/renative.templates.json).

Steps for modifying the react-native version:

  1. change the version in the package. json;
  2. configure the plugin in renative. json;
 "plugins": {
        "react-native":{
            "version": "0.74.0",
            "disablePluginTemplateOverrides": true
        }
    },
  1. use platform build overrides to change files which are modified accor…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by pauliusguzas
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants