react-native-orientation-director 1.0.0 → 1.0.1

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.
@@ -7,7 +7,7 @@
7
7
  #if __has_include("react_native_orientation_director-Swift.h")
8
8
  #import "react_native_orientation_director-Swift.h"
9
9
  #else
10
- #import "react_native_orientation_director/react_native_orientation_director-Swift"
10
+ #import "react_native_orientation_director/react_native_orientation_director-Swift.h"
11
11
  #endif
12
12
 
13
13
  static OrientationDirectorImpl *_director = [OrientationDirectorImpl new];
@@ -36,6 +36,11 @@ RCT_EXPORT_MODULE()
36
36
  return self;
37
37
  }
38
38
 
39
+ + (BOOL)requiresMainQueueSetup
40
+ {
41
+ return YES;
42
+ }
43
+
39
44
  ///////////////////////////////////////////////////////////////////////////////////////
40
45
  /// EVENT EMITTER SETUP
41
46
  ///
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-orientation-director",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "A Modern React Native library that allows you to access orientation",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",