Install the Package
Install the library using your preferred package manager:iOS Setup
1
Update your Podfile
The library requires a specific fork of NMSSH that includes an updated version of libssh. Add the following line to your
Podfile located at ./ios/Podfile:ios/Podfile
We use aanah0’s fork of NMSSH to get a required later version of libssh.
2
Install pods
Run pod install in your iOS directory:
3
Optional: Automate pod installation
Add a
postinstall script to your package.json to automatically run pod install after npm install:package.json
Troubleshooting iOS
iOS Simulator Not SupportedThis package currently doesn’t support the iOS simulator. You will need to test on a physical iOS device. See this issue for more information.
Android Setup
No additional configuration is required for Android. The library works out of the box after installation.Linking
This library uses React Native autolinking (introduced in React Native 0.60+). Manual linking is not required.If you’re using React Native 0.60 or later, the library will be automatically linked. Simply rebuild your app after installation.