Skip to content

Conversation

@lposen
Copy link
Contributor

@lposen lposen commented Oct 23, 2024

🔹 JIRA Ticket(s) if any

✏️ Description

Added a commerce section to the example app

Testing

  • cd into the root directory
  • run yarn install
  • cd into the example directory
  • follow the instructions for setup in the example directories readme

Screenshots

iOS

ios-commerce.mov

Android

android-commerce.mov

…nstants, add associated icon, and update URL handling in IterableAppProvider
…urchase tracking, define Commerce route in navigation, and create associated constants and styles
@lposen lposen requested review from Ayyanchira and evantk91 November 6, 2024 23:41
Base automatically changed from 2.0.0-alpha/MOB-10033-add-inbox to 2.0.0-alpha/master November 25, 2024 19:52
Copy link
Contributor

@evantk91 evantk91 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left a few comments but looks good overall.

import { Route } from '../constants/routes';

export type MainScreenParamList = {
[Route.Commerce]: undefined;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this typed undefined until a type is figured out?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's typed as undefined because it's not expecting any props


Iterable.trackPurchase(totalPrice, purchaseItems, dataFields);

console.group('Purchase tracked with the following arguments:');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice use of console.group

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! I use it a lot -- find it quite useful.

```bash
ruby --version
```
If working, it should say `3.3.6`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Odd my computer has 2.6.10 running but the app is working

@lposen lposen merged commit adcdcf2 into 2.0.0-alpha/master Nov 26, 2024
1 of 3 checks passed
@lposen lposen deleted the 2.0.0-alpha/MOB-10034-add-commerce-section branch November 26, 2024 23:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants