Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,24 @@

All notable changes to this project are documented in this file.

## 0.0.16 — 2026-07-07

### Breaking changes

- Regenerated Nitrogen bindings for **react-native-nitro-modules 0.36+** (Expo SDK 57 / React Native 0.86).
- Peer dependency `react-native-nitro-modules` is now **>= 0.36.0** (was >= 0.35.0).

### Changed

- Example app upgraded to **Expo SDK 57** (React Native 0.86, React 19.2.3).
- `nitrogen` devDependency bumped to ^0.36.1; `react-native-nitro-modules` devDependency ^0.36.1.

### Migration

1. Upgrade `react-native-nitro-modules` to **0.36.1** (or newer 0.36.x).
2. If using Expo, upgrade to **SDK 57** (`npx expo install expo@^57.0.0 --fix`).
3. Run `npx expo prebuild --clean` and rebuild.

## 0.0.15 — 2026-06-30

### Breaking changes
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ bun add @gmisoftware/react-native-pay
### Prerequisites

- React Native 0.70+
- React Native Nitro Modules 0.35.0+ (required)
- React Native Nitro Modules 0.36.0+ (required)
- Android `minSdkVersion` 26+ (required for Nitro Modules prefab)
- Expo 53+ (if using Expo)
- Expo 53–57 (if using Expo; SDK 57 requires Node.js 22.13+)

---

Expand Down Expand Up @@ -115,7 +115,7 @@ npx expo prebuild --clean

### Android Setup (Google Pay)

**Minimum SDK:** set `minSdkVersion` to **26** or higher (e.g. via `expo-build-properties`). Nitro Modules 0.35 prefab requires API 26+.
**Minimum SDK:** set `minSdkVersion` to **26** or higher (e.g. via `expo-build-properties`). Nitro Modules 0.36 prefab requires API 26+.

#### 1. Configure Expo Config Plugin

Expand Down
1,695 changes: 863 additions & 832 deletions bun.lock

Large diffs are not rendered by default.

14 changes: 10 additions & 4 deletions docs/docs/compatibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@ Supported versions and upgrade notes.

- **react** — `*` (compatible with current React 18/19)
- **react-native** — `*` (0.70+ recommended)
- **react-native-nitro-modules** — **>= 0.35.0** (required)
- **expo** — **>= 53.0.0** (if using Expo)
- **react-native-nitro-modules** — **>= 0.36.0** (required)
- **expo** — **>= 53.0.0** (if using Expo; tested with SDK 57 / React Native 0.86)
- **Android minSdkVersion** — **26+** (required for Nitro Modules prefab)

Install the correct Nitro version first; the payment library depends on it.

## Recommended versions

- **React Native** 0.70 or newer
- **Expo** 53+ when using Expo
- **React Native** 0.70 or newer (0.86 with Expo SDK 57)
- **Expo** 53–57 when using Expo

## Expo plugin behavior

Expand All @@ -33,6 +33,12 @@ Use `Platform.OS` (or equivalent) to render the correct button and to pass platf

## Breaking changes and migrations

### 0.0.16

- Regenerated Nitrogen bindings for **react-native-nitro-modules 0.36+** (Expo SDK 57 / React Native 0.86).
- **Peer dependency** `react-native-nitro-modules` is now **>= 0.36.0** (was >= 0.35.0).
- Example app upgraded to **Expo SDK 57** (React Native 0.86, React 19.2.3).

### 0.0.15

- Regenerated Nitrogen bindings for **react-native-nitro-modules 0.35+** (JavaPart/CxxPart JNI model).
Expand Down
4 changes: 2 additions & 2 deletions docs/docs/quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ This guide does **not** replace platform onboarding (Apple/Google) or gateway-sp
## 1. Prerequisites

- React Native **0.70+**
- **react-native-nitro-modules** **0.35.0+** (required)
- **react-native-nitro-modules** **0.36.0+** (required)
- **Android minSdkVersion** **26+** (required)
- **Expo 53+** if you use Expo
- **Expo 53–57** if you use Expo (SDK 57 requires Node.js 22.13+)

## 2. Install dependencies

Expand Down
6 changes: 3 additions & 3 deletions docs/docs/setup/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ Install the payment library and its required dependency in your React Native (or

## Requirements

- **React Native** 0.70 or newer
- **react-native-nitro-modules** 0.35.0 or newer (required)
- **React Native** 0.70 or newer (tested with **0.86** / Expo SDK 57)
- **react-native-nitro-modules** 0.36.0 or newer (required)
- **Android minSdkVersion** 26 or newer (required for Nitro Modules prefab)
- **Expo** 53+ if you use Expo
- **Expo** 53–57 if you use Expo (SDK 57 requires Node.js 22.13+)

## Step 1: Install Nitro Modules

Expand Down
42 changes: 21 additions & 21 deletions example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,31 +10,31 @@
},
"dependencies": {
"@expo/vector-icons": "^15.0.2",
"@react-navigation/native": "^7.1.8",
"expo": "~54.0.13",
"expo-constants": "~18.0.9",
"expo-dev-client": "~6.0.15",
"expo-font": "~14.0.9",
"expo-linking": "~8.0.8",
"expo-router": "~6.0.11",
"expo-splash-screen": "~31.0.10",
"expo-status-bar": "~3.0.8",
"expo-web-browser": "~15.0.8",
"react": "19.1.0",
"react-dom": "19.1.0",
"react-native": "0.81.4",
"react-native-nitro-modules": "^0.35.10",
"@gmisoftware/react-native-pay": "*",
"react-native-reanimated": "~4.1.1",
"react-native-safe-area-context": "~5.6.0",
"react-native-screens": "~4.16.0",
"@react-navigation/native": "^7.1.8",
"expo": "~57.0.0",
"expo-constants": "~57.0.3",
"expo-dev-client": "~57.0.5",
"expo-font": "~57.0.0",
"expo-linking": "~57.0.1",
"expo-router": "~57.0.3",
"expo-splash-screen": "~57.0.2",
"expo-status-bar": "~57.0.0",
"expo-web-browser": "~57.0.0",
"react": "19.2.3",
"react-dom": "19.2.3",
"react-native": "0.86.0",
"react-native-nitro-modules": "^0.36.1",
"react-native-reanimated": "4.5.0",
"react-native-safe-area-context": "~5.7.0",
"react-native-screens": "~4.25.2",
"react-native-web": "~0.21.0",
"react-native-worklets": "0.5.1"
"react-native-worklets": "0.10.0"
},
"devDependencies": {
"@types/react": "~19.1.0",
"react-test-renderer": "19.1.0",
"typescript": "~5.9.2"
"@types/react": "~19.2.0",
"react-test-renderer": "19.2.3",
"typescript": "~6.0.3"
},
"private": true
}
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
"docs:build": "cd docs && bun run build"
},
"dependencies": {
"expo": "~54.0.17",
"react": "19.1.0",
"react-native": "0.81.4"
"expo": "~57.0.0",
"react": "19.2.3",
"react-native": "0.86.0"
},
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
}
2 changes: 1 addition & 1 deletion package/jest.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module.exports = {
preset: 'react-native',
preset: '@react-native/jest-preset',
testEnvironment: 'node',
roots: ['<rootDir>/src'],
testMatch: ['**/__tests__/**/*.test.ts'],
Expand Down
15 changes: 8 additions & 7 deletions package/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@gmisoftware/react-native-pay",
"version": "0.0.15",
"version": "0.0.16",
"author": "gmi.software",
"repository": {
"type": "git",
Expand All @@ -9,26 +9,27 @@
"main": "lib/index",
"module": "lib/index",
"devDependencies": {
"@react-native/eslint-config": "0.82.0",
"@react-native/eslint-config": "0.86.0",
"@react-native/jest-preset": "0.86.0",
"@testing-library/react-native": "^13.3.3",
"@types/jest": "^30.0.0",
"@types/react": "^19.1.03",
"@types/react": "^19.2.0",
"babel-jest": "^30.2.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"jest": "^30.2.0",
"nitrogen": "^0.35.9",
"nitrogen": "^0.36.1",
"prettier": "^3.3.3",
"react-native-nitro-modules": "^0.35.10",
"react-test-renderer": "19.1.0",
"react-native-nitro-modules": "^0.36.1",
"react-test-renderer": "19.2.3",
"release-it": "^19.0.0",
"typescript": "^5.8.3"
},
"peerDependencies": {
"react": "*",
"react-native": "*",
"react-native-nitro-modules": ">=0.35.0",
"react-native-nitro-modules": ">=0.36.0",
"expo": ">=53.0.0"
},
"bugs": {
Expand Down
2 changes: 1 addition & 1 deletion package/tsconfig.tsbuildinfo

Large diffs are not rendered by default.

Loading