3.1.2 • Published 7 days ago

@trycourier/courier-react-native v3.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
7 days ago

Requirements & Support

Installation

Using npm

npm install @trycourier/courier-react-native

Using yarn

yarn add @trycourier/courier-react-native

iOS

1. Support iOS 13.0+ in your Project

2. Support iOS 13+ in your Podfile

# Resolve react_native_pods.rb with node to allow for hoisting
require Pod::Executable.execute_command('node', ['-p'..

# Courier React Native requires iOS 13+
platform :ios, '13.0' // Add this line
prepare_react_native_project!

..

3. Install the Cocoapods

From the root of your React Native project run

cd ios && pod install

Android

1. Add the Jitpack repository

In your android/build.gradle make sure your build and repository values are as follows

buildscript {

    ext {

        // Double check these values
        buildToolsVersion = "33.0.0"
        minSdkVersion = 23
        compileSdkVersion = 33
        targetSdkVersion = 33
        ..
    }

    repositories {
        google()
        mavenCentral()
        maven { url 'https://www.jitpack.io' } // THIS LINE
    }

    ..

}

2. Run Gradle Sync

3. Extend the CourierReactNativeActivity

In your Android project, change your MainActivity to extend the CourierReactNativeActivity.

This allows the Courier SDK to manage the current user between app sessions.

import com.courierreactnative.CourierReactNativeActivity;

public class MainActivity extends CourierReactNativeActivity {
    ..
}

Getting Started

These are all the available features of the SDK.

Example Projects

Starter projects using this SDK.

Share feedback with Courier

We are building the best SDKs for handling notifications! Have an idea or feedback about our SDKs? Here are some links to contact us:

3.1.2

7 days ago

3.1.1

8 days ago

3.1.0

10 days ago

3.0.0

14 days ago

2.5.1

3 months ago

2.5.0

3 months ago

2.4.1

3 months ago

2.4.0

3 months ago

2.3.2

3 months ago

2.3.1

3 months ago

2.3.0

3 months ago

2.2.1

4 months ago

2.2.0

5 months ago

2.0.3

7 months ago

2.0.2

8 months ago

2.1.0

6 months ago

2.0.1

8 months ago

2.0.0

8 months ago

2.0.0-beta5

8 months ago

2.0.0-beta6

8 months ago

2.0.0-beta3

8 months ago

2.0.0-beta4

8 months ago

2.0.0-beta1

8 months ago

2.0.0-beta2

8 months ago

2.0.0-beta0

8 months ago

2.0.0-beta9

8 months ago

2.0.0-beta7

8 months ago

2.0.0-beta8

8 months ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.0

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago