react-native-reanimated 2.6.0 → 2.7.0
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.
- package/Common/cpp/SharedItems/ShareableValue.cpp +2 -2
- package/Common/cpp/Tools/RuntimeDecorator.cpp +0 -14
- package/android/.gradle/7.2/dependencies-accessors/dependencies-accessors.lock +0 -0
- package/android/.gradle/7.2/executionHistory/executionHistory.bin +0 -0
- package/android/.gradle/7.2/executionHistory/executionHistory.lock +0 -0
- package/android/.gradle/7.2/fileHashes/fileHashes.bin +0 -0
- package/android/.gradle/7.2/fileHashes/fileHashes.lock +0 -0
- package/android/.gradle/7.2/fileHashes/resourceHashesCache.bin +0 -0
- package/android/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/android/.gradle/buildOutputCleanup/cache.properties +1 -1
- package/android/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
- package/android/.gradle/checksums/checksums.lock +0 -0
- package/android/.gradle/checksums/md5-checksums.bin +0 -0
- package/android/.gradle/checksums/sha1-checksums.bin +0 -0
- package/android/react-native-reanimated-64-hermes.aar +0 -0
- package/android/react-native-reanimated-64-jsc.aar +0 -0
- package/android/react-native-reanimated-65-hermes.aar +0 -0
- package/android/react-native-reanimated-65-jsc.aar +0 -0
- package/android/react-native-reanimated-66-hermes.aar +0 -0
- package/android/react-native-reanimated-66-jsc.aar +0 -0
- package/android/react-native-reanimated-67-hermes.aar +0 -0
- package/android/react-native-reanimated-67-jsc.aar +0 -0
- package/android/react-native-reanimated-68-hermes.aar +0 -0
- package/android/react-native-reanimated-68-jsc.aar +0 -0
- package/android/src/main/java/com/swmansion/reanimated/NativeProxy.java +11 -8
- package/android/src/main/java/com/swmansion/reanimated/layoutReanimation/AnimationsManager.java +13 -6
- package/ios/LayoutReanimation/REAAnimationsManager.h +1 -1
- package/ios/LayoutReanimation/REAAnimationsManager.m +2 -2
- package/ios/LayoutReanimation/REASnapshot.m +1 -1
- package/ios/LayoutReanimation/REAUIManager.h +1 -1
- package/ios/LayoutReanimation/REAUIManager.mm +4 -5
- package/ios/Nodes/REAAlwaysNode.h +1 -1
- package/ios/Nodes/REAAlwaysNode.m +5 -5
- package/ios/Nodes/REABezierNode.h +1 -1
- package/ios/Nodes/REABezierNode.m +4 -5
- package/ios/Nodes/REABlockNode.h +1 -1
- package/ios/Nodes/REABlockNode.m +2 -2
- package/ios/Nodes/REACallFuncNode.h +1 -1
- package/ios/Nodes/REACallFuncNode.m +5 -5
- package/ios/Nodes/REAClockNodes.h +1 -1
- package/ios/Nodes/REAClockNodes.m +4 -4
- package/ios/Nodes/REAConcatNode.h +1 -1
- package/ios/Nodes/REAConcatNode.m +3 -3
- package/ios/Nodes/REACondNode.h +1 -1
- package/ios/Nodes/REACondNode.m +3 -3
- package/ios/Nodes/READebugNode.h +1 -1
- package/ios/Nodes/READebugNode.m +3 -3
- package/ios/Nodes/REAEventNode.h +1 -2
- package/ios/Nodes/REAEventNode.m +3 -3
- package/ios/Nodes/REAFunctionNode.h +1 -1
- package/ios/Nodes/REAFunctionNode.m +3 -3
- package/ios/Nodes/REAJSCallNode.h +1 -1
- package/ios/Nodes/REAJSCallNode.m +3 -3
- package/ios/Nodes/REANode.m +2 -2
- package/ios/Nodes/REAOperatorNode.h +1 -1
- package/ios/Nodes/REAOperatorNode.m +2 -3
- package/ios/Nodes/REAParamNode.h +1 -1
- package/ios/Nodes/REAParamNode.m +4 -4
- package/ios/Nodes/REAPropsNode.h +1 -1
- package/ios/Nodes/REAPropsNode.m +4 -6
- package/ios/Nodes/REASetNode.h +1 -1
- package/ios/Nodes/REASetNode.m +4 -4
- package/ios/Nodes/REAStyleNode.h +1 -1
- package/ios/Nodes/REAStyleNode.m +2 -3
- package/ios/Nodes/REATransformNode.h +1 -1
- package/ios/Nodes/REATransformNode.m +2 -2
- package/ios/Nodes/REAValueNode.h +1 -3
- package/ios/Nodes/REAValueNode.m +1 -1
- package/ios/REAEventDispatcher.m +1 -1
- package/ios/REAModule.h +1 -1
- package/ios/REAModule.m +4 -5
- package/ios/REANodesManager.h +1 -2
- package/ios/REANodesManager.m +21 -23
- package/ios/Transitioning/RCTConvert+REATransition.h +1 -2
- package/ios/Transitioning/RCTConvert+REATransition.m +1 -1
- package/ios/Transitioning/REAAllTransitions.h +1 -1
- package/ios/Transitioning/REAAllTransitions.m +2 -3
- package/ios/Transitioning/REATransition.h +2 -3
- package/ios/Transitioning/REATransition.m +3 -4
- package/ios/Transitioning/REATransitionAnimation.m +1 -2
- package/ios/Transitioning/REATransitionManager.m +2 -4
- package/ios/Transitioning/REATransitionValues.m +2 -3
- package/ios/native/NativeMethods.h +1 -3
- package/ios/native/NativeMethods.mm +1 -1
- package/ios/native/NativeProxy.h +2 -2
- package/ios/native/NativeProxy.mm +14 -15
- package/ios/native/REAIOSErrorHandler.h +2 -4
- package/ios/native/REAIOSErrorHandler.mm +1 -1
- package/ios/native/REAIOSLogger.h +1 -3
- package/ios/native/REAIOSLogger.mm +1 -1
- package/ios/native/REAIOSScheduler.h +1 -3
- package/ios/native/REAIOSScheduler.mm +2 -2
- package/ios/native/REAInitializer.h +0 -7
- package/ios/native/REAInitializer.mm +2 -2
- package/ios/native/UIResponder+Reanimated.mm +3 -3
- package/ios/sensor/ReanimatedSensor.h +1 -1
- package/ios/sensor/ReanimatedSensor.m +1 -1
- package/ios/sensor/ReanimatedSensorContainer.h +1 -1
- package/ios/sensor/ReanimatedSensorContainer.m +2 -2
- package/lib/ConfigHelper.js +0 -1
- package/lib/reanimated2/Easing.js +9 -3
- package/lib/reanimated2/core.js +0 -36
- package/lib/reanimated2/globals.d.ts +1 -2
- package/lib/types/lib/reanimated2/commonTypes.d.ts +0 -1
- package/package.json +4 -6
- package/plugin.js +0 -12
- package/src/ConfigHelper.ts +0 -1
- package/src/reanimated2/Easing.ts +9 -3
- package/src/reanimated2/commonTypes.ts +0 -1
- package/src/reanimated2/core.ts +0 -47
- package/src/reanimated2/globals.d.ts +1 -2
|
@@ -64,7 +64,7 @@ void ShareableValue::adapt(
|
|
|
64
64
|
jsi::Object hiddenProperty = hiddenValue.asObject(rt);
|
|
65
65
|
if (hiddenProperty.isHostObject<FrozenObject>(rt)) {
|
|
66
66
|
type = ValueType::FrozenObjectType;
|
|
67
|
-
if (object.hasProperty(rt, "
|
|
67
|
+
if (object.hasProperty(rt, "__workletHash") && object.isFunction(rt)) {
|
|
68
68
|
type = ValueType::WorkletFunctionType;
|
|
69
69
|
}
|
|
70
70
|
valueContainer = std::make_unique<FrozenObjectWrapper>(
|
|
@@ -99,7 +99,7 @@ void ShareableValue::adapt(
|
|
|
99
99
|
} else if (value.isObject()) {
|
|
100
100
|
auto object = value.asObject(rt);
|
|
101
101
|
if (object.isFunction(rt)) {
|
|
102
|
-
if (object.getProperty(rt, "
|
|
102
|
+
if (object.getProperty(rt, "__workletHash").isUndefined()) {
|
|
103
103
|
// not a worklet, we treat this as a host function
|
|
104
104
|
type = ValueType::HostFunctionType;
|
|
105
105
|
containsHostFunction = true;
|
|
@@ -31,20 +31,6 @@ void RuntimeDecorator::decorateRuntime(
|
|
|
31
31
|
rt, "_LABEL", jsi::String::createFromAscii(rt, label));
|
|
32
32
|
|
|
33
33
|
jsi::Object dummyGlobal(rt);
|
|
34
|
-
auto dummyFunction = [](jsi::Runtime &rt,
|
|
35
|
-
const jsi::Value &thisValue,
|
|
36
|
-
const jsi::Value *args,
|
|
37
|
-
size_t count) -> jsi::Value {
|
|
38
|
-
return jsi::Value::undefined();
|
|
39
|
-
};
|
|
40
|
-
jsi::Function __reanimatedWorkletInit = jsi::Function::createFromHostFunction(
|
|
41
|
-
rt,
|
|
42
|
-
jsi::PropNameID::forAscii(rt, "__reanimatedWorkletInit"),
|
|
43
|
-
1,
|
|
44
|
-
dummyFunction);
|
|
45
|
-
|
|
46
|
-
dummyGlobal.setProperty(
|
|
47
|
-
rt, "__reanimatedWorkletInit", __reanimatedWorkletInit);
|
|
48
34
|
rt.global().setProperty(rt, "global", dummyGlobal);
|
|
49
35
|
|
|
50
36
|
rt.global().setProperty(rt, "jsThis", jsi::Value::undefined());
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
#Mon Apr
|
|
1
|
+
#Mon Apr 11 15:37:15 UTC 2022
|
|
2
2
|
gradle.version=7.2
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -147,14 +147,17 @@ public class NativeProxy {
|
|
|
147
147
|
}
|
|
148
148
|
|
|
149
149
|
private void addDevMenuOption() {
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
150
|
+
// In Expo, `ApplicationContext` is not an instance of `ReactApplication`
|
|
151
|
+
if (mContext.get().getApplicationContext() instanceof ReactApplication) {
|
|
152
|
+
final DevSupportManager devSupportManager =
|
|
153
|
+
((ReactApplication) mContext.get().getApplicationContext())
|
|
154
|
+
.getReactNativeHost()
|
|
155
|
+
.getReactInstanceManager()
|
|
156
|
+
.getDevSupportManager();
|
|
157
|
+
|
|
158
|
+
devSupportManager.addCustomDevOption(
|
|
159
|
+
"Toggle slow animations (Reanimated)", this::toggleSlowAnimations);
|
|
160
|
+
}
|
|
158
161
|
}
|
|
159
162
|
|
|
160
163
|
@DoNotStrip
|
package/android/src/main/java/com/swmansion/reanimated/layoutReanimation/AnimationsManager.java
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
package com.swmansion.reanimated.layoutReanimation;
|
|
2
2
|
|
|
3
|
+
import android.app.Activity;
|
|
3
4
|
import android.util.DisplayMetrics;
|
|
4
5
|
import android.util.Log;
|
|
5
6
|
import android.view.View;
|
|
@@ -368,12 +369,18 @@ public class AnimationsManager implements ViewHierarchyObserver {
|
|
|
368
369
|
preparedValues.put(key, PixelUtil.toDIPFromPixel((int) values.get(key)));
|
|
369
370
|
}
|
|
370
371
|
|
|
371
|
-
DisplayMetrics
|
|
372
|
-
mContext.getCurrentActivity()
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
372
|
+
DisplayMetrics displayMetrics = new DisplayMetrics();
|
|
373
|
+
Activity currentActivity = mContext.getCurrentActivity();
|
|
374
|
+
if (currentActivity != null) {
|
|
375
|
+
currentActivity.getWindowManager().getDefaultDisplay().getMetrics(displayMetrics);
|
|
376
|
+
int height = displayMetrics.heightPixels;
|
|
377
|
+
int width = displayMetrics.widthPixels;
|
|
378
|
+
preparedValues.put("windowWidth", PixelUtil.toDIPFromPixel(width));
|
|
379
|
+
preparedValues.put("windowHeight", PixelUtil.toDIPFromPixel(height));
|
|
380
|
+
} else {
|
|
381
|
+
preparedValues.put("windowWidth", PixelUtil.toDIPFromPixel(0));
|
|
382
|
+
preparedValues.put("windowHeight", PixelUtil.toDIPFromPixel(0));
|
|
383
|
+
}
|
|
377
384
|
return preparedValues;
|
|
378
385
|
}
|
|
379
386
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
#import
|
|
1
|
+
#import <RNReanimated/REAAnimationsManager.h>
|
|
2
|
+
#import <RNReanimated/REAUIManager.h>
|
|
2
3
|
#import <React/RCTComponentData.h>
|
|
3
4
|
#import <React/RCTTextView.h>
|
|
4
5
|
#import <React/UIView+Private.h>
|
|
5
6
|
#import <React/UIView+React.h>
|
|
6
|
-
#import "REAUIManager.h"
|
|
7
7
|
|
|
8
8
|
@interface REAAnimationsManager ()
|
|
9
9
|
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
#import "REAUIManager.h"
|
|
2
1
|
#import <Foundation/Foundation.h>
|
|
3
|
-
#
|
|
4
|
-
#import
|
|
5
|
-
#
|
|
6
|
-
|
|
2
|
+
#import <RNReanimated/FeaturesConfig.h>
|
|
3
|
+
#import <RNReanimated/REAIOSScheduler.h>
|
|
4
|
+
#import <RNReanimated/REAUIManager.h>
|
|
5
|
+
#import <RNReanimated/Scheduler.h>
|
|
7
6
|
#import <React/RCTComponentData.h>
|
|
8
7
|
#import <React/RCTLayoutAnimation.h>
|
|
9
8
|
#import <React/RCTLayoutAnimationGroup.h>
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
#import
|
|
1
|
+
#import <RNReanimated/REAAlwaysNode.h>
|
|
2
|
+
#import <RNReanimated/REAModule.h>
|
|
3
|
+
#import <RNReanimated/REANodesManager.h>
|
|
4
|
+
#import <RNReanimated/REAStyleNode.h>
|
|
5
|
+
#import <RNReanimated/REAUtils.h>
|
|
2
6
|
#import <React/RCTConvert.h>
|
|
3
7
|
#import <React/RCTLog.h>
|
|
4
8
|
#import <React/RCTUIManager.h>
|
|
5
|
-
#import "REAModule.h"
|
|
6
|
-
#import "REANodesManager.h"
|
|
7
|
-
#import "REAStyleNode.h"
|
|
8
|
-
#import "REAUtils.h"
|
|
9
9
|
|
|
10
10
|
@implementation REAAlwaysNode {
|
|
11
11
|
NSNumber *_nodeToBeEvaluated;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
#
|
|
2
|
-
|
|
1
|
+
#import <RNReanimated/REABezierNode.h>
|
|
2
|
+
#import <RNReanimated/REANodesManager.h>
|
|
3
|
+
#import <RNReanimated/REAUtils.h>
|
|
3
4
|
#import <React/RCTConvert.h>
|
|
4
5
|
#import <React/RCTLog.h>
|
|
5
|
-
#
|
|
6
|
-
#import "REANodesManager.h"
|
|
7
|
-
#import "REAUtils.h"
|
|
6
|
+
#include <tgmath.h>
|
|
8
7
|
|
|
9
8
|
#define EPS 1e-5
|
|
10
9
|
|
package/ios/Nodes/REABlockNode.h
CHANGED
package/ios/Nodes/REABlockNode.m
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
-
#import
|
|
4
|
-
#import
|
|
5
|
-
#import
|
|
6
|
-
#import
|
|
7
|
-
#import
|
|
3
|
+
#import <RNReanimated/REACallFuncNode.h>
|
|
4
|
+
#import <RNReanimated/REAFunctionNode.h>
|
|
5
|
+
#import <RNReanimated/REANodesManager.h>
|
|
6
|
+
#import <RNReanimated/REAParamNode.h>
|
|
7
|
+
#import <RNReanimated/REAUtils.h>
|
|
8
8
|
|
|
9
9
|
@implementation REACallFuncNode {
|
|
10
10
|
NSNumber *_whatNodeID;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
#import
|
|
1
|
+
#import <RNReanimated/REAClockNodes.h>
|
|
2
|
+
#import <RNReanimated/REANodesManager.h>
|
|
3
|
+
#import <RNReanimated/REAParamNode.h>
|
|
4
|
+
#import <RNReanimated/REAUtils.h>
|
|
2
5
|
#import <React/RCTConvert.h>
|
|
3
6
|
#import <React/RCTLog.h>
|
|
4
|
-
#import "REANodesManager.h"
|
|
5
|
-
#import "REAParamNode.h"
|
|
6
|
-
#import "REAUtils.h"
|
|
7
7
|
|
|
8
8
|
@interface REAClockNode ()
|
|
9
9
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
#import
|
|
2
|
-
#import
|
|
3
|
-
#import
|
|
1
|
+
#import <RNReanimated/REAConcatNode.h>
|
|
2
|
+
#import <RNReanimated/REANodesManager.h>
|
|
3
|
+
#import <RNReanimated/REAValueNode.h>
|
|
4
4
|
|
|
5
5
|
@implementation REAConcatNode {
|
|
6
6
|
NSArray<NSNumber *> *_input;
|
package/ios/Nodes/REACondNode.h
CHANGED
package/ios/Nodes/REACondNode.m
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
#import
|
|
1
|
+
#import <RNReanimated/REACondNode.h>
|
|
2
|
+
#import <RNReanimated/REANodesManager.h>
|
|
3
|
+
#import <RNReanimated/REAUtils.h>
|
|
2
4
|
#import <React/RCTConvert.h>
|
|
3
5
|
#import <React/RCTLog.h>
|
|
4
|
-
#import "REANodesManager.h"
|
|
5
|
-
#import "REAUtils.h"
|
|
6
6
|
|
|
7
7
|
@implementation REACondNode {
|
|
8
8
|
NSNumber *_condNodeID;
|
package/ios/Nodes/READebugNode.h
CHANGED
package/ios/Nodes/READebugNode.m
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
#import
|
|
1
|
+
#import <RNReanimated/READebugNode.h>
|
|
2
|
+
#import <RNReanimated/REANodesManager.h>
|
|
3
|
+
#import <RNReanimated/REAUtils.h>
|
|
2
4
|
#import <React/RCTConvert.h>
|
|
3
5
|
#import <React/RCTLog.h>
|
|
4
|
-
#import "REANodesManager.h"
|
|
5
|
-
#import "REAUtils.h"
|
|
6
6
|
|
|
7
7
|
@implementation READebugNode {
|
|
8
8
|
NSNumber *_valueNodeID;
|
package/ios/Nodes/REAEventNode.h
CHANGED
package/ios/Nodes/REAEventNode.m
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
|
-
#import
|
|
3
|
-
#import
|
|
4
|
-
#import
|
|
2
|
+
#import <RNReanimated/REAFunctionNode.h>
|
|
3
|
+
#import <RNReanimated/REANodesManager.h>
|
|
4
|
+
#import <RNReanimated/REAParamNode.h>
|
|
5
5
|
|
|
6
6
|
@implementation REAFunctionNode {
|
|
7
7
|
NSNumber *_nodeToBeEvaluated;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
#import
|
|
2
|
-
#import
|
|
3
|
-
#import
|
|
1
|
+
#import <RNReanimated/REAJSCallNode.h>
|
|
2
|
+
#import <RNReanimated/REAModule.h>
|
|
3
|
+
#import <RNReanimated/REANodesManager.h>
|
|
4
4
|
|
|
5
5
|
@implementation REAJSCallNode {
|
|
6
6
|
NSArray<NSNumber *> *_input;
|
package/ios/Nodes/REANode.m
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
+
#import <RNReanimated/REANodesManager.h>
|
|
2
|
+
#import <RNReanimated/REAOperatorNode.h>
|
|
1
3
|
#include <tgmath.h>
|
|
2
4
|
|
|
3
|
-
#import "REANodesManager.h"
|
|
4
|
-
#import "REAOperatorNode.h"
|
|
5
|
-
|
|
6
5
|
typedef id (^REAOperatorBlock)(NSArray<REANode *> *inputNodes);
|
|
7
6
|
|
|
8
7
|
#define REA_REDUCE(OP) \
|
package/ios/Nodes/REAParamNode.h
CHANGED
package/ios/Nodes/REAParamNode.m
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
#import
|
|
2
|
-
#import
|
|
3
|
-
#import
|
|
4
|
-
#import
|
|
1
|
+
#import <RNReanimated/REAClockNodes.h>
|
|
2
|
+
#import <RNReanimated/REANodesManager.h>
|
|
3
|
+
#import <RNReanimated/REAParamNode.h>
|
|
4
|
+
#import <RNReanimated/REAValueNode.h>
|
|
5
5
|
|
|
6
6
|
@implementation REAParamNode {
|
|
7
7
|
NSMutableArray<REANodeID> *_argstack;
|
package/ios/Nodes/REAPropsNode.h
CHANGED
package/ios/Nodes/REAPropsNode.m
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
#import
|
|
2
|
-
|
|
3
|
-
#import
|
|
4
|
-
#import
|
|
5
|
-
#import "REAStyleNode.h"
|
|
6
|
-
|
|
1
|
+
#import <RNReanimated/REAModule.h>
|
|
2
|
+
#import <RNReanimated/REANodesManager.h>
|
|
3
|
+
#import <RNReanimated/REAPropsNode.h>
|
|
4
|
+
#import <RNReanimated/REAStyleNode.h>
|
|
7
5
|
#import <React/RCTComponentData.h>
|
|
8
6
|
#import <React/RCTLog.h>
|
|
9
7
|
#import <React/RCTUIManager.h>
|
package/ios/Nodes/REASetNode.h
CHANGED
package/ios/Nodes/REASetNode.m
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
#import
|
|
1
|
+
#import <RNReanimated/REANodesManager.h>
|
|
2
|
+
#import <RNReanimated/REASetNode.h>
|
|
3
|
+
#import <RNReanimated/REAUtils.h>
|
|
4
|
+
#import <RNReanimated/REAValueNode.h>
|
|
2
5
|
#import <React/RCTConvert.h>
|
|
3
6
|
#import <React/RCTLog.h>
|
|
4
|
-
#import "REANodesManager.h"
|
|
5
|
-
#import "REAUtils.h"
|
|
6
|
-
#import "REAValueNode.h"
|
|
7
7
|
|
|
8
8
|
@implementation REASetNode {
|
|
9
9
|
NSNumber *_whatNodeID;
|
package/ios/Nodes/REAStyleNode.h
CHANGED
package/ios/Nodes/REAStyleNode.m
CHANGED
package/ios/Nodes/REAValueNode.h
CHANGED
package/ios/Nodes/REAValueNode.m
CHANGED
package/ios/REAEventDispatcher.m
CHANGED
package/ios/REAModule.h
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
#import <React/RCTUIManagerObserverCoordinator.h>
|
|
6
6
|
#import <React/RCTUIManagerUtils.h>
|
|
7
7
|
|
|
8
|
-
#import
|
|
8
|
+
#import <RNReanimated/REAValueNode.h>
|
|
9
9
|
|
|
10
10
|
@interface REAModule : RCTEventEmitter <RCTBridgeModule, RCTEventDispatcherObserver, RCTUIManagerObserver>
|
|
11
11
|
|
package/ios/REAModule.m
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
#import
|
|
2
|
-
|
|
3
|
-
#import
|
|
4
|
-
#import
|
|
5
|
-
#import "native/NativeProxy.h"
|
|
1
|
+
#import <RNReanimated/NativeProxy.h>
|
|
2
|
+
#import <RNReanimated/REAModule.h>
|
|
3
|
+
#import <RNReanimated/REANodesManager.h>
|
|
4
|
+
#import <RNReanimated/REATransitionManager.h>
|
|
6
5
|
|
|
7
6
|
typedef void (^AnimatedOperation)(REANodesManager *nodesManager);
|
|
8
7
|
|