expo-screen-orientation 8.1.1 → 8.1.2

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.
Files changed (41) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/android/build.gradle +2 -2
  3. package/build/ExpoScreenOrientation.web.d.ts.map +1 -1
  4. package/build/ExpoScreenOrientation.web.js +1 -1
  5. package/build/ExpoScreenOrientation.web.js.map +1 -1
  6. package/expo-module.config.json +1 -1
  7. package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/{8.1.1/expo.modules.screenorientation-8.1.1.module → 8.1.2/expo.modules.screenorientation-8.1.2.module} +7 -7
  8. package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/8.1.2/expo.modules.screenorientation-8.1.2.module.md5 +1 -0
  9. package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/8.1.2/expo.modules.screenorientation-8.1.2.module.sha1 +1 -0
  10. package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/8.1.2/expo.modules.screenorientation-8.1.2.module.sha256 +1 -0
  11. package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/8.1.2/expo.modules.screenorientation-8.1.2.module.sha512 +1 -0
  12. package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/{8.1.1/expo.modules.screenorientation-8.1.1.pom → 8.1.2/expo.modules.screenorientation-8.1.2.pom} +1 -1
  13. package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/8.1.2/expo.modules.screenorientation-8.1.2.pom.md5 +1 -0
  14. package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/8.1.2/expo.modules.screenorientation-8.1.2.pom.sha1 +1 -0
  15. package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/8.1.2/expo.modules.screenorientation-8.1.2.pom.sha256 +1 -0
  16. package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/8.1.2/expo.modules.screenorientation-8.1.2.pom.sha512 +1 -0
  17. package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/maven-metadata.xml +4 -4
  18. package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/maven-metadata.xml.md5 +1 -1
  19. package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/maven-metadata.xml.sha1 +1 -1
  20. package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/maven-metadata.xml.sha256 +1 -1
  21. package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/maven-metadata.xml.sha512 +1 -1
  22. package/package.json +2 -2
  23. package/src/ExpoScreenOrientation.web.ts +1 -1
  24. package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/8.1.1/expo.modules.screenorientation-8.1.1.module.md5 +0 -1
  25. package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/8.1.1/expo.modules.screenorientation-8.1.1.module.sha1 +0 -1
  26. package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/8.1.1/expo.modules.screenorientation-8.1.1.module.sha256 +0 -1
  27. package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/8.1.1/expo.modules.screenorientation-8.1.1.module.sha512 +0 -1
  28. package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/8.1.1/expo.modules.screenorientation-8.1.1.pom.md5 +0 -1
  29. package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/8.1.1/expo.modules.screenorientation-8.1.1.pom.sha1 +0 -1
  30. package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/8.1.1/expo.modules.screenorientation-8.1.1.pom.sha256 +0 -1
  31. package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/8.1.1/expo.modules.screenorientation-8.1.1.pom.sha512 +0 -1
  32. /package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/{8.1.1/expo.modules.screenorientation-8.1.1-sources.jar → 8.1.2/expo.modules.screenorientation-8.1.2-sources.jar} +0 -0
  33. /package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/{8.1.1/expo.modules.screenorientation-8.1.1-sources.jar.md5 → 8.1.2/expo.modules.screenorientation-8.1.2-sources.jar.md5} +0 -0
  34. /package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/{8.1.1/expo.modules.screenorientation-8.1.1-sources.jar.sha1 → 8.1.2/expo.modules.screenorientation-8.1.2-sources.jar.sha1} +0 -0
  35. /package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/{8.1.1/expo.modules.screenorientation-8.1.1-sources.jar.sha256 → 8.1.2/expo.modules.screenorientation-8.1.2-sources.jar.sha256} +0 -0
  36. /package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/{8.1.1/expo.modules.screenorientation-8.1.1-sources.jar.sha512 → 8.1.2/expo.modules.screenorientation-8.1.2-sources.jar.sha512} +0 -0
  37. /package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/{8.1.1/expo.modules.screenorientation-8.1.1.aar → 8.1.2/expo.modules.screenorientation-8.1.2.aar} +0 -0
  38. /package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/{8.1.1/expo.modules.screenorientation-8.1.1.aar.md5 → 8.1.2/expo.modules.screenorientation-8.1.2.aar.md5} +0 -0
  39. /package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/{8.1.1/expo.modules.screenorientation-8.1.1.aar.sha1 → 8.1.2/expo.modules.screenorientation-8.1.2.aar.sha1} +0 -0
  40. /package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/{8.1.1/expo.modules.screenorientation-8.1.1.aar.sha256 → 8.1.2/expo.modules.screenorientation-8.1.2.aar.sha256} +0 -0
  41. /package/local-maven-repo/host/exp/exponent/expo.modules.screenorientation/{8.1.1/expo.modules.screenorientation-8.1.1.aar.sha512 → 8.1.2/expo.modules.screenorientation-8.1.2.aar.sha512} +0 -0
package/CHANGELOG.md CHANGED
@@ -10,6 +10,10 @@
10
10
 
11
11
  ### 💡 Others
12
12
 
13
+ ## 8.1.2 — 2025-04-11
14
+
15
+ _This version does not introduce any user-facing changes._
16
+
13
17
  ## 8.1.1 — 2025-04-09
14
18
 
15
19
  _This version does not introduce any user-facing changes._
@@ -4,12 +4,12 @@ plugins {
4
4
  }
5
5
 
6
6
  group = 'host.exp.exponent'
7
- version = '8.1.1'
7
+ version = '8.1.2'
8
8
 
9
9
  android {
10
10
  namespace "expo.modules.screenorientation"
11
11
  defaultConfig {
12
12
  versionCode 7
13
- versionName '8.1.1'
13
+ versionName '8.1.2'
14
14
  }
15
15
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ExpoScreenOrientation.web.d.ts","sourceRoot":"","sources":["../src/ExpoScreenOrientation.web.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAA+B,MAAM,mBAAmB,CAAC;AAG9E,OAAO,EACL,WAAW,EACX,eAAe,EACf,kBAAkB,EAElB,qBAAqB,EACtB,MAAM,2BAA2B,CAAC;AA6EnC,cAAM,qBAAsB,SAAQ,YAAY,CAAC,qBAAqB,CAAC;IACrE,WAAW,EAAE,iBAAiB,GAAG,IAAI,CAE5B;IACH,oBAAoB;IAU1B,cAAc;IAUd,aAAa,IAAI,IAAI;IASf,4BAA4B,CAAC,eAAe,EAAE,eAAe,GAAG,OAAO,CAAC,OAAO,CAAC;IAGhF,+BAA+B,IAAI,OAAO,CAAC,kBAAkB,CAAC;IAG9D,mBAAmB,IAAI,OAAO,CAAC,WAAW,CAAC;IAQ3C,SAAS,CAAC,eAAe,EAAE,eAAe,GAAG,OAAO,CAAC,IAAI,CAAC;IAO1D,iBAAiB,CAAC,kBAAkB,EAAE,kBAAkB,GAAG,OAAO,CAAC,IAAI,CAAC;IAIxE,WAAW,IAAI,OAAO,CAAC,IAAI,CAAC;CAuBnC;;AAED,wBAAwD"}
1
+ {"version":3,"file":"ExpoScreenOrientation.web.d.ts","sourceRoot":"","sources":["../src/ExpoScreenOrientation.web.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAA+B,MAAM,mBAAmB,CAAC;AAG9E,OAAO,EACL,WAAW,EACX,eAAe,EACf,kBAAkB,EAElB,qBAAqB,EACtB,MAAM,2BAA2B,CAAC;AA6EnC,cAAM,qBAAsB,SAAQ,YAAY,CAAC,qBAAqB,CAAC;IACrE,WAAW,EAAE,iBAAiB,GAAG,IAAI,CAE5B;IACH,oBAAoB;IAU1B,cAAc;IAUd,aAAa,IAAI,IAAI;IASf,4BAA4B,CAAC,eAAe,EAAE,eAAe,GAAG,OAAO,CAAC,OAAO,CAAC;IAGhF,+BAA+B,IAAI,OAAO,CAAC,kBAAkB,CAAC;IAG9D,mBAAmB,IAAI,OAAO,CAAC,WAAW,CAAC;IAQ3C,SAAS,CAAC,eAAe,EAAE,eAAe,GAAG,OAAO,CAAC,IAAI,CAAC;IAO1D,iBAAiB,CAAC,kBAAkB,EAAE,kBAAkB,GAAG,OAAO,CAAC,IAAI,CAAC;IAIxE,WAAW,IAAI,OAAO,CAAC,IAAI,CAAC;CAuBnC;;AAED,wBAAiF"}
@@ -135,5 +135,5 @@ class ExpoScreenOrientation extends NativeModule {
135
135
  }
136
136
  }
137
137
  }
138
- export default registerWebModule(ExpoScreenOrientation);
138
+ export default registerWebModule(ExpoScreenOrientation, 'ExpoScreenOrientation');
139
139
  //# sourceMappingURL=ExpoScreenOrientation.web.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ExpoScreenOrientation.web.js","sourceRoot":"","sources":["../src/ExpoScreenOrientation.web.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAE9E,OAAO,EAAE,uBAAuB,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AACnF,OAAO,EACL,WAAW,EACX,eAAe,EACf,kBAAkB,EAClB,cAAc,GAEf,MAAM,2BAA2B,CAAC;AAEnC,MAAM,uBAAuB,GAEzB;IACF,CAAC,eAAe,CAAC,OAAO,CAAC,EAAE,kBAAkB,CAAC,OAAO;IACrD,CAAC,eAAe,CAAC,GAAG,CAAC,EAAE,kBAAkB,CAAC,G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AC;YACN,MAAM,IAAI,KAAK,CACb,oFAAoF,CACrF,CAAC;QACJ,CAAC;IACH,CAAC;CACF;AAED,eAAe,iBAAiB,CAAC,qBAAqB,CAAC,CAAC","sourcesContent":["import { NativeModule, Platform, registerWebModule } from 'expo-modules-core';\n\nimport { getOrientationLockAsync, getOrientationAsync } from './ScreenOrientation';\nimport {\n Orientation,\n OrientationLock,\n WebOrientationLock,\n WebOrientation,\n ExpoOrientationEvents,\n} from './ScreenOrientation.types';\n\nconst OrientationLockAPIToWeb: {\n [lock: string]: WebOrientationLock;\n} = {\n [OrientationLock.DEFAULT]: WebOrientationLock.NATURAL,\n [OrientationLock.ALL]: WebOrientationLock.ANY,\n [OrientationLock.PORTRAIT]: WebOrientationLock.PORTRAIT,\n [OrientationLock.PORTRAIT_UP]: WebOrientationLock.PORTRAIT_PRIMARY,\n [OrientationLock.PORTRAIT_DOWN]: WebOrientationLock.PORTRAIT_SECONDARY,\n [OrientationLock.LANDSCAPE]: WebOrientationLock.LANDSCAPE,\n [OrientationLock.LANDSCAPE_LEFT]: WebOrientationLock.LANDSCAPE_PRIMARY,\n [OrientationLock.LANDSCAPE_RIGHT]: WebOrientationLock.LANDSCAPE_SECONDARY,\n};\n\nconst OrientationWebToAPI: {\n [orientationWeb: string]: Orientation;\n} = {\n [WebOrientation.PORTRAIT_PRIMARY]: Orientation.PORTRAIT_UP,\n [WebOrientation.PORTRAIT_SECONDARY]: Orientation.PORTRAIT_DOWN,\n [WebOrientation.LANDSCAPE_PRIMARY]: Orientation.LANDSCAPE_LEFT,\n [WebOrientation.LANDSCAPE_SECONDARY]: Orientation.LANDSCAPE_RIGHT,\n};\n\ndeclare const window: Window;\n\nconst screen: Screen = Platform.canUseViewport ? window.screen : ({} as Screen);\n\nfunction _convertToLegacyOrientationLock(orientationLock: WebOrientationLock): string | string[] {\n switch (orientationLock) {\n case WebOrientationLock.UNKNOWN:\n throw new Error(\n `expo-screen-orientation: WebOrientationLock.UNKNOWN is not a valid lock to be converted.`\n );\n case WebOrientationLock.ANY:\n return ['portrait', 'landscape'];\n case WebOrientationLock.NATURAL:\n return 'default';\n default:\n return orientationLock;\n }\n}\n\nasync function _lockAsync(webOrientationLock: WebOrientationLock): Promise<void> {\n if (webOrientationLock === WebOrientationLock.UNKNOWN) {\n throw new Error(\n `expo-screen-orientation: WebOrientationLock.UNKNOWN is not a valid lock that can be applied to the device.`\n );\n }\n // @ts-ignore-error: This is missing in the TypeScript definitions\n if (screen.orientation && screen.orientation.lock) {\n // @ts-ignore-error\n await screen.orientation.lock(webOrientationLock);\n } else if (\n screen['lockOrientation'] ||\n screen['mozLockOrientation'] ||\n screen['msLockOrientation']\n ) {\n const legacyLock = _convertToLegacyOrientationLock(webOrientationLock);\n const lockOrientation =\n screen['lockOrientation'] || screen['mozLockOrientation'] || screen['msLockOrientation'];\n // correct `this` context must be passed in otherwise method call is disallowed by browser\n const isSuccess = lockOrientation.call(screen, legacyLock);\n if (!isSuccess) {\n throw new Error(\n `Applying orientation lock: ${JSON.stringify(webOrientationLock)} to device was denied`\n );\n }\n } else {\n throw new Error(\n `expo-screen-orientation: The browser doesn't support locking screen orientation.`\n );\n }\n}\n\nlet _lastWebOrientationLock: WebOrientationLock = WebOrientationLock.UNKNOWN;\n\nclass ExpoScreenOrientation extends NativeModule<ExpoOrientationEvents> {\n orientation: ScreenOrientation | null = Platform.canUseViewport\n ? screen.orientation || (screen as any).msOrientation || null\n : null;\n async emitOrientationEvent() {\n const [orientationLock, orientation] = await Promise.all([\n getOrientationLockAsync(),\n getOrientationAsync(),\n ]);\n this.emit('expoDidUpdateDimensions', {\n orientationLock,\n orientationInfo: { orientation },\n });\n }\n startObserving() {\n this.listener = () => this.emitOrientationEvent();\n if (Platform.canUseEventListeners) {\n if (this.orientation && this.orientation.addEventListener) {\n this.orientation.addEventListener('change', this.listener);\n } else {\n window.addEventListener('orientationchange', this.listener);\n }\n }\n }\n stopObserving(): void {\n if (Platform.canUseEventListeners) {\n if (this.orientation && this.orientation.removeEventListener) {\n this.orientation.removeEventListener('change', this.listener);\n } else {\n window.removeEventListener('orientationchange', this.listener);\n }\n }\n }\n async supportsOrientationLockAsync(orientationLock: OrientationLock): Promise<boolean> {\n return orientationLock in OrientationLockAPIToWeb;\n }\n async getPlatformOrientationLockAsync(): Promise<WebOrientationLock> {\n return _lastWebOrientationLock;\n }\n async getOrientationAsync(): Promise<Orientation> {\n const webOrientation =\n screen['msOrientation'] || (screen.orientation || screen['mozOrientation'] || {}).type;\n if (!webOrientation) {\n return Orientation.UNKNOWN;\n }\n return OrientationWebToAPI[webOrientation];\n }\n async lockAsync(orientationLock: OrientationLock): Promise<void> {\n const webOrientationLock = OrientationLockAPIToWeb[orientationLock];\n if (!webOrientationLock) {\n throw new TypeError(`Invalid Orientation Lock: ${orientationLock}`);\n }\n await _lockAsync(webOrientationLock);\n }\n async lockPlatformAsync(webOrientationLock: WebOrientationLock): Promise<void> {\n await _lockAsync(webOrientationLock);\n _lastWebOrientationLock = webOrientationLock;\n }\n async unlockAsync(): Promise<void> {\n if (screen.orientation && screen.orientation.unlock) {\n screen.orientation.unlock();\n } else if (\n screen['unlockOrientation'] ||\n screen['mozUnlockOrientation'] ||\n screen['msUnlockOrientation']\n ) {\n const unlockOrientation =\n screen['unlockOrientation'] ||\n screen['mozUnlockOrientation'] ||\n screen['msUnlockOrientation'];\n // correct `this` context must be passed in otherwise method call is disallowed by browser\n const isSuccess = unlockOrientation.call(screen);\n if (!isSuccess) {\n throw new Error(`Unlocking screen orientation on device was denied`);\n }\n } else {\n throw new Error(\n `expo-screen-orientation: The browser doesn't support unlocking screen orientation.`\n );\n }\n }\n}\n\nexport default registerWebModule(ExpoScreenOrientation);\n"]}
1
+ {"version":3,"file":"ExpoScreenOrientation.web.js","sourceRoot":"","sources":["../src/ExpoScreenOrientation.web.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAE9E,OAA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BAAmB,CAAC;gBAC3B,MAAM,CAAC,sBAAsB,CAAC;gBAC9B,MAAM,CAAC,qBAAqB,CAAC,CAAC;YAChC,0FAA0F;YAC1F,MAAM,SAAS,GAAG,iBAAiB,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;YACjD,IAAI,CAAC,SAAS,EAAE,CAAC;gBACf,MAAM,IAAI,KAAK,CAAC,mDAAmD,CAAC,CAAC;YACvE,CAAC;QACH,CAAC;aAAM,CAAC;YACN,MAAM,IAAI,KAAK,CACb,oFAAoF,CACrF,CAAC;QACJ,CAAC;IACH,CAAC;CACF;AAED,eAAe,iBAAiB,CAAC,qBAAqB,EAAE,uBAAuB,CAAC,CAAC","sourcesContent":["import { NativeModule, Platform, registerWebModule } from 'expo-modules-core';\n\nimport { getOrientationLockAsync, getOrientationAsync } from './ScreenOrientation';\nimport {\n Orientation,\n OrientationLock,\n WebOrientationLock,\n WebOrientation,\n ExpoOrientationEvents,\n} from './ScreenOrientation.types';\n\nconst OrientationLockAPIToWeb: {\n [lock: string]: WebOrientationLock;\n} = {\n [OrientationLock.DEFAULT]: WebOrientationLock.NATURAL,\n [OrientationLock.ALL]: WebOrientationLock.ANY,\n [OrientationLock.PORTRAIT]: WebOrientationLock.PORTRAIT,\n [OrientationLock.PORTRAIT_UP]: WebOrientationLock.PORTRAIT_PRIMARY,\n [OrientationLock.PORTRAIT_DOWN]: WebOrientationLock.PORTRAIT_SECONDARY,\n [OrientationLock.LANDSCAPE]: WebOrientationLock.LANDSCAPE,\n [OrientationLock.LANDSCAPE_LEFT]: WebOrientationLock.LANDSCAPE_PRIMARY,\n [OrientationLock.LANDSCAPE_RIGHT]: WebOrientationLock.LANDSCAPE_SECONDARY,\n};\n\nconst OrientationWebToAPI: {\n [orientationWeb: string]: Orientation;\n} = {\n [WebOrientation.PORTRAIT_PRIMARY]: Orientation.PORTRAIT_UP,\n [WebOrientation.PORTRAIT_SECONDARY]: Orientation.PORTRAIT_DOWN,\n [WebOrientation.LANDSCAPE_PRIMARY]: Orientation.LANDSCAPE_LEFT,\n [WebOrientation.LANDSCAPE_SECONDARY]: Orientation.LANDSCAPE_RIGHT,\n};\n\ndeclare const window: Window;\n\nconst screen: Screen = Platform.canUseViewport ? window.screen : ({} as Screen);\n\nfunction _convertToLegacyOrientationLock(orientationLock: WebOrientationLock): string | string[] {\n switch (orientationLock) {\n case WebOrientationLock.UNKNOWN:\n throw new Error(\n `expo-screen-orientation: WebOrientationLock.UNKNOWN is not a valid lock to be converted.`\n );\n case WebOrientationLock.ANY:\n return ['portrait', 'landscape'];\n case WebOrientationLock.NATURAL:\n return 'default';\n default:\n return orientationLock;\n }\n}\n\nasync function _lockAsync(webOrientationLock: WebOrientationLock): Promise<void> {\n if (webOrientationLock === WebOrientationLock.UNKNOWN) {\n throw new Error(\n `expo-screen-orientation: WebOrientationLock.UNKNOWN is not a valid lock that can be applied to the device.`\n );\n }\n // @ts-ignore-error: This is missing in the TypeScript definitions\n if (screen.orientation && screen.orientation.lock) {\n // @ts-ignore-error\n await screen.orientation.lock(webOrientationLock);\n } else if (\n screen['lockOrientation'] ||\n screen['mozLockOrientation'] ||\n screen['msLockOrientation']\n ) {\n const legacyLock = _convertToLegacyOrientationLock(webOrientationLock);\n const lockOrientation =\n screen['lockOrientation'] || screen['mozLockOrientation'] || screen['msLockOrientation'];\n // correct `this` context must be passed in otherwise method call is disallowed by browser\n const isSuccess = lockOrientation.call(screen, legacyLock);\n if (!isSuccess) {\n throw new Error(\n `Applying orientation lock: ${JSON.stringify(webOrientationLock)} to device was denied`\n );\n }\n } else {\n throw new Error(\n `expo-screen-orientation: The browser doesn't support locking screen orientation.`\n );\n }\n}\n\nlet _lastWebOrientationLock: WebOrientationLock = WebOrientationLock.UNKNOWN;\n\nclass ExpoScreenOrientation extends NativeModule<ExpoOrientationEvents> {\n orientation: ScreenOrientation | null = Platform.canUseViewport\n ? screen.orientation || (screen as any).msOrientation || null\n : null;\n async emitOrientationEvent() {\n const [orientationLock, orientation] = await Promise.all([\n getOrientationLockAsync(),\n getOrientationAsync(),\n ]);\n this.emit('expoDidUpdateDimensions', {\n orientationLock,\n orientationInfo: { orientation },\n });\n }\n startObserving() {\n this.listener = () => this.emitOrientationEvent();\n if (Platform.canUseEventListeners) {\n if (this.orientation && this.orientation.addEventListener) {\n this.orientation.addEventListener('change', this.listener);\n } else {\n window.addEventListener('orientationchange', this.listener);\n }\n }\n }\n stopObserving(): void {\n if (Platform.canUseEventListeners) {\n if (this.orientation && this.orientation.removeEventListener) {\n this.orientation.removeEventListener('change', this.listener);\n } else {\n window.removeEventListener('orientationchange', this.listener);\n }\n }\n }\n async supportsOrientationLockAsync(orientationLock: OrientationLock): Promise<boolean> {\n return orientationLock in OrientationLockAPIToWeb;\n }\n async getPlatformOrientationLockAsync(): Promise<WebOrientationLock> {\n return _lastWebOrientationLock;\n }\n async getOrientationAsync(): Promise<Orientation> {\n const webOrientation =\n screen['msOrientation'] || (screen.orientation || screen['mozOrientation'] || {}).type;\n if (!webOrientation) {\n return Orientation.UNKNOWN;\n }\n return OrientationWebToAPI[webOrientation];\n }\n async lockAsync(orientationLock: OrientationLock): Promise<void> {\n const webOrientationLock = OrientationLockAPIToWeb[orientationLock];\n if (!webOrientationLock) {\n throw new TypeError(`Invalid Orientation Lock: ${orientationLock}`);\n }\n await _lockAsync(webOrientationLock);\n }\n async lockPlatformAsync(webOrientationLock: WebOrientationLock): Promise<void> {\n await _lockAsync(webOrientationLock);\n _lastWebOrientationLock = webOrientationLock;\n }\n async unlockAsync(): Promise<void> {\n if (screen.orientation && screen.orientation.unlock) {\n screen.orientation.unlock();\n } else if (\n screen['unlockOrientation'] ||\n screen['mozUnlockOrientation'] ||\n screen['msUnlockOrientation']\n ) {\n const unlockOrientation =\n screen['unlockOrientation'] ||\n screen['mozUnlockOrientation'] ||\n screen['msUnlockOrientation'];\n // correct `this` context must be passed in otherwise method call is disallowed by browser\n const isSuccess = unlockOrientation.call(screen);\n if (!isSuccess) {\n throw new Error(`Unlocking screen orientation on device was denied`);\n }\n } else {\n throw new Error(\n `expo-screen-orientation: The browser doesn't support unlocking screen orientation.`\n );\n }\n }\n}\n\nexport default registerWebModule(ExpoScreenOrientation, 'ExpoScreenOrientation');\n"]}
@@ -10,7 +10,7 @@
10
10
  "publication": {
11
11
  "groupId": "host.exp.exponent",
12
12
  "artifactId": "expo.modules.screenorientation",
13
- "version": "8.1.1",
13
+ "version": "8.1.2",
14
14
  "repository": "local-maven-repo"
15
15
  }
16
16
  }
@@ -3,7 +3,7 @@
3
3
  "component": {
4
4
  "group": "host.exp.exponent",
5
5
  "module": "expo.modules.screenorientation",
6
- "version": "8.1.1",
6
+ "version": "8.1.2",
7
7
  "attributes": {
8
8
  "org.gradle.status": "release"
9
9
  }
@@ -24,8 +24,8 @@
24
24
  },
25
25
  "files": [
26
26
  {
27
- "name": "expo.modules.screenorientation-8.1.1.aar",
28
- "url": "expo.modules.screenorientation-8.1.1.aar",
27
+ "name": "expo.modules.screenorientation-8.1.2.aar",
28
+ "url": "expo.modules.screenorientation-8.1.2.aar",
29
29
  "size": 36475,
30
30
  "sha512": "a4b3c18f9651ead41fb1fe22c1e6b790b9d7c68491d80e58e790f6c1171f398fb4156ef115553a155f1ef7aa77b452271e03427c0f10baae2e2a141f6e10da7b",
31
31
  "sha256": "c60d4a82ab38a0ee50e0e163b0b070b1428604a0c9eb88122459bb788eeff98b",
@@ -53,8 +53,8 @@
53
53
  ],
54
54
  "files": [
55
55
  {
56
- "name": "expo.modules.screenorientation-8.1.1.aar",
57
- "url": "expo.modules.screenorientation-8.1.1.aar",
56
+ "name": "expo.modules.screenorientation-8.1.2.aar",
57
+ "url": "expo.modules.screenorientation-8.1.2.aar",
58
58
  "size": 36475,
59
59
  "sha512": "a4b3c18f9651ead41fb1fe22c1e6b790b9d7c68491d80e58e790f6c1171f398fb4156ef115553a155f1ef7aa77b452271e03427c0f10baae2e2a141f6e10da7b",
60
60
  "sha256": "c60d4a82ab38a0ee50e0e163b0b070b1428604a0c9eb88122459bb788eeff98b",
@@ -73,8 +73,8 @@
73
73
  },
74
74
  "files": [
75
75
  {
76
- "name": "expo.modules.screenorientation-8.1.1-sources.jar",
77
- "url": "expo.modules.screenorientation-8.1.1-sources.jar",
76
+ "name": "expo.modules.screenorientation-8.1.2-sources.jar",
77
+ "url": "expo.modules.screenorientation-8.1.2-sources.jar",
78
78
  "size": 5194,
79
79
  "sha512": "e06be0d0236539250b81b1d5670d89f70600b03c82fa53c245602afdcb2bab06d04d42e6dd85e9686867d069a8b09dd3fbc04f562bc1760e33f68ea614b2ec42",
80
80
  "sha256": "d63ace679c73e409ffd1706ac43973134e9151254bf644d73a33c27539db1037",
@@ -0,0 +1 @@
1
+ 44f55b4c192df9a38395b61444bafa5d996a991be11b17e28348e5b7d9049cf6
@@ -0,0 +1 @@
1
+ 7746805968e86cc6e6c6587363d673d308d6d2ccf8fbf5a892eb657e74795d0b2c74bdf542919a3913ad4465ad0f874532eb823e11ee6ee4f610b4f0e5b429ef
@@ -9,7 +9,7 @@
9
9
  <modelVersion>4.0.0</modelVersion>
10
10
  <groupId>host.exp.exponent</groupId>
11
11
  <artifactId>expo.modules.screenorientation</artifactId>
12
- <version>8.1.1</version>
12
+ <version>8.1.2</version>
13
13
  <packaging>aar</packaging>
14
14
  <name>expo.modules.screenorientation</name>
15
15
  <url>https://github.com/expo/expo</url>
@@ -0,0 +1 @@
1
+ 53a5b807402467bb26e52a661f0a1137f3d91140a08796967d47860651e362df
@@ -0,0 +1 @@
1
+ a32423e791c8b4a14a661512cc641837fc176278f5ea9784693f812590a3e16e7013c628dbd05cb6d608c7b27293d5349e5de0c49e1946b5247f7903651761bb
@@ -3,11 +3,11 @@
3
3
  <groupId>host.exp.exponent</groupId>
4
4
  <artifactId>expo.modules.screenorientation</artifactId>
5
5
  <versioning>
6
- <latest>8.1.1</latest>
7
- <release>8.1.1</release>
6
+ <latest>8.1.2</latest>
7
+ <release>8.1.2</release>
8
8
  <versions>
9
- <version>8.1.1</version>
9
+ <version>8.1.2</version>
10
10
  </versions>
11
- <lastUpdated>20250409202801</lastUpdated>
11
+ <lastUpdated>20250411190920</lastUpdated>
12
12
  </versioning>
13
13
  </metadata>
@@ -1 +1 @@
1
- 2c46aa023c36a7e4ed738c443ccc62b8
1
+ 009662c00abee777c3e0a62349edf94c
@@ -1 +1 @@
1
- 5bf901a71bc0a15e4cd88c1b0f7f1bcf3cdfcf2e
1
+ 34895ecbcce285f5b5ea3783d0c9f8a0328ab13b
@@ -1 +1 @@
1
- 785629bf4448a646f75b3d3f9dc7673cf044656c4006832f515d9c6fee4ddd6d
1
+ 64daf1843b0a6850a4a3f4fcaa2768c5b1f6be56ae10e58ac6ebbad404de39bc
@@ -1 +1 @@
1
- c81d5b4161b8c2ee364a44602e1f143ccaff2bd04fa51daeee991d702c7fae123e7f43c829aae4fec023c6bdf4a3545ed4681f6bf345ddf89ddc1ed3a4f75ef9
1
+ 91e1fd9bce01baf13f6ecf9d983f43965428e756b258eb1fa400f34cc625c22879c8aa4a666d66c63fa81a199a4b234fd7d3f7e5813396b3eebba9cdfa52de37
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-screen-orientation",
3
- "version": "8.1.1",
3
+ "version": "8.1.2",
4
4
  "description": "Expo universal module for managing device's screen orientation",
5
5
  "main": "build/ScreenOrientation.js",
6
6
  "types": "build/ScreenOrientation.d.ts",
@@ -42,5 +42,5 @@
42
42
  "expo": "*",
43
43
  "react-native": "*"
44
44
  },
45
- "gitHead": "1914bb35d23af23078da37e70988261844436505"
45
+ "gitHead": "dd2c7150fd75c56505aa6d3f805c14e255649c5d"
46
46
  }
@@ -167,4 +167,4 @@ class ExpoScreenOrientation extends NativeModule<ExpoOrientationEvents> {
167
167
  }
168
168
  }
169
169
 
170
- export default registerWebModule(ExpoScreenOrientation);
170
+ export default registerWebModule(ExpoScreenOrientation, 'ExpoScreenOrientation');
@@ -1 +0,0 @@
1
- 3a7218eb3efe236f788f456b1efb9d99e4050210879167c4f8bd940fd30635ba
@@ -1 +0,0 @@
1
- a123b53748bcca45b1a7f861499c778be5f62b45aa09cea7a2f815deb6b8755b22440358d20146cb781557734be516861ab3be23b293662517b0642c089d8399
@@ -1 +0,0 @@
1
- ac37720eeec646618c5d07e032bdc193c07f161e83b0309606fc64a4d21f3f31
@@ -1 +0,0 @@
1
- 6102ea4d07fb077d90fba544fbffb3eae7895c6e2cf8caabfb77400f7c124567d50b31dea1db90629c5d55de831830cf6801f55de0d26b0bc80a62e83eae688d