This plugin is designed to configure react-native-keyevent by Kevin E. John for use in Expo prebuild projects.
yarn add --dev https://github.com/dhodges47/react-native-keyevent-expo-config-plugin.git
In your app.json or equivalent, add the following;
{
expo: {
/* ... */
plugins: ['react-native-keyevent-expo-config-plugin'],
},
}do this to update the Android folder if building locally:
npx expo prebuild --platform android
Contributions are very welcome! Please refer to guidelines described in the contributing guide.