mattermost / mattermost-mobile

Next generation iOS and Android apps for Mattermost in React Native
https://about.mattermost.com/
Apache License 2.0
2.11k stars 1.28k forks source link

iOS app crashes at start on iOS 12 (iPhone 6) #7928

Open hb9tst opened 1 month ago

hb9tst commented 1 month ago

Summary

iOS app crashes at start on iOS 12 (iPhone 6)

Environment Information

Steps to reproduce

Update the application to 2.15.0 on an iPhone 6 running iOS 12.

Expected behavior

The app should open as expected.

Observed behavior (that appears unintentional)

Apps open then closes without any possible interaction. No error messages whatsoever.

Possible fixes

Mattermost is still declared compatible with iPhone 5s and up, iOS >= 12. The issue might come from the SDK update? If there is a compatibility change and no more support for iOS 12 is planned, and given that downgrade is not possible on iOS, the previous compatible version should be republished with a new version number to allow users to "upgrade" to it and keep working, before proceeding with republishing the new version but after correcting the iOS version compatibility.

amyblais commented 1 month ago

@hb9tst Are you using the official app or the Beta app?

hb9tst commented 1 month ago

It's the official one. Not even sure how to install the beta...

hb9tst commented 3 weeks ago

Just updated to 2.16.0. Still crashing at startup on iPhone 6.

amyblais commented 3 weeks ago

We haven't determined the root cause for this issue so far.

Related to this, we are updating our minimum iOS version to v13.4+ in the next release (v2.17.0 June) as part of this PR https://github.com/mattermost/mattermost-mobile/pull/7863, but it shouldn't affect v2.15 or v2.6 releases.

hb9tst commented 3 weeks ago

Ok thanks for your comment -- I hope that a working version on iOS12 will still be published as it's not possible to downgrade the app to a working version...

amyblais commented 3 weeks ago

iOS 12 went out of support a year ago https://endoflife.date/ios. Would you be able to share more details on the preference to use iOS 12?

EduardoSellanes commented 2 weeks ago

It may be related to this

https://medium.com/@liwp.stephen/solution-app-crash-on-ios-12-build-from-xcode-15-3e6123e31150