This repository was archived by the owner on Apr 18, 2026. It is now read-only.
Commit 96c515e
fix(ios): preserve duplicate-purchase error code through normalization
The purchaseErrorNativeHandler was normalizing all error codes via
normalizeErrorCodeFromNative(), which converted 'duplicate-purchase'
to 'unknown' since it's not in the ErrorCode enum. This caused
isDuplicatePurchaseError() to always return false.
Closes #3180
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 4309980 commit 96c515e
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| 58 | + | |
58 | 59 | | |
59 | 60 | | |
60 | 61 | | |
| |||
230 | 231 | | |
231 | 232 | | |
232 | 233 | | |
233 | | - | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
234 | 238 | | |
235 | 239 | | |
236 | 240 | | |
| |||
0 commit comments