You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Has anyone experienced a problem of not being able to read Info.plist while using both react-native-code-push and react-native-firebase? More precisely, it is a problem of not being able to read that Info.plist when it changes.
I have a situation where I need to change the Firebase Info.plist file. (Create a new project from the Firebase console)
I changed the Info.plist and did clean build, but it only leads to a changed project in a debug environment, and in staging, release (environment using code-push), the changed Info.plist does not apply and leads to a previous project.
My environment is using debug, staging, release // staging, release are using react-native-code-push.
The build phases script related to Info List is as follows.
case "${CONFIGURATION}" in
"Debug")
cp "${SRCROOT}/GoogleService-Info-Debug.plist" "${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}.app/GoogleService-Info.plist" ;;
"Release")
cp "${SRCROOT}/GoogleService-Info-Release.plist" "${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}.app/GoogleService-Info.plist" ;;
"Staging")
cp "${SRCROOT}/GoogleService-Info-Staging.plist" "${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}.app/GoogleService-Info.plist" ;;
esac
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Has anyone experienced a problem of not being able to read Info.plist while using both react-native-code-push and react-native-firebase? More precisely, it is a problem of not being able to read that Info.plist when it changes.
case "${CONFIGURATION}" in
"Debug")
cp "${SRCROOT}/GoogleService-Info-Debug.plist" "${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}.app/GoogleService-Info.plist" ;;
"Release")
cp "${SRCROOT}/GoogleService-Info-Release.plist" "${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}.app/GoogleService-Info.plist" ;;
"Staging")
cp "${SRCROOT}/GoogleService-Info-Staging.plist" "${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}.app/GoogleService-Info.plist" ;;
esac
Beta Was this translation helpful? Give feedback.
All reactions