[ads] Should not fetch geo and catalog on iOS when Brave Rewards/News disabled #39621
Labels
bug
feature/ads
OS/iOS
Fixes related to iOS browser functionality
priority/P1
A very extremely bad problem. We might push a hotfix for it.
QA Pass - iPhone
QA/Yes
release-notes/include
Milestone
Description
Following Brave News chromium preferences are always set to true because iOS uses it's own set of native preferences:
https://github.com/brave/brave-core/blob/master/ios/browser/api/ads/brave_ads.mm#L1531
This was working as expected until
ShouldAlwaysRunBraveAdsService
feature is enabled for iOS where we start brave ads when rewards and news are disabled. To fix the issue we need to properly set Brave News chromium preferences basing on Brave News native preference values for iOS.Following preferences should be also properly set:
The text was updated successfully, but these errors were encountered: