-
Notifications
You must be signed in to change notification settings - Fork 625
Handle the case where we can't identify the release. #4331
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
Conversation
Generated by 🚫 Danger |
Coverage Report 1Affected Products
Test Logs |
Size Report 1Affected Products
Test Logs |
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.
A null release name isn't the most intuitive signal that we are in dev mode, but I see how it makes the Task flow easier in doStartFeedback, as opposed to checking for dev mode when handling the task failure.
Do you think it's worth at least making the argument to FeedbackActivity more explicit? Maybe with a boolean dev mode flag?
...tion/src/main/java/com/google/firebase/appdistribution/impl/FirebaseAppDistributionImpl.java
Outdated
Show resolved
Hide resolved
...ppdistribution/src/main/java/com/google/firebase/appdistribution/impl/ReleaseIdentifier.java
Show resolved
Hide resolved
Ack.
I experimented with it and it was more clunky. I opted for a generous sprinkling of comments (and |
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.
Looks great!
Use `adb shell setprop debug.firebase.appdistro.devmode true` for development mode. This mode doesn't verify that a release is present and doesn't actually submit feedback - it just demonstrates the UI,
Use `adb shell setprop debug.firebase.appdistro.devmode true` for development mode. This mode doesn't verify that a release is present and doesn't actually submit feedback - it just demonstrates the UI,
Use `adb shell setprop debug.firebase.appdistro.devmode true` for development mode. This mode doesn't verify that a release is present and doesn't actually submit feedback - it just demonstrates the UI,
Developers can use
adb shell setprop debug.firebase.appdistro.devmode true
to skip checking the release version (and skip actually submitting feedback - while keeping the UI).