Socket
Book a DemoInstallSign in
Socket

@appcues/expo-config

Package Overview
Dependencies
Maintainers
0
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@appcues/expo-config

Expo module to integrate Appcues push notifications

4.0.1
latest
Source
npmnpm
Version published
Maintainers
0
Created
Source

Appcues Expo Module

Appcues Expo Module allows you to integrate Appcues push notifications into your Expo app alongside the Appcues React Native Module.

🚀 Getting Started

Prerequisites

  • Ensure the Appcues React Native Module is installed in your app and the SDK is initialized:

    import * as Appcues from '@appcues/react-native'
    
    await Appcues.setup('APPCUES_ACCOUNT_ID', 'APPCUES_APPLICATION_ID')
    
  • It is recommended to have configured your Android and iOS push settings in Appcues Studio before configuring push notifications in your app to allow you quickly test your configuration end to end.

  • Copy your Firebase configuration file into your project and set the path to the file in your app.json file, in the android.googleServicesFile (doc) property:

    {
      "expo": {
        ...
        "android": {
          "googleServicesFile": "./google-services.json",
        }
      }
    }
    

    Note that Appcues iOS push notifications do not use Firebase.

Usage

  • Install the Appcues expo config plugin
    npm install @appcues/expo-config
    
  • App @appcues/expo-config to the plugin list in your app.json file:
    {
      "expo": {
        ...
        "plugins": [
          "@appcues/expo-config"
          ...
        ]
      }
    }
    
  • Test locally with a new development or EAS build:
    npx expo prebuild
    

🎬 Examples

The example directory in this repository contains full example Expo app to providing references for correct installation of the Appcues Expo Module.

👷 Contributing

See the contributing guide to learn how to get set up for development and how to contribute to the project.

📄 License

This project is licensed under the MIT License. See LICENSE for more information.

Keywords

react-native

FAQs

Package last updated on 26 Nov 2024

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.