Skip to content

Commit

Permalink
docs: banner support
Browse files Browse the repository at this point in the history
  • Loading branch information
hyochan committed Sep 18, 2023
1 parent de7be88 commit 062df21
Show file tree
Hide file tree
Showing 33 changed files with 318 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
---
title: Validate Receipt Amazon
sidebar_label: Validate Receipt Amazon
---

import AdFitTopFixed from "@site/src/uis/AdFitTopFixed";

<AdFitTopFixed />

# `validateReceiptAmazon`

Validate receipt.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
---
title: Acknowledge Purchase Android
sidebar_label: acknowledgePurchaseAndroid
---

import AdFitTopFixed from "@site/src/uis/AdFitTopFixed";

<AdFitTopFixed />

# `acknowledgePurchaseAndroid`

Acknowledge a product.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
---
title: Deep link to subscriptions
sidebar_label: deepLinkToSubscriptionsAndroid
---

import AdFitTopFixed from "@site/src/uis/AdFitTopFixed";

<AdFitTopFixed />

# `deepLinkToSubscriptionsAndroid`

Deep link to subscriptions screen.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
---
title: Flush failed purchases cached as pending (Android)
sidebar_label: flushFailedPurchasesCachedAsPendingAndroid
---

import AdFitTopFixed from "@site/src/uis/AdFitTopFixed";

<AdFitTopFixed />

# `flushFailedPurchasesCachedAsPendingAndroid`

Consume all 'ghost' purchases.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
---
title: Validate Receipt Android
sidebar_label: validateReceiptAndroid
---

import AdFitTopFixed from "@site/src/uis/AdFitTopFixed";

<AdFitTopFixed />

# `validateReceiptAndroid`

Validate receipt.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
---
title: Buy Promoted Product
sidebar_label: buyPromotedProductIOS
---

import AdFitTopFixed from "@site/src/uis/AdFitTopFixed";

<AdFitTopFixed />

# `buyPromotedProductIOS`

Buy the currently selected promoted product.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
---
title: Clear Products IOS
sidebar_label: clearProductsIOS
---

import AdFitTopFixed from "@site/src/uis/AdFitTopFixed";

<AdFitTopFixed />

# `clearProductsIOS`

Clear valid products.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
---
title: Clear Transaction IOS
sidebar_label: clearTransactionIOS
---

import AdFitTopFixed from "@site/src/uis/AdFitTopFixed";

<AdFitTopFixed />

# `clearTransactionIOS`

Clear the remaining transactions.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
---
title: Get Pending Purchases IOS
sidebar_label: getPendingPurchasesIOS
---

import AdFitTopFixed from "@site/src/uis/AdFitTopFixed";

<AdFitTopFixed />

# `getPendingPurchasesIOS`

Gets all the transactions which are pending to be finished.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
---
title: Get Promoted Product IOS
sidebar_label: getPromotedProductIOS
---

import AdFitTopFixed from "@site/src/uis/AdFitTopFixed";

<AdFitTopFixed />

# `getPromotedProductIOS`

Should get products promoted on the App Store.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
---
title: Present Code Redemption Sheet IOS
sidebar_label: presentCodeRedemptionSheetIOS
---

import AdFitTopFixed from "@site/src/uis/AdFitTopFixed";

<AdFitTopFixed />

# `presentCodeRedemptionSheetIOS`

Displays a sheet that enables users to redeem subscription offer codes that you generated in App Store Connect.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
---
title: Request Purchase With Offer IOS
sidebar_label: requestPurchaseWithOfferIOS
---

import AdFitTopFixed from "@site/src/uis/AdFitTopFixed";

<AdFitTopFixed />

# `requestPurchaseWithOfferIOS`

Buy products or subscriptions with offers.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
---
title: Request Purchase With Quantity IOS
sidebar_label: requestPurchaseWithQuantityIOS
---

import AdFitTopFixed from "@site/src/uis/AdFitTopFixed";

<AdFitTopFixed />

# `requestPurchaseWithQuantityIOS`

Request a purchase with a quantity for a product.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
---
title: Validate Receipt IOS
sidebar_label: validateReceiptIOS
---

import AdFitTopFixed from "@site/src/uis/AdFitTopFixed";

<AdFitTopFixed />

# `validateReceiptIOS`

Validate receipt.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
---
title: Promoted Product Listener
sidebar_label: promotedProductListener
---

import AdFitTopFixed from "@site/src/uis/AdFitTopFixed";

<AdFitTopFixed />

# `promotedProductListener`

Add IAP promoted subscription event.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
---
title: Purchase Error Listener
sidebar_label: purchaseErrorListener
sidebar_position: 10
---

import AdFitTopFixed from "@site/src/uis/AdFitTopFixed";

<AdFitTopFixed />

# `purchaseErrorListener`

Register a callback that gets called when there has been an error with a purchase. Returns a React Native `EmitterSubscription` on which you can call `.remove()` to stop receiving updates.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
---
title: Purchase Updated Listener
sidebar_label: purchaseUpdatedListener
sidebar_position: 11
---

import AdFitTopFixed from "@site/src/uis/AdFitTopFixed";

<AdFitTopFixed />

# `purchaseUpdatedListener`

Register a callback that gets called when the store has any updates to purchases that have not yet been finished, consumed or acknowledged. Returns a React Native `EmitterSubscription` on which you can call `.remove()` to stop receiving updates. Register you listener as soon as possible and react to updates at all times.
Expand Down
9 changes: 9 additions & 0 deletions docs/docs/faq.md → docs/docs/faq.mdx
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
---
title: FAQ
sidebar_label: FAQ
---

import AdFitTopFixed from "@site/src/uis/AdFitTopFixed";

<AdFitTopFixed />

# Frequently Asked Questions

### How can a user cancel a subscription in my app?
Expand Down
6 changes: 6 additions & 0 deletions docs/docs/get-started.md → docs/docs/get-started.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
---
sidebar_position: 1
title: Get Started
sidebar_label: Get Started
---

import AdFitTopFixed from "@site/src/uis/AdFitTopFixed";

<AdFitTopFixed />

# Getting started

`react-native-iap` will help you access the In-App purchases capabilities of your device on `iOS`, and `Android` (Play Store and Amazon).
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
---
title: Amazon IAP
sidebar_label: Amazon IAP
sidebar_position: 7
---

import AdFitTopFixed from "@site/src/uis/AdFitTopFixed";

<AdFitTopFixed />

# Amazon IAP

The guide assumes that `react-native-iap` is implemented in your app and works with the Play Store without issues. Here are the additional steps to configure Amazon IAP.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
---
sidebar_position: 1
title: Lifecycle
sidebar_label: Lifecycle
---

import AdFitTopFixed from "@site/src/uis/AdFitTopFixed";

<AdFitTopFixed />

# Lifecycle

## Initializing
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
---
title: Purchases
sidebar_label: Purchases
sidebar_position: 3
---

import AdFitTopFixed from "@site/src/uis/AdFitTopFixed";

<AdFitTopFixed />

# Purchases

> :warning: **Purchase Flow Redesign** :warning:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
---
title: Receipts
sidebar_label: Receipts
sidebar_position: 5
---

import AdFitTopFixed from "@site/src/uis/AdFitTopFixed";

<AdFitTopFixed />

# Receipts

### With [IAPHUB](https://www.iaphub.com)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
---
title: Troubleshooting
sidebar_label: Troubleshooting
sidebar_position: 8
---

import AdFitTopFixed from "@site/src/uis/AdFitTopFixed";

<AdFitTopFixed />

# Troubleshooting

## Common issues
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
---
title: Migrating to 10.0.0
sidebar_label: Migrating to 10.0.0
---

import AdFitTopFixed from "@site/src/uis/AdFitTopFixed";

<AdFitTopFixed />

# Migrating to 10.0.0

Starting with 10.0.0, the parameters to some of the methods are now objects instead of positional parameters.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
---
title: Migrating to 11.0.0
sidebar_label: Migrating to 11.0.0
---

import AdFitTopFixed from "@site/src/uis/AdFitTopFixed";

<AdFitTopFixed />

# Migrating to 11.0.0

Version 11.0.0 is centered around implementing iOS Storekit 2.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
---
title: Migrating to 12.0.0
sidebar_label: Migrating to 12.0.0
---

import AdFitTopFixed from "@site/src/uis/AdFitTopFixed";

<AdFitTopFixed />

# Migrating to 12.0.0

This migration will focus on integrating the latest store sdk for Amazon
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
---
title: Available Purchase
sidebar_label: Available Purchase
---

import AdFitTopFixed from "@site/src/uis/AdFitTopFixed";

<AdFitTopFixed />

# Available Purchase

| Property | Type | iOS | And | Comment |
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
---
title: Product
sidebar_label: Product
---

import AdFitTopFixed from "@site/src/uis/AdFitTopFixed";

<AdFitTopFixed />

# Product

> All the following properties are `String`
Expand Down
9 changes: 9 additions & 0 deletions docs/docs/support-us.md → docs/docs/support-us.mdx
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
---
title: Support
sidebar_label: Support
---

import AdFitTopFixed from "@site/src/uis/AdFitTopFixed";

<AdFitTopFixed />

# Support React Native IAP

`react-native-iap` is an open source project with MIT license. We are willing to
Expand Down
Loading

0 comments on commit 062df21

Please sign in to comment.