-
Notifications
You must be signed in to change notification settings - Fork 9
Provide opt-out for crash reporting and device capture features #80
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
com.deploygate app can know the shallow-configuration via init event
| String captureId = null; | ||
|
|
||
| if (mDeployGateClient.isSupported(Compatibility.DEVICE_CAPTURE)) { | ||
| if (mHostApp.canUseDeviceCapture() && mDeployGateClient.isSupported(Compatibility.DEVICE_CAPTURE)) { |
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.
SDK cannot turn off the device capture feature completely because triggers will be fired from the client app.
satsukies
left a comment
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.
LGTM 👍
| Truth.assertThat(app.packageName).isEqualTo("com.deploygate.sdk.test"); | ||
| Truth.assertThat(app.sdkVersion).isEqualTo(4); | ||
| Truth.assertThat(app.sdkArtifactVersion).isEqualTo("4.6.1"); | ||
| Truth.assertThat(app.activeFeatureFlags).isEqualTo(31); |
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 understood this assertion expected 31 because activeFeatureFlags has 0x11111 -> 31 when all features enabled.
|
Thank you~ 🙏 |
Close #68
We should provide flexible configuration for users. Especially, opting-out data collection is getting important. Some of features are triggered by our client app, so SDK state must be delivered to our app through AIDL; We can know the active features from init event.