Example App should be able to build and run without Firebase configured via google-services.json
#318
Labels
code-quality
Affects the developer experience when working in our codebase.
Friction is way too high for those who wish to test the SDK without support for push notifications.
Relates to #316.
I observed on my local machine:
{code}
example % flutter build apk
💪 Building with sound null safety 💪
FAILURE: Build failed with an exception.
Execution failed for task ':app:processReleaseGoogleServices'.
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org/
BUILD FAILED in 56s
Running Gradle task 'assembleRelease'... 56.8s
Gradle task assembleRelease failed with exit code 1
{code}
@ikurek [responded (internal Slack message) that|https://ably-real-time.slack.com/archives/C0178QGC093/p1644237008457189?thread_ts=1644236687.002689&cid=C0178QGC093]:
I wonder if there's another approach, given how flexible Gradle is, where the build can detect if {{google-services.json}} is present and only enable the Google Services Plugin / Firebase complexities in that case. 🤔
The text was updated successfully, but these errors were encountered: