Skip to content

Commit 3a265c8

Browse files
committed
fix: Fix orientation actually being unknown
1 parent 85a3024 commit 3a265c8

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

example/ios/Podfile.lock

+10-10
Original file line numberDiff line numberDiff line change
@@ -1768,16 +1768,16 @@ PODS:
17681768
- ReactCommon/turbomodule/core
17691769
- Yoga
17701770
- SocketRocket (0.7.0)
1771-
- VisionCamera (4.6.1):
1772-
- VisionCamera/Core (= 4.6.1)
1773-
- VisionCamera/FrameProcessors (= 4.6.1)
1774-
- VisionCamera/React (= 4.6.1)
1775-
- VisionCamera/Core (4.6.1)
1776-
- VisionCamera/FrameProcessors (4.6.1):
1771+
- VisionCamera (4.6.3):
1772+
- VisionCamera/Core (= 4.6.3)
1773+
- VisionCamera/FrameProcessors (= 4.6.3)
1774+
- VisionCamera/React (= 4.6.3)
1775+
- VisionCamera/Core (4.6.3)
1776+
- VisionCamera/FrameProcessors (4.6.3):
17771777
- React
17781778
- React-callinvoker
17791779
- react-native-worklets-core
1780-
- VisionCamera/React (4.6.1):
1780+
- VisionCamera/React (4.6.3):
17811781
- React-Core
17821782
- VisionCamera/FrameProcessors
17831783
- Yoga (0.0.0)
@@ -2097,9 +2097,9 @@ SPEC CHECKSUMS:
20972097
RNStaticSafeAreaInsets: 055ddbf5e476321720457cdaeec0ff2ba40ec1b8
20982098
RNVectorIcons: 6382277afab3c54658e9d555ee0faa7a37827136
20992099
SocketRocket: abac6f5de4d4d62d24e11868d7a2f427e0ef940d
2100-
VisionCamera: ec141897a88c2e95e8b83cf97b8e4db801e02fd6
2101-
Yoga: 055f92ad73f8c8600a93f0e25ac0b2344c3b07e6
2100+
VisionCamera: 88df4dae7196c93ecd331f105f0e5d7d95702cb3
2101+
Yoga: aa3df615739504eebb91925fc9c58b4922ea9a08
21022102

21032103
PODFILE CHECKSUM: 2ad84241179871ca890f7c65c855d117862f1a68
21042104

2105-
COCOAPODS: 1.16.2
2105+
COCOAPODS: 1.15.2

package/ios/Core/Extensions/CMAccelerometerData+deviceOrientation.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ extension CMAccelerometerData {
2121

2222
// If the z-axis is greater than the other axes, the phone is flat.
2323
if zNorm > xNorm && zNorm > yNorm {
24-
return .portrait
24+
return nil
2525
}
2626

2727
if xNorm > yNorm {

0 commit comments

Comments
 (0)