-
Notifications
You must be signed in to change notification settings - Fork 148
Advice re data collection notifications pre-built-in experience #2244
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
base: master
Are you sure you want to change the base?
Advice re data collection notifications pre-built-in experience #2244
Conversation
|
|
||
| ## Supporting older Firefox versions | ||
|
|
||
| If your extension is available for Firefox for desktop 139 and earlier or Firefox for Android 141 and earlier, consider: |
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.
Does the word consider tell that you have to do either of the two? Do we need to make that more explicit?
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.
@wagnerand-moz, my understanding is that developers are not obliged to do either, is that incorrect?
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.
They are obliged. Having a data collection consent experience is mandatory if you are collecting data. Since there is no built-in one in the older versions of Firefox, developers have to provide a custom-built one. The policies haven't changed in that regard, the built-in consent only provides a much easier mechanism to meet the requirements, but it is only available in newer versions.
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.
@wagnerand-moz updated the advice. Also added the option of using strict_min_version.
| - turn off the data collection for old Firefox versions, as it's likely most users are on newer versions of Firefox. | ||
| - implement a custom data collection experience and display it when installing on an old version of Firefox. Your extension can determine the platform and Firefox version it's installed on by checking `os` from [runtime.getPlatformInfo()](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/runtime/getPlatformInfo) and `version` from [runtime.getBrowserInfo()](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/runtime/getBrowserInfo) in a [runtime.onInstalled](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/runtime/onInstalled) listener, like this: | ||
|
|
||
| ```js |
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.
@rpl could you or someone in your team take a look at this code snippet?
…w built-in feature
This change adds advice for developers who implement the Firefox built-in data collection experience in extensions that also run in versions of the browser without the built-in experience.