apache / cordova-plugin-device-orientation

Apache Cordova Device Orientation Plugin
https://cordova.apache.org/
Apache License 2.0
58 stars 83 forks source link

deprecation compatibility. #43

Closed rolinger closed 5 years ago

rolinger commented 5 years ago

I know this plugin is now deprecated, but the last version of it was 2.0.1 - though it looks like someone was still doing a dev version 2.0.2.

My question is when it was deprecated, what were the version levels of cordova-ios and cordova-android (or cordova-cli) that this plugin was no longer needed?

My app is running significantly behind all the latest and greatest revs - so I need to determine that as of (example) android@6.3 and ios@4.5 this plugin is not needed.

As well, if the plugin is no longer needed, where is the documentation on how to call the new integrated functions (previously used by this plugin) for device orientation functionality?

janpio commented 5 years ago

The platform versions don't really matter as this is replaced by an API offered by browsers.

For a migration path see here: https://blog.phonegap.com/migrating-from-the-cordova-device-orientation-plugin-8442b869e6cc

biji commented 5 years ago

I always get 90 deg on start when using browser's api. Will try this plugin , see if this better

jcesarmobile commented 5 years ago

The release script created a new 2.0.2-dev, but no work has been done after that as it's deprecated.