-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Push react native to 0.73.6 #7863
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- We should document that jdk 17 is now needed in the dev docs
- iOS is not compiling on Xcode 15.3 due to an issue with
@react-native-community/datetimepicker
see When running in Xcode 15.3 getting Incompatible function pointer types passing 'YGSize (...)' exception react-native-datetimepicker/datetimepicker#866
android/app/src/debug/java/com/mattermost/flipper/ReactNativeFlipper.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes for the network-client should be done directly in the library and the library bumped to a new version, then upgrade the version in package.json
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, sorry about that. This was an interim change to have the PR working and reviewable. Will update the network library.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why the previous patches found here https://github.com/mattermost/mattermost-mobile/blob/main/patches/react-native-video%2B5.2.1.patch are no longer needed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't follow what you mean here. In theory I just added a few patches on top of what existed. Every existing patch should still be in the file.
@@ -14,18 +14,6 @@ import {useGallery} from '@context/gallery'; | |||
import type {Context, GestureHandlers, OnGestureEvent} from '@typings/screens/gallery'; | |||
import type {GestureHandlerGestureEvent} from 'react-native-gesture-handler'; | |||
|
|||
function useRemoteContext<T extends object>(initialValue: T) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
gallery screen is not dismissing correctly when swiping either up or down on Android
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Weird, I cannot reproduce. It seems to dismiss just fine for me.
@larkox conflicts |
@@ -134,6 +130,7 @@ public class NavigationActivity extends AppCompatActivity implements DefaultHard | ||
|
||
@Override | ||
public void onRequestPermissionsResult(int requestCode, @NonNull String[] permissions, @NonNull int[] grantResults) { | ||
+ super.onRequestPermissionsResult(requestCode, permissions, grantResults); | ||
NavigationApplication.instance.onRequestPermissionsResult(requestCode, permissions, grantResults); | ||
if (mPermissionListener != null && mPermissionListener.onRequestPermissionsResult(requestCode, permissions, grantResults)) { | ||
mPermissionListener = null; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change has been removed because it is already upstream.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall looks really good, great job
question: there are new library updates, should we update them with this PR or do you prefer to push to the next dep updates
@enahum Let's update them in the next round of updates. This PR has already taken too long 😛 |
@yasserfaraazkhan This updates many libraries, so a full smoke tests and maybe running the e2e tests we have would be awesome. No functionality should have changed, but since it is a dependency update "anything" could break. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Executed mobile test cycle.
* Bump react native to 0.73.6 * iOS changes * Fix gallery * Fix test * Add missing patch * Unify react native navigation patch * Update the rest of libraries * iOS updates * Update mattermost libraries * Fix tests and final bumps * iOS podfile update * Update android locks * Revert webrtc update because it was messing with the tests * Update podfile for webrtc
* Bump react native to 0.73.6 * iOS changes * Fix gallery * Fix test * Add missing patch * Unify react native navigation patch * Update the rest of libraries * iOS updates * Update mattermost libraries * Fix tests and final bumps * iOS podfile update * Update android locks * Revert webrtc update because it was messing with the tests * Update podfile for webrtc
Summary
Push react native dependency and other dependencies that were needed for this push.
Ticket Link
https://mattermost.atlassian.net/browse/MM-57195
May fix https://mattermost.atlassian.net/browse/MM-57114
Release Note
Not sure if we want to rephrase this. In this link on Supported Devices there is a list of the devices that lose support in this version.