You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You need to create a [bridging header](https://developer.apple.com/documentation/swift/importing-objective-c-into-swift#Import-Code-Within-an-App-Target)
134
-
to import the library, as shown below:
135
130
136
131
```
137
-
#import "OrientationDirector.h"
138
-
```
139
-
140
-
Then, in your AppDelegate.swift file, implement the supportedInterfaceOrientationsFor method as follows:
Note: if you are targeting react-native > 79.x, you can omit the `override` keyword.
149
132
150
133
If you need help, you can check the example project.
151
134
@@ -212,11 +195,6 @@ differently than on iOS, mainly in the following ways:
212
195
213
196
This behavior allows us to follow Google's best practices related to the Sensors Framework. More [here](https://developer.android.com/develop/sensors-and-location/sensors/sensors_overview#sensors-practices).
214
197
215
-
## Roadmap
216
-
217
-
-[ ] Add JS side tests
218
-
-[ ] Add iOS side tests
219
-
220
198
## Contributing
221
199
222
200
See the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.
0 commit comments