React Native developing on Windows for Android and ios

869 Views Asked by At

i'm little bit confused about the installation of COCOAPODS and the installation gydes for react-native libaries.

If I developing on Windows for iOS and Android. Do I have installing the COCOAPODS?

And what about this: https://reactnavigation.org/docs/getting-started/

Do i have run the following command: npx pod-install ios

Or is this only if I developing on Mac?

Thanks for all replies.

1

There are 1 best solutions below

3
On

Cocoapods is only needed when developing for iOS. You do not need to run npx pod-install ios when developing for Android. Android has its own methods for linking libraries.

While you can use Cocoapods on Windows (see here), again, it's only for when you are developing for iOS.