Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
@trycourier/courier-react-native
Advanced tools
Inbox, Push Notifications, and Preferences for React Native
Requirements | |
---|---|
Courier Account |
Sign Up
|
Minimum iOS SDK Version |
13.0
|
Minimum Android SDK Version |
23
|
npm
npm install @trycourier/courier-react-native
yarn
yarn add @trycourier/courier-react-native
# 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!
..
From the root of your React Native project run
cd ios && pod install
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
}
..
}
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 {
..
}
These are all the available features of the SDK.
Feature | Description | |
---|---|---|
1 |
Authentication
|
Manages user credentials between app sessions. Required if you would like to use Courier Inbox and Push Notifications .
|
2 |
Inbox
| An in-app notification center you can use to notify your users. Comes with a prebuilt UI and also supports fully custom UIs. |
3 |
Push Notifications
| Automatically manages push notification device tokens and gives convenient functions for handling push notification receiving and clicking. |
4 |
Preferences
| Allow users to update which types of notifications they would like to receive. |
5 |
CourierClient
| The base level API wrapper around the Courier endpoints. Useful if you have a highly customized user experience or codebase requirements. |
Starter projects using this SDK.
Project Link |
---|
Example
|
We are building the best SDKs for handling notifications! Have an idea or feedback about our SDKs? Here are some links to contact us:
FAQs
Inbox, Push Notifications, and Preferences for React Native
The npm package @trycourier/courier-react-native receives a total of 19 weekly downloads. As such, @trycourier/courier-react-native popularity was classified as not popular.
We found that @trycourier/courier-react-native demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.