-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CodePushDeploymentKey react-native link bug when using firebase #661
Comments
Looks like it is due to this line - https://github.com/Microsoft/react-native-code-push/blob/master/scripts/postlink/ios/postlink.js#L52 We need to look for Info.plist, not *Info.plist. |
Yeah, changing the glob's pattern is the simplest approach, but we were thinking about more advanced one - reading path to/name of *.plist from xcode project rather than globbing it by pattern. |
Added Xcode package for parsing xcodeproj file and retrieving correct plist file related to the project. This should also fix issue described here: microsoft#661
Added Xcode package for parsing xcodeproj file and retrieving correct plist file related to the project. This should also fix issue described here: microsoft#661
* Improved logic for searching plist file path for iOS postlink.js Added Xcode package for parsing xcodeproj file and retrieving correct plist file related to the project. This should also fix issue described here: #661 * Improved logic for searching plist file path for iOS postlink.js Added logic to narrow xcode 'getBuildProperty' function results to specified Product_Name property. This should help us to chsose correct project from pbxproj file when we have several projects defined. * Added logic to try to get 'Release' build of ProductName matching the package name first and if it doesn't exist then try to get any other if existing
Closed it for now as a pull request with fixes has been already merged. |
@max-mironov Has this fix made it into a release yet? I've just followed the CodePush setup instructions from scratch, with |
@jordanmkoncz hello - yes, that fix should be present in recent 1.17.3 beta version. |
@max-mironov Done :) |
I'm using firebase in my react-native app and therefore I have a GoogleService-Info.plist in my project now when I run the "react-native link" command the CodePushDeploymentKey added to GoogleService-Info.plist instead of the Info.plist file.
The text was updated successfully, but these errors were encountered: