Skip to content

Commit 6ed7088

Browse files
committed
Merge branch 'release/1.11.23/master'
2 parents c12e1f3 + e600cc9 commit 6ed7088

33 files changed

+508
-62
lines changed

CHANGES.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
## Changes in 1.11.23 (2025-01-10)
2+
3+
🙌 Improvements
4+
5+
- Show sunset banners, guiding users to install Element X when registering a new account against a server with MAS. ([#7889](https://github.com/element-hq/element-ios/issues/7889))
6+
7+
⚠️ API Changes
8+
9+
- Adds a BuildSettings.replacementApp setting, used to control the sunset banners. ([#7889](https://github.com/element-hq/element-ios/issues/7889))
10+
111
## Changes in 1.11.22 (2024-12-10)
212

313
🐛 Bugfixes

Config/AppVersion.xcconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@
1515
//
1616

1717
// Version
18-
MARKETING_VERSION = 1.11.22
19-
CURRENT_PROJECT_VERSION = 1.11.22
18+
MARKETING_VERSION = 1.11.23
19+
CURRENT_PROJECT_VERSION = 1.11.23

Config/BuildSettings.swift

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -441,4 +441,25 @@ final class BuildSettings: NSObject {
441441

442442
// MARK: - Alerts
443443
static let showUnverifiedSessionsAlert = true
444+
445+
// MARK: - Sunset
446+
447+
/// Meta data about the app that will replaces this one with Matrix 2.0 support.
448+
struct ReplacementApp {
449+
/// The app's display name, used in marketing banners.
450+
let name = "Element X"
451+
/// A link that will be opened to tell the user more about the new app, Matrix 2.0 and the migration.
452+
let learnMoreURL = URL(string: "https://element.io/app-for-productivity")!
453+
/// The app's iTunes/product ID, used to show the App Store page in-app.
454+
let productID = "1631335820"
455+
/// A fallback URL that will be opened if there are any issues showing the App Store page in-app.
456+
let appStoreURL = URL(string: "https://apps.apple.com/app/element-x-secure-chat-call/id1631335820")!
457+
}
458+
459+
/// Information about the Matrix 2.0 compatible app that will replace this one in the future.
460+
///
461+
/// The presence of this setting acts as a feature flag to show marketing banners for the app
462+
/// when it is detected that the homeserver is running Matrix 2.0. Set this to `nil` until you
463+
/// are ready to migrate your users.
464+
static let replacementApp: ReplacementApp? = .init()
444465
}

Podfile.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,16 +39,16 @@ PODS:
3939
- LoggerAPI (1.9.200):
4040
- Logging (~> 1.1)
4141
- Logging (1.4.0)
42-
- MatrixSDK (0.27.16):
43-
- MatrixSDK/Core (= 0.27.16)
44-
- MatrixSDK/Core (0.27.16):
42+
- MatrixSDK (0.27.17):
43+
- MatrixSDK/Core (= 0.27.17)
44+
- MatrixSDK/Core (0.27.17):
4545
- AFNetworking (~> 4.0.0)
4646
- GZIP (~> 1.3.0)
4747
- libbase58 (~> 0.1.4)
4848
- MatrixSDKCrypto (= 0.4.3)
4949
- Realm (= 10.27.0)
5050
- SwiftyBeaver (= 1.9.5)
51-
- MatrixSDK/JingleCallStack (0.27.16):
51+
- MatrixSDK/JingleCallStack (0.27.17):
5252
- JitsiMeetSDKLite (= 8.1.2-lite)
5353
- MatrixSDK/Core
5454
- MatrixSDKCrypto (0.4.3)
@@ -179,7 +179,7 @@ SPEC CHECKSUMS:
179179
libPhoneNumber-iOS: 0a32a9525cf8744fe02c5206eb30d571e38f7d75
180180
LoggerAPI: ad9c4a6f1e32f518fdb43a1347ac14d765ab5e3d
181181
Logging: beeb016c9c80cf77042d62e83495816847ef108b
182-
MatrixSDK: ce8f2cec670c2212144a129cc617d4144c89b97f
182+
MatrixSDK: e3096b0b47f8a0bde6ae3f614f9c49e7e92b03ea
183183
MatrixSDKCrypto: 27bee960e0e8b3a3039f3f3e93dd2ec88299c77e
184184
ReadMoreTextView: 19147adf93abce6d7271e14031a00303fe28720d
185185
Realm: 9ca328bd7e700cc19703799785e37f77d1a130f2
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"info" : {
3+
"author" : "xcode",
4+
"version" : 1
5+
}
6+
}
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"images" : [
3+
{
4+
"filename" : "ElementXBannerIcon.png",
5+
"idiom" : "universal",
6+
"scale" : "1x"
7+
},
8+
{
9+
"filename" : "[email protected]",
10+
"idiom" : "universal",
11+
"scale" : "2x"
12+
},
13+
{
14+
"filename" : "[email protected]",
15+
"idiom" : "universal",
16+
"scale" : "3x"
17+
}
18+
],
19+
"info" : {
20+
"author" : "xcode",
21+
"version" : 1
22+
}
23+
}
4.17 KB
Loading
12.7 KB
Loading
25.2 KB
Loading

Riot/Assets/en.lproj/Vector.strings

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,14 @@
9898
"accessibility_button_label" = "button";
9999
"accessibility_selected" = "selected";
100100

101+
// MARK: Sunset
102+
"sunset_delegated_oidc_registration_not_supported_title" = "You can no longer create an account with %1$@ using this app";
103+
"sunset_delegated_oidc_registration_not_supported_message" = "Download %1$@ to use %2$@ for your account or choose a different homeserver.";
104+
"sunset_delegated_oidc_registration_not_supported_generic_error" = "You can no longer create an account with the entered homeserver using this app";
105+
"sunset_download_banner_title" = "Download %1$@";
106+
"sunset_download_banner_message" = "Faster, more secure, and packed with powerful collaboration tools.";
107+
"sunset_download_banner_learn_more" = "Learn more";
108+
101109
// MARK: Onboarding
102110
"onboarding_splash_register_button_title" = "Create account";
103111
"onboarding_splash_login_button_title" = "I already have an account";

0 commit comments

Comments
 (0)