Skip to content

Commit

Permalink
Updated old paywall versions (#624)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jethro87 authored Jan 29, 2025
1 parent 64cac66 commit 09c18f5
Show file tree
Hide file tree
Showing 11 changed files with 35 additions and 19 deletions.
2 changes: 1 addition & 1 deletion code_blocks/getting-started/installation/flutter_1.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
dependencies:
purchases_flutter: ^6.0.0
purchases_flutter: <latest version>
2 changes: 1 addition & 1 deletion code_blocks/getting-started/installation/kmp_1.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[versions]
purchases-kmp = "1.1.0+13.3.0"
purchases-kmp = "<latest version>"

[libraries]
# Required
Expand Down
4 changes: 2 additions & 2 deletions docs/getting-started/installation/android.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ RevenueCat provides a backend and a wrapper around StoreKit and Google Play Bill

### Installation

Purchases for Android (Google Play and Amazon Appstore) is available on Maven and can be included via Gradle.

[![Release](https://img.shields.io/github/release/RevenueCat/purchases-android.svg?style=flat)](https://github.com/RevenueCat/purchases-android/releases)

Purchases for Android (Google Play and Amazon Appstore) is available on Maven and can be included via Gradle.

import content from "!!raw-loader!@site/code_blocks/getting-started/installation/android_1.groovy";

<RCCodeBlock tabs={[
Expand Down
2 changes: 2 additions & 0 deletions docs/getting-started/installation/capacitor.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ RevenueCat provides a backend and a wrapper around StoreKit and Google Play Bill

## Installation

[![Release](https://img.shields.io/github/release/RevenueCat/purchases-capacitor.svg?style=flat)](https://github.com/RevenueCat/purchases-capacitor/releases)

import content from "!!raw-loader!@site/code_blocks/getting-started/installation/capacitor_add_plugin.shell";

<RCCodeBlock tabs={[
Expand Down
2 changes: 2 additions & 0 deletions docs/getting-started/installation/flutter.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ Minimum target: iOS 11.0+

## Installation

[![Release](https://img.shields.io/github/release/RevenueCat/purchases-flutter.svg?style=flat)](https://github.com/RevenueCat/purchases-flutter/releases)

To use this plugin, add `purchases_flutter` as a [dependency in your pubspec.yaml file](https://flutter.io/platform-plugins/) (and run an implicit dart pub get):

import content from "!!raw-loader!@site/code_blocks/getting-started/installation/flutter_1.yaml";
Expand Down
2 changes: 2 additions & 0 deletions docs/getting-started/installation/ios.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ RevenueCat provides a backend and a wrapper around StoreKit and Google Play Bill

## Installation

[![Release](https://img.shields.io/github/release/RevenueCat/purchases-ios.svg?style=flat)](https://github.com/RevenueCat/purchases-ios/releases)

RevenueCat for iOS can be installed either via [CocoaPods](/getting-started/installation/ios#section-install-via-cocoapods), [Carthage](ios#section-install-via-carthage), or [Swift Package Manager](/getting-started/installation/ios#section-install-via-swift-package-manager).

:::info
Expand Down
2 changes: 2 additions & 0 deletions docs/getting-started/installation/reactnative.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ RevenueCat provides a backend and a wrapper around StoreKit and Google Play Bill

## Installation

[![Release](https://img.shields.io/github/release/RevenueCat/react-native-purchases.svg?style=flat)](https://github.com/RevenueCat/react-native-purchases/releases)

Make sure that the deployment target for iOS is at least 13.4 and Android is at least 6.0 (API 23) [as defined here](https://github.com/facebook/react-native#-requirements).

### Option 1: React-Native package
Expand Down
2 changes: 2 additions & 0 deletions docs/getting-started/installation/roku.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ The Roku channel ID is required for supporting multiple channels on a single Rok
After you have configured the Roku Store app on RevenueCat, you should [create your in-channel products](/getting-started/entitlements/roku-products) and then follow RevenueCat's regular setup of [entitlements, products, and offerings](/getting-started/entitlements).

## Installing the SDK

[![Release](https://img.shields.io/github/release/RevenueCat/purchases-roku.svg?style=flat)](https://github.com/RevenueCat/purchases-roku/releases)
1. Clone the repository:

import rokuClone from "!!raw-loader!@site/code_blocks/getting-started/installation/configuring-roku_1.shell";
Expand Down
2 changes: 2 additions & 0 deletions docs/getting-started/installation/unity.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ RevenueCat provides a backend and a wrapper around StoreKit and Google Play Bill

## Installation

[![Release](https://img.shields.io/github/release/RevenueCat/purchases-unity.svg?style=flat)](https://github.com/RevenueCat/purchases-unity/releases)

We provide 2 ways to install our SDK: via Unity Package Manager (UPM) in the OpenUPM registry, or as a `.unitypackage`.

### Option 1 (recommended): Install using OpenUPM
Expand Down
2 changes: 2 additions & 0 deletions docs/getting-started/installation/web-sdk.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ RevenueCat Billing and the RevenueCat Web SDK are currently in beta.

## Installation

[![Release](https://img.shields.io/github/release/RevenueCat/purchases-js.svg?style=flat)](https://github.com/RevenueCat/purchases-js/releases)

To install the RevenueCat Web SDK, add the `@revenuecat/purchases-js` package to your project using the package manager of your choice:

import npmContent from "!!raw-loader!@site/code_blocks/_projects/rc-billing/installation-npm.shell";
Expand Down
32 changes: 17 additions & 15 deletions docs/tools/paywalls/installation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ Support for macOS, tvOS, and other platforms is coming soon!

## Native iOS Installation

[![Release](https://img.shields.io/github/release/RevenueCat/purchases-ios.svg?style=flat)](https://github.com/RevenueCat/purchases-ios/releases)

### Using SPM:

#### If you already have `RevenueCat` in your project:
Expand Down Expand Up @@ -70,48 +72,48 @@ pod 'RevenueCatUI'

## Native Android Installation

[![Release](https://img.shields.io/github/release/RevenueCat/purchases-android.svg?style=flat)](https://github.com/RevenueCat/purchases-android/releases)

1. Add `RevenueCatUI`:
```groovy build.gradle
implementation 'com.revenuecat.purchases:purchases:7.1.0'
implementation 'com.revenuecat.purchases:purchases-ui:7.1.0'
implementation 'com.revenuecat.purchases:purchases:<latest version>'
implementation 'com.revenuecat.purchases:purchases-ui:<latest version>'
```

:::danger
Android paywalls is currently behind an experimental flag (`ExperimentalPreviewRevenueCatUIPurchasesAPI`).

It is safe to release app updates with it. We guarantee that paywalls will continue to work and any changes will always be backwards compatible.

They are stable, but migration steps may be required in the future. We'll do our best to minimize any changes you have to make.
:::

## React Native Installation

[![Release](https://img.shields.io/github/release/RevenueCat/react-native-purchases.svg?style=flat)](https://github.com/RevenueCat/react-native-purchases/releases)

- Update your `package.json` to include `react-native-purchases-ui`:
```json
{
"dependencies": {
"react-native-purchases": "7.15.0",
"react-native-purchases-ui": "7.15.0"
"react-native-purchases": "<latest version>",
"react-native-purchases-ui": "<latest version>"
}
}
```

## Flutter Installation

[![Release](https://img.shields.io/github/release/RevenueCat/purchases-flutter.svg?style=flat)](https://github.com/RevenueCat/purchases-flutter/releases)

- Add `purchases-ui-flutter` in your `pubspec.yaml`:
```yaml
dependencies:
purchases_flutter: 6.15.0
purchases_ui_flutter: 6.15.0
purchases_flutter: <latest version>
purchases_ui_flutter: <latest version>
```
- For Android, you need to change your `MainActivity` to subclass `FlutterFragmentActivity` instead of `FlutterActivity`.

## Kotlin Multiplatform Installation

[![Release](https://img.shields.io/github/release/RevenueCat/purchases-kmp.svg?style=flat)](https://github.com/RevenueCat/purchases-kmp/releases)

Add the following Maven coordinates to your `libs.versions.toml`:
```toml libs.versions.toml
[versions]
purchases-kmp = "1.1.0+13.3.0"
purchases-kmp = "<latest version>"
[libraries]
purchases-core = { module = "com.revenuecat.purchases:purchases-kmp-core", version.ref = "purchases-kmp" }
Expand Down

0 comments on commit 09c18f5

Please sign in to comment.