CocoaPod iOS Installation
masterTo use CocoaPods for iOS, add the library to your ios/Podfile pointing to the local node_modules path. This handles linking and Header Search Paths automatically.
After updating the Podfile, run cd ios && pod install.
target 'MyReactApp' do
# ... other pods
pod 'react-native-restart', :path => '../node_modules/react-native-restart'
end