-
Notifications
You must be signed in to change notification settings - Fork 42
[MOB-10034] Example App: commerce #592
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[MOB-10034] Example App: commerce #592
Conversation
…nstants, add associated icon, and update URL handling in IterableAppProvider
…urchase tracking, define Commerce route in navigation, and create associated constants and styles
…the correct Ruby version is loading
….9 and Android Gradle Plugin 8.7.2
…nfigurations for rbenv, nvm, Android SDK, Java, and Node
…0034-add-commerce-section
…0034-add-commerce-section
…0034-add-commerce-section
evantk91
left a comment
There was a problem hiding this 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; |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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:'); |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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` |
There was a problem hiding this comment.
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
🔹 JIRA Ticket(s) if any
✏️ Description
Added a commerce section to the example app
Testing
yarn installScreenshots
iOS
ios-commerce.mov
Android
android-commerce.mov