@sys1yagi/expo-channel-talk-plugin
v0.1.0
Published
Expo config plugin to integrate react-native-channel-plugin for Channel Talk SDK in Expo managed workflow
Maintainers
Readme
@sys1yagi/expo-channel-talk-plugin
An unofficial Expo Config Plugin for react-native-channel-plugin to easily integrate Channel Talk SDK in Expo managed workflow.
Features
- 🚀 Easy integration with Expo managed workflow
- 📱 Supports both iOS and Android platforms
- ⚙️ Automatic native configuration
- 🔧 No manual native code changes required
Installation
npm install @sys1yagi/expo-channel-talk-plugin react-native-channel-pluginor with yarn:
yarn add @sys1yagi/expo-channel-talk-plugin react-native-channel-pluginUsage
Basic Configuration
Add the plugin to your app.config.js or app.json:
// app.config.js
export default {
expo: {
plugins: ['@sys1yagi/expo-channel-talk-plugin']
}
}// app.json
{
"expo": {
"plugins": ["@sys1yagi/expo-channel-talk-plugin"]
}
}Advanced Configuration
You can pass configuration options to customize the integration:
// app.config.js
export default {
expo: {
plugins: [
[
'@sys1yagi/expo-channel-talk-plugin',
{
// Add any specific configuration here if needed
}
]
]
}
}Build your app
After adding the plugin, you need to rebuild your app:
# For development builds
npx expo prebuild --clean
npx expo run:ios
npx expo run:android
# For EAS builds
eas build --platform allWhat this plugin does
This plugin automatically configures your Expo app to work with Channel Talk SDK by:
- Android: Configures the necessary native Android setup
- iOS: Configures the necessary native iOS setup
- Both platforms: Ensures proper integration without manual native code changes
Requirements
- Expo SDK 49+
- react-native-channel-plugin 0.6.0+
Example
Check out the example directory for a complete implementation.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Issues
If you encounter any issues, please file them on the GitHub Issues page.
License
MIT © sys1yagi
Disclaimer
This is an unofficial plugin and is not affiliated with Channel Corp. or the official react-native-channel-plugin.
