-
Notifications
You must be signed in to change notification settings - Fork 586
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
Make Sessions throw meaningful message when used with incompatible Perf #5477
Conversation
} | ||
|
||
@Test | ||
fun handleSessionUpdate_sendsToAllSubscribersAsLongAsOneIsEnabled() = | ||
runTest(UnconfinedTestDispatcher()) { | ||
val client = SessionLifecycleClient(backgroundDispatcher() + coroutineContext) | ||
val crashlyticsSubscriber = addSubscriber(true, SessionSubscriber.Name.CRASHLYTICS) | ||
val perfSubscriber = addSubscriber(false, SessionSubscriber.Name.PERFORMANCE) | ||
val mattSaysHiSubscriber = addSubscriber(false, SessionSubscriber.Name.MATT_SAYS_HI) |
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.
Hi Matt.
Coverage Report 1Affected Products
Test Logs |
Incompatible versions of Firebase Perf and Firebase Sessions. | ||
A safe combination would be: | ||
firebase-sessions:1.1.0 | ||
firebase-crashlytics:18.5.0 | ||
firebase-perf:20.5.0 |
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.
Do you want the message to reflect that a particular version of a library and above or just leave it at the specified version. Leaving it at a specified version is going to need to update this comment in the near future.
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.
I put this for now because I don't know what will happen in future versions. I expect we will make it compatible again, so maybe only this version will have this message. If you have a better idea for wording that reflects that we can work on the message.
No description provided.