react-native-orientation-director 1.2.2 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +18 -2
- package/android/src/main/java/com/orientationdirector/implementation/{OrientationAutoRotationObserver.kt → AutoRotationObserver.kt} +1 -2
- package/android/src/main/java/com/orientationdirector/implementation/{OrientationEventManager.kt → EventManager.kt} +2 -4
- package/android/src/main/java/com/orientationdirector/implementation/{OrientationLifecycleListener.kt → LifecycleListener.kt} +2 -2
- package/android/src/main/java/com/orientationdirector/implementation/OrientationDirectorImpl.kt +26 -15
- package/android/src/main/java/com/orientationdirector/implementation/{OrientationSensorListener.kt → SensorListener.kt} +1 -1
- package/android/src/main/java/com/orientationdirector/implementation/{OrientationDirectorUtilsImpl.kt → Utils.kt} +21 -24
- package/ios/OrientationDirector.mm +23 -10
- package/ios/implementation/BundleManager.swift +45 -0
- package/ios/implementation/{OrientationEventManager.swift → EventManager.swift} +2 -2
- package/ios/implementation/OrientationDirectorImpl.swift +30 -22
- package/ios/implementation/{OrientationSensorListener.swift → SensorListener.swift} +6 -6
- package/ios/implementation/Utils.swift +130 -0
- package/lib/commonjs/RNOrientationDirector.js +15 -4
- package/lib/commonjs/RNOrientationDirector.js.map +1 -1
- package/lib/commonjs/types/{InterfaceOrientationToLocalizedStringProvider.type.js → HumanReadableAutoRotationsResource.type.js} +1 -1
- package/lib/commonjs/types/HumanReadableAutoRotationsResource.type.js.map +1 -0
- package/lib/commonjs/types/HumanReadableOrientationsResource.type.js +6 -0
- package/lib/commonjs/types/HumanReadableOrientationsResource.type.js.map +1 -0
- package/lib/module/RNOrientationDirector.js +15 -4
- package/lib/module/RNOrientationDirector.js.map +1 -1
- package/lib/module/types/HumanReadableAutoRotationsResource.type.js +2 -0
- package/lib/module/types/HumanReadableAutoRotationsResource.type.js.map +1 -0
- package/lib/module/types/HumanReadableOrientationsResource.type.js +2 -0
- package/lib/module/types/HumanReadableOrientationsResource.type.js.map +1 -0
- package/lib/typescript/src/RNOrientationDirector.d.ts +7 -3
- package/lib/typescript/src/RNOrientationDirector.d.ts.map +1 -1
- package/lib/typescript/src/types/HumanReadableAutoRotationsResource.type.d.ts +3 -0
- package/lib/typescript/src/types/HumanReadableAutoRotationsResource.type.d.ts.map +1 -0
- package/lib/typescript/src/types/HumanReadableOrientationsResource.type.d.ts +3 -0
- package/lib/typescript/src/types/HumanReadableOrientationsResource.type.d.ts.map +1 -0
- package/package.json +3 -3
- package/src/RNOrientationDirector.ts +28 -12
- package/src/types/HumanReadableAutoRotationsResource.type.ts +3 -0
- package/src/types/HumanReadableOrientationsResource.type.ts +3 -0
- package/ios/implementation/OrientationDirectorUtils.swift +0 -166
- package/lib/commonjs/types/InterfaceOrientationToLocalizedStringProvider.type.js.map +0 -1
- package/lib/module/types/InterfaceOrientationToLocalizedStringProvider.type.js +0 -2
- package/lib/module/types/InterfaceOrientationToLocalizedStringProvider.type.js.map +0 -1
- package/lib/typescript/src/types/InterfaceOrientationToLocalizedStringProvider.type.d.ts +0 -3
- package/lib/typescript/src/types/InterfaceOrientationToLocalizedStringProvider.type.d.ts.map +0 -1
- package/src/types/InterfaceOrientationToLocalizedStringProvider.type.ts +0 -6