-
Notifications
You must be signed in to change notification settings - Fork 360
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
Fastlane/Firebase config: use stagingRelease buildType for :apk and :apk_local builds #1833
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
🦋 Changeset detectedLatest commit: 447353c The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
@@ -1,7 +1,6 @@ | |||
APP_NAME="Ledger Live" | |||
SENTRY_DSN=https://ea730d6c531f40679e7306c888f7fbc5@o118392.ingest.sentry.io/6723478 | |||
ANALYTICS_TOKEN=jfUZbw28ig8JpEi9DZpTUc21dKUKu1e3 | |||
GOOGLE_SERVICE_INFO_NAME="GoogleService-Info-Production" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is unused and it's confusing everyone. Unfortunately we cannot easily configure Google services (thus Firebase) dynamically with a simple environment variable.
📝 Description
Right now, non-release builds triggered from the CI on Android have a
"release"
buildType
. Unfortunately, Firebase is configured statically withgoogle-services.json
files that are different depending on thebuildType
.Since these non-release builds should be considered as "staging" builds, it seems normal that they use the staging configuration for Firebase, and thus target the staging Firebase project.
So this PR changes the logic of builds so that they use the
"stagingRelease"
buildType
. It will have two impacts:"com.ledger.live.staging"
, so they will be installed separately from the prod application.❓ Context
ledger-live-mobile
✅ Checklist
📸 Demo
🚀 Expectations to reach
Please make sure you follow these Important Steps.
Pull Requests must pass the CI and be internally validated in order to be merged.