v4.0.0
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
*/