[No QA] Add GoogleTagManger libs#51201
Conversation
|
This firebase upgrade requires use_frameworks which seems to not be compatible with some of our packages and the new fabric architecture.
I'm going to try to move forward without a firebase upgrade and see if it still works in the DebugView. |
|
I'm having Android build issues, but I can successfully build iOS without I managed to fix the plaid error by defining the |
de0db37 to
92c5442
Compare
|
Alright I've split this into two PR's. This one just adds the GTM library with no firebase upgrade. #51413 does both. Good news is I got the DebugView to work on iOS!
|
|
Hey, I noticed you changed some webpack configuration files. This can break production builds. Did you remember to run a production build locally to verify they still work? |
|
Alright this is code complete and testing well. We'll move forward without upgrading Firebase for now. |
|
@allroundexperts Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-11-01.at.3.39.49.AM.movAndroid: mWeb ChromeScreen.Recording.2024-11-01.at.3.38.23.AM.moviOS: NativeScreen.Recording.2024-11-01.at.3.36.14.AM.moviOS: mWeb SafariScreen.Recording.2024-11-01.at.3.32.47.AM.movMacOS: Chrome / SafariScreen.Recording.2024-11-01.at.3.27.59.AM.movMacOS: DesktopScreen.Recording.2024-11-01.at.3.30.29.AM.mov |
|
@neil-marcellini Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
neil-marcellini
left a comment
There was a problem hiding this comment.
Looks good thank you. I left some NABs.
neil-marcellini
left a comment
There was a problem hiding this comment.
Thanks for the updates
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/neil-marcellini in version: 9.0.57-0 🚀
|
|
🚀 Deployed to production by https://github.com/luacmartins in version: 9.0.57-10 🚀
|
Details
Adds GoogleTagManager libs that we'll start using to publish analytics events. The web lib uses a third party google script we embed in the app and the native lib uses
react-native-firebaseto publish the same events.Fixed Issues
$ #50938
Tests
Note: No mWeb tests since we need to view console/logs
GTM lib
USE_THIRD_PARTY_SCRIPTS=trueto your .envios/GoogleService-Info.plistandroid/app/google-services.json[GTM] event publishedlogProduction build
npm run builddist/index.htmlcontains<script async="" src="thirdPartyScripts.js">Offline tests
None
QA Steps
None
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
iOS: Native
MacOS: Chrome / Safari
MacOS: Desktop