Merge branch 'develop' into fix.switch-to-channel-with-thread-selected
This commit is contained in:
commit
3d1c594efc
|
@ -144,7 +144,7 @@ android {
|
||||||
minSdkVersion rootProject.ext.minSdkVersion
|
minSdkVersion rootProject.ext.minSdkVersion
|
||||||
targetSdkVersion rootProject.ext.targetSdkVersion
|
targetSdkVersion rootProject.ext.targetSdkVersion
|
||||||
versionCode VERSIONCODE as Integer
|
versionCode VERSIONCODE as Integer
|
||||||
versionName "4.17.0"
|
versionName "4.18.0"
|
||||||
vectorDrawables.useSupportLibrary = true
|
vectorDrawables.useSupportLibrary = true
|
||||||
if (!isFoss) {
|
if (!isFoss) {
|
||||||
manifestPlaceholders = [BugsnagAPIKey: BugsnagAPIKey as String]
|
manifestPlaceholders = [BugsnagAPIKey: BugsnagAPIKey as String]
|
||||||
|
|
|
@ -1694,7 +1694,7 @@
|
||||||
INFOPLIST_FILE = NotificationService/Info.plist;
|
INFOPLIST_FILE = NotificationService/Info.plist;
|
||||||
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
|
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
|
||||||
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks";
|
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks";
|
||||||
MARKETING_VERSION = 4.17.0;
|
MARKETING_VERSION = 4.18.0;
|
||||||
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
|
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
|
||||||
MTL_FAST_MATH = YES;
|
MTL_FAST_MATH = YES;
|
||||||
PRODUCT_BUNDLE_IDENTIFIER = chat.rocket.reactnative.NotificationService;
|
PRODUCT_BUNDLE_IDENTIFIER = chat.rocket.reactnative.NotificationService;
|
||||||
|
@ -1731,7 +1731,7 @@
|
||||||
INFOPLIST_FILE = NotificationService/Info.plist;
|
INFOPLIST_FILE = NotificationService/Info.plist;
|
||||||
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
|
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
|
||||||
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks";
|
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @executable_path/../../Frameworks";
|
||||||
MARKETING_VERSION = 4.17.0;
|
MARKETING_VERSION = 4.18.0;
|
||||||
MTL_FAST_MATH = YES;
|
MTL_FAST_MATH = YES;
|
||||||
PRODUCT_BUNDLE_IDENTIFIER = chat.rocket.reactnative.NotificationService;
|
PRODUCT_BUNDLE_IDENTIFIER = chat.rocket.reactnative.NotificationService;
|
||||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
<key>CFBundlePackageType</key>
|
<key>CFBundlePackageType</key>
|
||||||
<string>APPL</string>
|
<string>APPL</string>
|
||||||
<key>CFBundleShortVersionString</key>
|
<key>CFBundleShortVersionString</key>
|
||||||
<string>4.17.0</string>
|
<string>4.18.0</string>
|
||||||
<key>CFBundleSignature</key>
|
<key>CFBundleSignature</key>
|
||||||
<string>????</string>
|
<string>????</string>
|
||||||
<key>CFBundleURLTypes</key>
|
<key>CFBundleURLTypes</key>
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
<key>CFBundlePackageType</key>
|
<key>CFBundlePackageType</key>
|
||||||
<string>XPC!</string>
|
<string>XPC!</string>
|
||||||
<key>CFBundleShortVersionString</key>
|
<key>CFBundleShortVersionString</key>
|
||||||
<string>4.17.0</string>
|
<string>4.18.0</string>
|
||||||
<key>CFBundleVersion</key>
|
<key>CFBundleVersion</key>
|
||||||
<string>1</string>
|
<string>1</string>
|
||||||
<key>KeychainGroup</key>
|
<key>KeychainGroup</key>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "rocket-chat-reactnative",
|
"name": "rocket-chat-reactnative",
|
||||||
"version": "4.17.0",
|
"version": "4.18.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "react-native start",
|
"start": "react-native start",
|
||||||
|
|
|
@ -0,0 +1,55 @@
|
||||||
|
diff --git a/node_modules/react-native/Libraries/Components/ScrollView/ScrollView.js b/node_modules/react-native/Libraries/Components/ScrollView/ScrollView.js
|
||||||
|
index c344ac4..479c8c0 100644
|
||||||
|
--- a/node_modules/react-native/Libraries/Components/ScrollView/ScrollView.js
|
||||||
|
+++ b/node_modules/react-native/Libraries/Components/ScrollView/ScrollView.js
|
||||||
|
@@ -1244,9 +1244,17 @@ class ScrollView extends React.Component<Props, State> {
|
||||||
|
// Note: we should split props.style on the inner and outer props
|
||||||
|
// however, the ScrollView still needs the baseStyle to be scrollable
|
||||||
|
const {outer, inner} = splitLayoutProps(flattenStyle(props.style));
|
||||||
|
+
|
||||||
|
+ // Workaround for RefreshControl inverted: https://github.com/facebook/react-native/issues/30034
|
||||||
|
+ let inverted;
|
||||||
|
+ if (inner.scaleY) {
|
||||||
|
+ inverted = { scaleY: -1 };
|
||||||
|
+ delete inner.scaleY;
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
return React.cloneElement(
|
||||||
|
refreshControl,
|
||||||
|
- {style: [baseStyle, outer]},
|
||||||
|
+ {style: [baseStyle, outer, inverted]},
|
||||||
|
<ScrollViewClass
|
||||||
|
{...props}
|
||||||
|
style={[baseStyle, inner]}
|
||||||
|
diff --git a/node_modules/react-native/Libraries/Lists/VirtualizedList.js b/node_modules/react-native/Libraries/Lists/VirtualizedList.js
|
||||||
|
index 9ec105f..6bb6989 100644
|
||||||
|
--- a/node_modules/react-native/Libraries/Lists/VirtualizedList.js
|
||||||
|
+++ b/node_modules/react-native/Libraries/Lists/VirtualizedList.js
|
||||||
|
@@ -11,6 +11,7 @@
|
||||||
|
'use strict';
|
||||||
|
|
||||||
|
const Batchinator = require('../Interaction/Batchinator');
|
||||||
|
+const Platform = require('../Utilities/Platform');
|
||||||
|
const FillRateHelper = require('./FillRateHelper');
|
||||||
|
const PropTypes = require('prop-types');
|
||||||
|
const React = require('react');
|
||||||
|
@@ -2185,9 +2186,16 @@ function describeNestedLists(childList: {
|
||||||
|
}
|
||||||
|
|
||||||
|
const styles = StyleSheet.create({
|
||||||
|
- verticallyInverted: {
|
||||||
|
- transform: [{scaleY: -1}],
|
||||||
|
- },
|
||||||
|
+ // Workaround found on https://github.com/facebook/react-native/issues/30034#issuecomment-806396274
|
||||||
|
+ // Note: Check ScrollView for a workaround on RefreshControl
|
||||||
|
+ verticallyInverted:
|
||||||
|
+ Platform.OS === 'android'
|
||||||
|
+ ? {
|
||||||
|
+ scaleY: -1,
|
||||||
|
+ }
|
||||||
|
+ : {
|
||||||
|
+ transform: [{scaleY: -1}]
|
||||||
|
+ },
|
||||||
|
horizontallyInverted: {
|
||||||
|
transform: [{scaleX: -1}],
|
||||||
|
},
|
Loading…
Reference in New Issue