Commit 6853f6a
fix(ios): cleanup and error handling improvements from code review
- Remove no-op willMove(toParent:)/removeFromParent() calls in setupView()
since _controller is never added as a child VC; only view cleanup needed
- Log unexpected onPresentationClosed errors in PLYPresentationView instead
of silently swallowing them (cancellation errors remain suppressed)
- Remove debug console.log from Home.tsx example
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 7235d2d commit 6853f6a
3 files changed
Lines changed: 5 additions & 5 deletions
File tree
- example/src
- packages/purchasely
- ios
- src/components
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | 34 | | |
36 | 35 | | |
37 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
44 | | - | |
45 | 43 | | |
46 | 44 | | |
47 | 45 | | |
| |||
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
40 | | - | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
41 | 44 | | |
42 | 45 | | |
43 | 46 | | |
| |||
0 commit comments