-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## Summary In Fabric version 0.73, this flag is necessary. Without it, all animations won't work properly since our animation logic heavily relies on the commit and mount hooks.
- Loading branch information
Showing
4 changed files
with
30 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
...nPatch/ReactFeatureFlagsWrapper/72/com/swmansion/reanimated/ReactFeatureFlagsWrapper.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package com.swmansion.reanimated; | ||
|
||
public class ReactFeatureFlagsWrapper { | ||
|
||
public static void enableMountHooks() { | ||
// no-op | ||
} | ||
|
||
} |
11 changes: 11 additions & 0 deletions
11
...ch/ReactFeatureFlagsWrapper/latest/com/swmansion/reanimated/ReactFeatureFlagsWrapper.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package com.swmansion.reanimated; | ||
|
||
import com.facebook.react.config.ReactFeatureFlags; | ||
|
||
public class ReactFeatureFlagsWrapper { | ||
|
||
public static void enableMountHooks() { | ||
ReactFeatureFlags.enableMountHooks = true; | ||
} | ||
|
||
} |