auto_orientation_v2
Set and control device orientation programmatically for Flutter apps on iOS, Android, and Web.
2.4.6
3.7K downloads/mo
#4290 most downloaded on pub.dev
rizkyghofur/auto_orientation_v2
What this package is like to depend on
Last release today
23 Aug 2026
Release timing varies
gaps range from 2 weeks to 10 months
Nearly every release is documented
notes for 14 of 14 stable releases
Nothing withdrawn
no release was ever pulled
2 years old
14 releases · first in 2024
9 releases in the last 12 months
see the full history below
Release timeline
14 releases · Nov 2024 to Aug 2026Releases
latest 14-
2.4.623 Aug 2026Release notes
Open source →What's Changed
- Remove unsupported desktop platforms by @Hedon-dev in #4
New Contributors
- @Hedon-dev made their first contribution in #4
Full Changelog: v2.4.5...v2.4.6
Release notes
Open source →- Removed unsupported desktop platform declarations (
windows,macos,linux) in pull request #4 and purged leftover desktop build manifests (windows/,linux/). - Cleaned up obsolete desktop registrar compatibility code in Dart.
- Clarified supported platforms for iOS, Android, and Web.
-
2.4.515 Aug 2026Release notes
Open source →- Fixed Swift Package Manager (SPM) integration on iOS by placing source files under
ios/auto_orientation_v2/Sources/auto_orientation_v2/and addingFlutterFrameworkdependency in issue #3. - Updated
ios/auto_orientation_v2.podspecsource path for CocoaPods compatibility. - Cleaned up redundant manifests.
- Fixed Swift Package Manager (SPM) integration on iOS by placing source files under
-
2.4.408 Aug 2026Release notes
Open source →- Added
flutter_web_pluginsdependency inpubspec.yamlto fix web plugin compilation errors.
- Added
-
2.4.308 Aug 2026Release notes
Open source →- Added dedicated Web implementation using browser
ScreenOrientationAPI (web/auto_orientation_v2_web.dart). - Added native
windows/CMakeLists.txtandlinux/CMakeLists.txtbuild manifests for native desktop plugin recognition.
- Added dedicated Web implementation using browser
-
2.4.208 Aug 2026Release notes
Open source →- Added Swift Package Manager (SPM) manifest for macOS at
macos/auto_orientation_v2/Package.swift. - Added
macos/auto_orientation_v2.podspecfor complete macOS package compatibility.
- Added Swift Package Manager (SPM) manifest for macOS at
-
2.4.108 Aug 2026Release notes
Open source →- Added multi-platform declarations for
Web,Windows,macOS, andLinux(20/20 platform score on pub.dev). - Placed Swift Package Manager (SPM) manifest in
ios/auto_orientation_v2/Package.swiftper Flutter SPM specification. - Migrated Android build config to Flutter built-in Kotlin support.
- Added multi-platform declarations for
-
2.4.008 Aug 2026Release notes
Open source →- Added Swift Package Manager (SPM) support for iOS (
Package.swift). - Migrated Android native code from Java to Kotlin (
AutoOrientationPlugin.kt). - Renamed Android package and namespace to
com.rizkyghofur.autoorientation. - Added
AutoOrientationScopewidget for declarative orientation locking and automatic reversion on widget disposal. - Added orientation helper methods:
AutoOrientation.isLandscape(context),AutoOrientation.isPortrait(context), andAutoOrientation.currentOrientation(context). - Added Web and Desktop compatibility guards with
SystemChromefallback. - Added unit and widget tests for
AutoOrientationScopeand orientation modes.
- Added Swift Package Manager (SPM) support for iOS (
-
2.3.805 Apr 2026Release notes
Open source →- Added
AutoOrientationModeenum for easier orientation management. - Added
setOrientation()method to support enum-based API. - Fixed iOS bug where plugin methods always returned
notImplemented. - Improved Android stability with null safety checks for Activity.
- Improved iOS 16+ orientation handling using
windowScene.requestGeometryUpdate. - Modernized example app with new API demonstration.
- Updated minimum Dart SDK to 2.17.0 and Flutter to 3.0.0.
- Added
-
2.3.724 Nov 2025Release notes
Open source →What's Changed
- Update build.gradle by @tanishqarora97 in #2
New Contributors
- @tanishqarora97 made their first contribution in #2
Full Changelog: v2.3.6...v.2.3.7
-
2.3.612 Feb 2025Release notes
Open source →- fixed for No podspec found for auto_orientation_v2 in .symlinks/plugins/auto_orientation_v2/ios in issue #1
-
2.3.528 Nov 2024Release notes
Open source →- added setAuto ForceSensor in fullAutoMode
- added the namespace property in build.gradle for AGP 8
Full Changelog: https://github.com/rizkyghofur/auto_orientation_v2/commits/v2.3.5
-
2.3.428 Nov 2024 -
2.3.328 Nov 2024 -
2.3.228 Nov 2024Release notes
Open source →- add setAuto ForceSensor in fullAutoMode
- Added the namespace property in build.gradle for AGP 8