Add setting to enable sending buffering events #2

Closed
kekkyojin wants to merge 1 commit from buffer-analytics-setting into master
kekkyojin commented 2020-08-03 10:11:57 +02:00 (Migrated from github.com)

PR Checklist

Please check all that apply to this PR using "x":

  • I have checked that this PR is not a duplicate of an existing PR (open, closed or merged)
  • I have checked that this PR does not introduce a breaking change
  • This PR introduces breaking changes and I have provided a detailed explanation below

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting)
  • Refactoring (no functional changes)
  • Documentation changes
  • Other - Please describe:

Fixes

Issue Number: 1

What is the current behavior?

Buffering events are sent to LBRY without user permission. User cannot disable this behavior. This makes Tracking AntiFeature to appear in FDroid store listing.

What is the new behavior?

No buffering event is sent to LBRY servers by default. User can enable this events to be sent at will. FDroid will not show the Tracking AntiFeature as user is in control of data being sent and the default is to not send it.

Other information

I am creating this PR so it could be reviewed by another person different than mine -which could spot any potential new bug-. This PR has also been created here instead of upstream because the problem is about FDroid, so it seems more logical to make modifications here.

EDIT: translation on 1 new string will be required. Of course it could be reworded if LBRY teams requires it.

I will leave it as it is until reviewer accepts the modifications or LBRY team gives explicit consent to merge it. If a new tagged release appears in lbry-android and this hasn't been merged yet, I will request for permission to merge it.

## PR Checklist <!-- For the checkbox formatting to work properly, make sure there are no spaces on either side of the "x" --> Please check all that apply to this PR using "x": - [x] I have checked that this PR is not a duplicate of an existing PR (open, closed or merged) - [x] I have checked that this PR does not introduce a breaking change - [ ] This PR introduces breaking changes and I have provided a detailed explanation below ## PR Type What kind of change does this PR introduce? - [ ] Bugfix - [x] Feature - [ ] Code style update (formatting) - [ ] Refactoring (no functional changes) - [ ] Documentation changes - [ ] Other - Please describe: ## Fixes Issue Number: 1 ## What is the current behavior? Buffering events are sent to LBRY without user permission. User cannot disable this behavior. This makes Tracking AntiFeature to appear in FDroid store listing. ## What is the new behavior? No buffering event is sent to LBRY servers by default. User can enable this events to be sent at will. FDroid will not show the Tracking AntiFeature as user is in control of data being sent and the default is to not send it. ## Other information I am creating this PR so it could be reviewed by another person different than mine -which could spot any potential new bug-. This PR has also been created here instead of upstream because the problem is about FDroid, so it seems more logical to make modifications here. EDIT: translation on 1 new string will be required. Of course it could be reworded if LBRY teams requires it. I will leave it as it is until reviewer accepts the modifications or LBRY team gives explicit consent to merge it. If a new tagged release appears in lbry-android and this hasn't been merged yet, I will request for permission to merge it. <!-- If this PR contains a breaking change, please describe the impact and solution strategy for existing applications below. -->
akinwale (Migrated from github.com) reviewed 2020-08-03 10:11:57 +02:00
kekkyojin commented 2020-08-23 18:25:22 +02:00 (Migrated from github.com)

Could this be merged to be released along 0.16.0 on F-Droid, @akinwale? Or is it better to leave it for another future release?

Could this be merged to be released along 0.16.0 on F-Droid, @akinwale? Or is it better to leave it for another future release?
kekkyojin commented 2020-08-24 23:56:06 +02:00 (Migrated from github.com)

Closed as it has been moved to upstream lbry-android repository PR 993

Closed as it has been moved to upstream lbry-android repository PR 993

Pull request closed

Sign in to join this conversation.
No description provided.