-
Notifications
You must be signed in to change notification settings - Fork 46
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
feat: add proactive bug reporting #559
base: dev
Are you sure you want to change the base?
Conversation
* fix: add support for newer gradle versions (#512) * feat: attach w3c header (#481) * feat: add android feature flag * fix: test cases * fix: test cases * fix: test cases * fix: test cases * fix: add more test cases * fix: add more test cases * fix: add more test cases * fix: add more test cases * Release: v14.0.0 (#532) * chore(android): bump sdk to v14.0.0 * chore(ios): bump sdk to v14.0.0 * Release: v14.0.0 * Release: v14.0.0 * Release: v14.0.0 * chore: change release date (#535) * Release: 14.1.0 (#539) * release: 14.1.0 * release: 14.1.0 * release: v14.1.0 * release: v14.1.0 --------- Co-authored-by: kholood <[email protected]>
# Conflicts: # CHANGELOG.md # example/ios/Podfile.lock
} | ||
|
||
// Builder class for ProactiveReportingConfigs | ||
class ProactiveReportingConfigsBuilder { |
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.
would you please tell me why have we opted into Builder pattern here instead of named parameters with default value?
|
||
@Override | ||
public void setProactiveReportingConfigurations(@NonNull Boolean enabled, @NonNull Long gapBetweenModals, @NonNull Long modalDelayAfterDetection) { | ||
ThreadManager.runOnMainThread(new Runnable() { |
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.
Could you please explain to me why are we explicitly running our logic using the ThreadManager.runOnMainThread(...)
api?
public void testSetProactiveReportingConfigurations() { | ||
// given | ||
boolean enabled = true; | ||
long gapBetweekDialogs = 20; |
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 believe there's a small typo here. It should be gapBetweenDialogs
instead of gapBetweekDialogs
, right?
…to feat/proactive-bug-reporting
Description of the change
feat: add proactive bug reporting
Type of change
Related issues
JIRA ID : MOB-17931
Checklists
Development
Code review