Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(smartNTT): process assets in new campaign array
SmartNTTs are targeted locally by the browser, and only shown to users if the configured conditions match. Non-smart capable browsers - that pre-date the introduction of this feature - should never show these NTTs. To enforce this: - the existing campaigns array in photo.json never includes smartNTTs - a new campaigns2 array is included in photo.json. This includes all NTTs, including smart ones. SmartNTT capable browsers read the campaigns2 array. Non-smart capable browsers continue to read the campaigns array. Assets referenced in either of these arrays need to be included within the crx package. See brave/ntp-si-assets#1192.
- Loading branch information