Closed jsecretan closed 1 year ago
@brave/ios ok if I pick this up, or would you prefer to assign to somebody else? Thanks
go ahead @tmancey
Verified using version 1.45.2 (22.11.18.20)
on the following device(s):
iPhone 12 Pro
-iOS 16.x
iPhone X
- iOS 14.x
iPads
- iPadOS 16.x, 15.x
Description:
In preparation for Brave Ads on Brave Search, it is helpful for the Brave Search backend to understand whether the requesting browser has Brave Ads enabled. As such, we should add a header to any call to Brave Search (and its associated dev/staging environments), whether originating from the main search box or the Omnibox:
X-Brave-Ads-Enabled
should be set to1
when Brave Ads is enabled on the device.This issue may provide some guidance on the best way to accomplish that: https://github.com/brave/brave-ios/issues/887