OvalMoney / react-native-fitness

A React Native module to interact with Apple Healthkit and Google Fit.
MIT License
341 stars 68 forks source link

Create Expo config plugin #102

Closed JoshSmithCode closed 3 years ago

JoshSmithCode commented 3 years ago

Why

Expo SDK 41 rolled out an interface called config plugins which lets users add native modules that aren't in the Expo Go app to their native cloud builds and locally when prebuilding.

We're using this package in a project so I've added plugin config for it in the hopes of avoiding the need to eject

How

Added a app.plugin.js as the main entry point to the plugin. Plugins must run in at node LTS environments (currently that means 12 and greater).

Test Plan