Closed lchnnl closed 3 years ago
When creating a new react-native app using forcereact, then the podfile does not include the necessary changes as described (here)[https://reactnative.thenativebits.com/courses/upgrading-react-native/upgrade-to-react-native-0.60/]
When I add a library using npm install --save <package-name and run pod install the newly added package is not added.
npm install --save <package-name
pod install
Steps to reproduce
forcereact createWithTemplate --templaterepouri=ReactNativeTemplate
npm install --save react-native-camera
npx pod-install
After running the last command you'll see that no pods are linked.
Thanks for reporting. We will take a look.
With this change https://github.com/forcedotcom/SalesforceMobileSDK-Templates/pull/304, forcereact generated apps will auto-link their dependencies.
When creating a new react-native app using forcereact, then the podfile does not include the necessary changes as described (here)[https://reactnative.thenativebits.com/courses/upgrading-react-native/upgrade-to-react-native-0.60/]
When I add a library using
npm install --save <package-name
and runpod install
the newly added package is not added.Steps to reproduce
forcereact createWithTemplate --templaterepouri=ReactNativeTemplate
npm install --save react-native-camera
This package supports autolinkingnpx pod-install
After running the last command you'll see that no pods are linked.