Commit b332283
authored
Prototype development/inline android component (#383)
* feat: setup android inline component
* fix: ensure we can respond to address change events
* chore: remove redundant address change map
* remove unused imports
* fix: rename CheckoutCompletedEvent -> CheckoutCompleteEvent
* refactor: remove deprecated method overrides
* chore: cleaning up token and networking debugging
* fix: remove android debugging code - readd timeout
* fix: add event handlers for CheckoutScreen
* refactor: remove unnecessary view in buynowbutton
* fix: yarn module build errors
* refactor(RCTCheckoutWebView): replace complicated if checks with .equals()
* refactor: remove lint warnings on type coersion
* refactor: use shorter kotlin unit instance
* fix: remove absolute user path
* fix: issues with inconsistent names of events
* refactor: remove unnecesasry logging and overrides
* remove classPaths from build.gradle
* feat: add event handling to inline webview android
* refactor: simplifying map construction
* refactor: remove deprecated event emitting
* refactor: extract CheckoutEvent for instance based events
* fix: webview not loading
* cleanup events that arent ready - rename onClickLink
* add nonnull annotation for getEventName
* fix: remove onLoad from swift
* rename customeventprocessor -> Sheeteventprocessor
* refactor: undo changes to reuse custom event processor for inline
* fix: intermitent flakiness of layout for checkout webview inline
* remove unused variable
* fix: flatten onerror - implement onlinkclick
* format files
* fix: type in TAG - remove unused comments
* fix: remove record (java16 feature)
* fix: ensure layout params are applied to webview
* test: RctCheckoutWebViewTests
* refactor: improve tests with side effects of setup checks
* fix: ts error from unused prop
* feat: update snapshot with new classes for components1 parent 4c2276f commit b332283
File tree
17 files changed
+1134
-169
lines changed- modules/@shopify/checkout-sheet-kit
- android
- src
- main/java/com/shopify/reactnative/checkoutsheetkit
- test/java/com/shopify/reactnative/checkoutsheetkit
- ios
- src
- components
- sample
- android/app/src/test/java/com/shopify/checkoutkitreactnative
- src
- components
- screens/BuyNow
- services
17 files changed
+1134
-169
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
103 | 108 | | |
104 | 109 | | |
Lines changed: 63 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
0 commit comments