Skip to content

Commit d807a2a

Browse files
committed
3.0.3
1 parent 8812287 commit d807a2a

File tree

3 files changed

+21
-1
lines changed

3 files changed

+21
-1
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# CHANGELOG
22

3+
## 3.0.3 - 2025-09-14
4+
5+
- Types: Align Expo IAP surface with [react-native-iap #3006](https://github.com/hyochan/react-native-iap/pull/3006) by renaming subscription aliases, adding StoreKit product enums, and exposing optional purchase metadata (quantity, purchaseState, isAutoRenewing).
6+
- Errors: Switch JS helpers and docs to camelCase `ErrorCode` members and tighten error inspection utilities to avoid `any` usage.
7+
38
## 3.0.2 - 2025-09-13
49

510
- iOS: Fix build error “cannot convert value of type '[[String : Any?]]'” in Expo bridge by returning non‑optional dictionaries and removing double‑serialization in `showManageSubscriptionsIOS` (Fixes #202).

docs/blog/2025-09-14-v3.0.3.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
slug: v3.0.3
3+
title: v3.0.3 — type parity with react-native-iap
4+
tags: [release, types]
5+
---
6+
7+
Synchronizes the Expo IAP TypeScript surface with [react-native-iap #3006](https://github.com/hyochan/react-native-iap/pull/3006) and refreshes our docs/examples accordingly.
8+
9+
<!-- truncate -->
10+
11+
Highlights
12+
13+
- Types: adopt `ProductSubscription`, StoreKit `ProductTypeIOS`, and optional purchase metadata fields to match upstream.
14+
- Errors: convert helpers and guides to the camelCase `ErrorCode` members for consistent enums across platforms.
15+
- Docs & examples: update subscription flows to the new types while keeping older versioned docs historically accurate.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "expo-iap",
3-
"version": "3.0.2",
3+
"version": "3.0.3",
44
"description": "In App Purchase module in Expo",
55
"main": "build/index.js",
66
"types": "build/index.d.ts",

0 commit comments

Comments
 (0)