Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 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
6 changes: 1 addition & 5 deletions docs/docs/examples/purchase-flow.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,7 @@ import AdFitTopFixed from "@site/src/uis/AdFitTopFixed";

<AdFitTopFixed />

This example walks through a clean purchase flow using react-native-iap with the `useIAP` hook and the new platform‑specific request shape. It mirrors the working sample in `example/app/purchase-flow.tsx`.

View the full example source:

- GitHub: [example/app/purchase-flow.tsx](https://github.com/hyochan/react-native-iap/blob/main/example/app/purchase-flow.tsx)
This example walks through a clean purchase flow using react-native-iap with the `useIAP` hook and the new platform‑specific request shape. It mirrors the working sample in [example/screens/PurchaseFlow.tsx](https://github.com/hyochan/react-native-iap/blob/main/example/screens/PurchaseFlow.tsx).

## Flow Overview

Expand Down
10 changes: 1 addition & 9 deletions docs/docs/examples/subscription-flow.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,7 @@ import AdFitTopFixed from "@site/src/uis/AdFitTopFixed";

<AdFitTopFixed />

This example walks through a practical subscriptions flow with react-native-iap. It mirrors the working sample in `example/app/subscription-flow.tsx`, including status checks, renewal handling, and subscription management UI.

View the full example source:

- GitHub: [example/app/subscription-flow.tsx](https://github.com/hyochan/react-native-iap/blob/main/example/app/subscription-flow.tsx)
This example walks through a practical subscriptions flow with react-native-iap. It mirrors the working sample in [example/screens/SubscriptionFlow.tsx](https://github.com/hyochan/react-native-iap/blob/main/example/screens/SubscriptionFlow.tsx), including status checks, renewal handling, and subscription management UI.

## Important: Platform-Specific Subscription Properties

Expand All @@ -43,10 +39,6 @@ When checking subscription status, different platforms provide different propert

## Complete Subscription Flow

View the full example source:

- GitHub: [example/app/subscription-flow.tsx](https://github.com/hyochan/react-native-iap/blob/main/example/app/subscription-flow.tsx)

```tsx
import React, {useEffect, useState} from 'react';
import {
Expand Down
Loading