Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1272,7 +1272,7 @@ SPEC CHECKSUMS:
FirebasePerformance: 0c01a7a496657d7cea86d40c0b1725259d164c6c
FirebaseRemoteConfig: 2d6e2cfdb49af79535c8af8a80a4a5009038ec2b
fmt: ff9d55029c625d3757ed641535fd4a75fedc7ce9
glog: 04b94705f318337d7ead9e6d17c019bd9b1f6b1b
glog: 3d02b25ca00c2d456734d0bcff864cbc62f6ae1a
GoogleAppMeasurement: 5ba1164e3c844ba84272555e916d0a6d3d977e91
GoogleDataTransport: 1c8145da7117bd68bbbed00cf304edb6a24de00f
GoogleUtilities: bad72cb363809015b1f7f19beb1f1cd23c589f95
Expand Down
13,510 changes: 12,967 additions & 543 deletions package-lock.json

Large diffs are not rendered by default.

39 changes: 39 additions & 0 deletions patches/react-native+0.70.4-alpha.2.patch
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,38 @@ index 84cbe8d..6318933 100644
};

auto p = sFabricComponentsClassMap.find(name);
diff --git a/node_modules/react-native/React/Fabric/Mounting/ComponentViews/ScrollView/RCTScrollViewComponentView.mm b/node_modules/react-native/React/Fabric/Mounting/ComponentViews/ScrollView/RCTScrollViewComponentView.mm
index e7f178c..0992f8b 100644
--- a/node_modules/react-native/React/Fabric/Mounting/ComponentViews/ScrollView/RCTScrollViewComponentView.mm
+++ b/node_modules/react-native/React/Fabric/Mounting/ComponentViews/ScrollView/RCTScrollViewComponentView.mm
@@ -350,23 +350,23 @@ - (void)_preserveContentOffsetIfNeededWithBlock:(void (^)())block
- (void)mountChildComponentView:(UIView<RCTComponentViewProtocol> *)childComponentView index:(NSInteger)index
{
[_containerView insertSubview:childComponentView atIndex:index];
- if ([childComponentView isKindOfClass:RCTPullToRefreshViewComponentView.class]) {
+ /* if ([childComponentView isKindOfClass:RCTPullToRefreshViewComponentView.class]) {
// Ignore the pull to refresh component.
} else {
RCTAssert(_contentView == nil, @"RCTScrollView may only contain a single subview.");
_contentView = childComponentView;
- }
+ }*/
}

- (void)unmountChildComponentView:(UIView<RCTComponentViewProtocol> *)childComponentView index:(NSInteger)index
{
[childComponentView removeFromSuperview];
- if ([childComponentView isKindOfClass:RCTPullToRefreshViewComponentView.class]) {
+ /*if ([childComponentView isKindOfClass:RCTPullToRefreshViewComponentView.class]) {
// Ignore the pull to refresh component.
} else {
RCTAssert(_contentView == childComponentView, @"Attempted to remove non-existent subview");
_contentView = nil;
- }
+ }*/
}

/*
diff --git a/node_modules/react-native/ReactAndroid/src/main/java/com/facebook/react/ReactInstanceManager.java b/node_modules/react-native/ReactAndroid/src/main/java/com/facebook/react/ReactInstanceManager.java
index 67120d2..bd8febe 100644
--- a/node_modules/react-native/ReactAndroid/src/main/java/com/facebook/react/ReactInstanceManager.java
Expand Down Expand Up @@ -73,6 +105,13 @@ index a30a594..6246aa6 100644
class UIManager final : public ShadowTreeDelegate {
public:
UIManager(
diff --git a/node_modules/react-native/scripts/.packager.env b/node_modules/react-native/scripts/.packager.env
new file mode 100644
index 0000000..361f5fb
--- /dev/null
+++ b/node_modules/react-native/scripts/.packager.env
@@ -0,0 +1 @@
+export RCT_METRO_PORT=8081
diff --git a/node_modules/react-native/sdks/hermes/hermes-engine.podspec b/node_modules/react-native/sdks/hermes/hermes-engine.podspec
new file mode 100644
index 0000000..c3ef8ad
Expand Down
12 changes: 12 additions & 0 deletions patches/react-native-reanimated+3.0.0-rc.7.patch
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,15 @@ index 01bd931..9421ba9 100644
export class NativeReanimated {
constructor() {
let native = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;
diff --git a/node_modules/react-native-reanimated/plugin.js b/node_modules/react-native-reanimated/plugin.js
index 50cd9f4..abceb3c 100644
--- a/node_modules/react-native-reanimated/plugin.js
+++ b/node_modules/react-native-reanimated/plugin.js
@@ -21,6 +21,7 @@ const functionArgsToWorkletize = new Map([
['withSpring', [2]],
['withDecay', [1]],
['withRepeat', [3]],
+ ['useTemplateValue', [0]],
]);

const objectHooks = new Set([
4 changes: 3 additions & 1 deletion src/components/List/index.ios.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,13 @@ export default function List({data, ...props}) {

const ref = useRef();

const preparedData = data.map((it) => ({type: "test", key: `{Math.random()}`, ...it})); // only for testing

return (
<Wishlist.Component
style={styles.list}
initialIndex={data.length - 1} // aka inverted
initialData={data}
initialData={preparedData}
ref={ref}
>
<Wishlist.Template type="test">
Expand Down
8 changes: 4 additions & 4 deletions src/pages/home/report/ReportActionsList.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,10 +152,10 @@ class ReportActionsList extends React.Component {
return (
<Animated.View style={[StyleUtils.fade(this.state.fadeInAnimation), styles.flex1]}>
<InvertedFlatList
accessibilityLabel="List of chat messages"
ref={ReportScrollManager.flatListRef}
/*accessibilityLabel="List of chat messages"
ref={ReportScrollManager.flatListRef}*/
data={this.props.sortedReportActions}
renderItem={this.renderItem}
/*renderItem={this.renderItem}
contentContainerStyle={[
styles.chatContentScrollView,
shouldShowReportRecipientLocalTime && styles.pt0,
Expand Down Expand Up @@ -197,7 +197,7 @@ class ReportActionsList extends React.Component {
this.props.onLayout(event);
}}
onScroll={this.props.onScroll}
extraData={extraData}
extraData={extraData}*/
/>
</Animated.View>
);
Expand Down
Loading