react-native-screens 4.9.0 → 4.9.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.
|
@@ -16,11 +16,10 @@ import com.facebook.proguard.annotations.DoNotStrip;
|
|
|
16
16
|
import com.facebook.react.bridge.ReactApplicationContext;
|
|
17
17
|
import com.facebook.react.bridge.ReactContextBaseJavaModule;
|
|
18
18
|
import com.facebook.react.bridge.ReactMethod;
|
|
19
|
-
import com.facebook.react.bridge.ReactModuleWithSpec;
|
|
20
19
|
import com.facebook.react.turbomodule.core.interfaces.TurboModule;
|
|
21
20
|
import javax.annotation.Nonnull;
|
|
22
21
|
|
|
23
|
-
public abstract class NativeScreensModuleSpec extends ReactContextBaseJavaModule implements
|
|
22
|
+
public abstract class NativeScreensModuleSpec extends ReactContextBaseJavaModule implements TurboModule {
|
|
24
23
|
public static final String NAME = "RNSModule";
|
|
25
24
|
|
|
26
25
|
public NativeScreensModuleSpec(ReactApplicationContext reactContext) {
|
package/ios/utils/RNSDefines.h
CHANGED
|
@@ -7,12 +7,15 @@
|
|
|
7
7
|
#define RNS_IGNORE_SUPER_CALL_END _Pragma("clang diagnostic pop")
|
|
8
8
|
|
|
9
9
|
#if defined __has_include
|
|
10
|
-
#if __has_include(
|
|
11
|
-
<
|
|
10
|
+
#if __has_include(<React-RCTAppDelegate/RCTReactNativeFactory.h>) ||\
|
|
11
|
+
__has_include(<React_RCTAppDelegate/RCTReactNativeFactory.h>) // added in 78; underscore is used in dynamic frameworks
|
|
12
12
|
#define RNS_REACT_NATIVE_VERSION_MINOR_BELOW_78 0
|
|
13
13
|
#else
|
|
14
14
|
#define RNS_REACT_NATIVE_VERSION_MINOR_BELOW_78 1
|
|
15
15
|
#endif
|
|
16
|
+
#else
|
|
17
|
+
#define RNS_REACT_NATIVE_VERSION_MINOR_BELOW_78 \
|
|
18
|
+
1 // Wild guess, close eyes and hope for the best.
|
|
16
19
|
#endif
|
|
17
20
|
|
|
18
21
|
#if RNS_REACT_NATIVE_VERSION_MINOR_BELOW_78
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-screens",
|
|
3
|
-
"version": "4.9.
|
|
3
|
+
"version": "4.9.1",
|
|
4
4
|
"description": "Native navigation primitives for your React Native app.",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"submodules": "git submodule update --init --recursive && (cd react-navigation && yarn && yarn build && cd ../)",
|