iPhone X support in Discourse mobile app

AI-generated summary

Users reported that the Discourse mobile app did not fully utilize the iPhone X’s screen, leaving black bars. codinghorror noted this wouldn’t be fixed until version 1.9, joking that calling it a “bug” was unfair since Apple released new hardware after the app’s last update. j.jaffeux clarified the issue stems from the app using a deprecated React Native navigation module; switching to the modern react-navigation library—which supports iPhone X out of the box—would resolve it. sam pointed out the upside: no unsightly home button bar, though Safari View Controller’s small size remains problematic. codinghorror emphasized that the iPhone X’s tall form factor and Face ID are here to stay, citing the quote, “the future is already here, it’s just not evenly distributed.” sam confirmed the fix was already implemented in the beta app and asked j.jaffeux to close the thread after release. Finally, ChrisBeach confirmed the updated app works well on iPhone X and thanked the team.

The official Discourse mobile app isn’t expanding to fill the gorgeous screen of iPhone X, sadly.

Hopefully something that can be easily fixed?

Probably won’t be fixed until we release 1.9, as we do app release after each software point release.

Kind of ballsy to call this a “bug”, don’t you think? :wink:

2 лайка

I know… it’s not a bug.. I’m looking at it wrong :relieved:

1 лайк

I would say the “bug” is that someone released new hardware long after our app release :smiley:

6 лайков

So FWIW, it’s not trivial as the app is relying on the old navigation module from react-native, which has since moved to GitHub - react-navigation/react-navigation: Routing and navigation for React Native and Web apps · GitHub

react-navigation has iPhoneX support out of the box, so the issue is more about moving from a deprecated component to the new officially supported.

12 лайков

On the upside, no ugly black handle to stare at cutting through the progress bar

The biggest issue is safari view controller being in tiny mode, I wonder how hard that is to fix

1 лайк

For now, but I guarantee FaceID will be a default on all devices as of iPhone 9 in late 2018 — bye bye home button. This xxxtra tall form factor is here to stay. So as they say

the future is already here, it’s just not evenly distributed

4 лайка

@j.jaffeux can you close once you get the app released

This is already implemented in the app I am running (beta) and works fine

6 лайков

Just got the upgraded mobile app and it’s working well on iPhone X. Thanks! :folded_hands:

5 лайков