[ios] Update setup to use Podfile template contents
This commit is contained in:
parent
8bf660badc
commit
d68703da64
|
@ -8,6 +8,7 @@ fi
|
|||
|
||||
podfile="$ios_dir/Podfile"
|
||||
template=`pwd`/node_modules/react-native-firebase/ios/Podfile.template
|
||||
template_content=`cat $template`
|
||||
|
||||
project_name=$(node -pe "require('./package.json').name")
|
||||
|
||||
|
@ -46,16 +47,7 @@ target '${project_name}' do
|
|||
end
|
||||
|
||||
# RNFirebase
|
||||
pod 'Firebase/Auth'
|
||||
pod 'Firebase/Analytics'
|
||||
pod 'Firebase/AppIndexing'
|
||||
pod 'Firebase/Core'
|
||||
pod 'Firebase/Crash'
|
||||
pod 'Firebase/Database'
|
||||
pod 'Firebase/DynamicLinks'
|
||||
pod 'Firebase/Messaging'
|
||||
pod 'Firebase/RemoteConfig'
|
||||
pod 'Firebase/Storage'
|
||||
${template_content}
|
||||
EOL
|
||||
|
||||
echo "Installing Pods"
|
||||
|
|
|
@ -1,3 +1,23 @@
|
|||
pod "Yoga", :path => "../node_modules/react-native/ReactCommon/yoga"
|
||||
pod 'React', :path => '../node_modules/react-native', :subspecs => [
|
||||
# Add any other subspecs you want to use in your project
|
||||
'BatchedBridge',
|
||||
'Core',
|
||||
#'DevSupport'
|
||||
#'RCTActionSheet',
|
||||
#'RCTAnimation',
|
||||
#'RCTCameraRoll',
|
||||
#'RCTGeolocation',
|
||||
#'RCTImage',
|
||||
#'RCTLinkingIOS',
|
||||
#'RCTNetwork',
|
||||
#'RCTPushNotification',
|
||||
#'RCTSettings',
|
||||
#'RCTText',
|
||||
#'RCTVibration',
|
||||
#'RCTWebSocket'
|
||||
]
|
||||
|
||||
pod 'Firebase/Auth'
|
||||
pod 'Firebase/Analytics'
|
||||
pod 'Firebase/AppIndexing'
|
||||
|
|
Loading…
Reference in New Issue