Closed dus7 closed 3 months ago
Warnings | |
---|---|
:warning: | PR has more than 500 lines of code changing. Consider splitting into smaller PRs if possible. |
Generated by :no_entry_sign: dangerJS against b03af69de0ab54aa96b3f84a26400f68e13662e8
Not sure how compatible it is with the PixelKit work?
@federicocappelli any thoughts on this? Do you think it clashes with PixelKit in any way?
Not sure how compatible it is with the PixelKit work?
@federicocappelli any thoughts on this? Do you think it clashes with PixelKit in any way?
Hi @dus7, from my understanding you wanted to:
Your implementation seems good BUT I'm a bit worried about the constant diverging of our approaches across platforms, this could have been a good occasion for adopting PixelKit (only for .appleAdAttribution
), adding swift concurrency to it and using the tools in PixelKitTestingUtilities
for your unit tests.
My point is that I would like to see more collaboration and various teams working on shared tools instead of each of us re-implementing its own thing. This code becomes immediately tech debt, and another blocker, as soon someone tries to adopt PixelKit in iOS.
Thanks @federicocappelli, this makes sense to me. Completely agreed we should not be diverging our approaches and it wasn't my goal at all while writing this. I wasn't aware about the existence of PixelKitTestingUtilities
, nor there's any usage of PixelKit
yet in iOS app so I just went and solved my own problem which has now escalated to multiple places :).
I'll merge this PR and add a task for myself to add swift concurrency to PixelKit and refactor this code to use PixelKit instead.
Thanks @federicocappelli, this makes sense to me. Completely agreed we should not be diverging our approaches and it wasn't my goal at all while writing this. I wasn't aware about the existence of
PixelKitTestingUtilities
, nor there's any usage ofPixelKit
yet in iOS app so I just went and solved my own problem which has now escalated to multiple places :).I'll merge this PR and add a task for myself to add swift concurrency to PixelKit and refactor this code to use PixelKit instead.
Perfectly understandable! Thank you for putting in the effort!
Task/Issue URL: https://app.asana.com/0/1206226850447395/1207703703130204/f Tech Design URL: CC:
Description:
Adds RemoteMessaging capability to new
NewTabPage
layout.PixelFiring
protocol got reorganized and extended, allowing to abstract this functionality and make depending logic testable. So far it was used only inAdAttributionPixelReporter
.Steps to test this PR:
RemoteMessagingClient.endpoint
value tohttps://www.jsonblob.com/api/1257306235471781888
.Definition of Done (Internal Only):
Device Testing:
Internal references:
Software Engineering Expectations Technical Design Template