File tree Expand file tree Collapse file tree
plugin-brownfield-android/template
plugin-brownfield-ios/template
website/src/docs/brownfield Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ---
2+ ' @rock-js/plugin-brownfield-android ' : patch
3+ ' @rock-js/plugin-brownfield-ios ' : patch
4+ ---
5+
6+ feat: use latest brownfield with fixes for 0.81+ on Android
Original file line number Diff line number Diff line change 55 "publish-local:aar" : " pnpm package:aar && rock publish-local:aar --module-name helloworldreact"
66 },
77 "dependencies" : {
8- "@callstack/react-native-brownfield" : " ^1.2 .0"
8+ "@callstack/react-native-brownfield" : " ^2.0 .0"
99 },
1010 "devDependencies" : {
1111 "@rock-js/plugin-brownfield-android" : " ^0.11.9"
Original file line number Diff line number Diff line change 44 "package:ios" : " rock package:ios --scheme HelloWorldReact --configuration Release"
55 },
66 "dependencies" : {
7- "@callstack/react-native-brownfield" : " ^1.2 .0"
7+ "@callstack/react-native-brownfield" : " ^2.0 .0"
88 },
99 "devDependencies" : {
1010 "@rock-js/plugin-brownfield-ios" : " ^0.11.9"
Original file line number Diff line number Diff line change @@ -101,6 +101,15 @@ Here we add the `react-native-brownfield` library to help us with APIs required
101101
102102<PackageManagerTabs command = " install @callstack/react-native-brownfield" />
103103
104+ ** Compatibility Matrix**
105+
106+ | React Native Version | ` @callstack/react-native-brownfield ` Version |
107+ | -------------------- | -------------------------------------------- |
108+ | 0.81+ | v2 (latest) |
109+ | < 0.81 | v1.2.0 |
110+
111+ Our default brownfield template uses the latest version of ` @callstack/react-native-brownfield ` (currently v2).
112+
104113### 5. Create React Native Host Manager
105114
106115Create a new file called ` ReactNativeHostManager.kt ` in your ` reactnativeapp ` module:
You can’t perform that action at this time.
0 commit comments