-
Notifications
You must be signed in to change notification settings - Fork 75
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
Expo Go App now requires Expo SDK 52 #1017
Comments
Thanks for reporting @4hel. The team will look into updating Expo next week. |
Hey @flochtililoch - Do you have an estimate when you'll be done? Happy to help, if I can be useful |
Hi @UmerHA, thanks for reaching out and for offering to help - I have this work on pause right now, and likely won't resume it for another 10 days or so. I had originally merged #1021, but ended up reverting in #1053 as I discovered some blocking issues with scroll views, I'll share my internal post about what the issue is here:
And the video captures I refer to above:
Here's the fix I manually applied to the diff --git a/node_modules/react-native-keyboard-aware-scrollview/src/KeyboardAwareBase.js b/node_modules/react-native-keyboard-aware-scrollview/src/KeyboardAwareBase.js
index fb1c58a..3a98cfb 100644
--- a/node_modules/react-native-keyboard-aware-scrollview/src/KeyboardAwareBase.js
+++ b/node_modules/react-native-keyboard-aware-scrollview/src/KeyboardAwareBase.js
@@ -56,10 +56,10 @@ export default class KeyboardAwareBase extends Component {
}
_updateKeyboardAwareViewContentSize() {
- if(ScrollViewManager && ScrollViewManager.getContentSize) {
- ScrollViewManager.getContentSize(ReactNative.findNodeHandle(this._keyboardAwareView), (res)=> {
+ if(this._keyboardAwareView) {
+ this._keyboardAwareView.measure((x, y, width, height) => {
if(this._keyboardAwareView) {
- this._keyboardAwareView.contentSize = res;
+ this._keyboardAwareView.contentSize = { width, height };
if(this.state.scrollBottomOnNextSizeChange) {
this.scrollToBottom();
this.state.scrollBottomOnNextSizeChange = false; Two issues with the patch: since this needs to be applied to a 3rd party dependency, we cannot just include a patch with patch-package tool, as consumers of the Hyperview library would need to manually apply that patch too. Instead we would need to fork that module or integrate its code directly in the Hyperview repo - not ideal, especially since it's not working great even after the patch. Some things to explore, and where you can help:
Let me know if you need any help getting started with any of these. Thanks! |
The issue with the view not animating smoothly with the keyboard is not related to the library That's good news though, I'll proceed with the patch for Trail of issues I mentioned above:
|
Resolved by #1072 |
When scanning the QR-Code, The Expo Go App complains that the project is using Expo SDK 49 and the project needs to be upgraded to Expo SDK 52
So a Hyperview App can currently not be tested on a real phone unfortunately.
The text was updated successfully, but these errors were encountered: