karte-expo-plugin
v0.1.3
Published
Config plugin for karte-react-native package
Downloads
103
Maintainers
Readme
plugin
This repository includes the implementation of a Config plugins for karte-react-native, as well as the implementation of the Expo Modules API for karte-react-native.
This plugin automatically initializes KARTE SDK and configures settings for receiving push notifications.
Installation
Prerequisite
To install this plugin, the prerequisites @react-native-firebase/app
and @react-native-firebase/messaging
must be installed first. Please refer to the react-native-firebase documentation for details.
Install plugin
Add the plugin to your expo project.
yarn add karte-expo-plugin
Develop
Prerequisite
- node v18.x
- yarn
Install node packages
yarn install
Build
yarn build
Test
yarn test
Source directories
src
- Config plugins implementation.
android
- Expo Modules API implementation for Android.
ios
- Expo Modules API implementation for iOS.
Project for development
../example
directory is the Expo project for development. You can use this project to check the functions.
Release
1. Update plugin version
yarn version <strategy>
2. Create tag
git tag -a <version>
git push origin <version>
3. Create release from tag
Create a release in releases. Then the publish workflow is run and the package is published.