Skip to content

v4.0.0

Compare
Choose a tag to compare
@negativetwelve negativetwelve released this 14 Aug 21:58
· 169 commits to master since this release
ab49536

react-native-ux-cam now uses react-native-package to create a consistent Package format. All functionality remains the same and it now has additional warnings when this package is used on platforms other than iOS and Android.

/**
 * Package.create handles two things:
 *
 *   1. Checks that for each platform that's `enabled`, the module is installed
 *      properly. If it's not, it logs a warning.
 *   2. Guards the module on every platform that is not `enabled`. This allows
 *      the module to exist in cross-platform code without hacks to disable it.
 *
 * You can read more about `react-native-package` here:
 * https://github.com/negativetwelve/react-native-package
 */