mirror of
https://github.com/vector-im/element-ios.git
synced 2024-09-29 07:42:40 +00:00
Merge pull request #3503 from vector-im/element_3483
Update Provisioning Link's Domain
This commit is contained in:
commit
4c3b0a3db8
4 changed files with 5 additions and 2 deletions
|
@ -44,6 +44,7 @@ Improvements:
|
||||||
Bug fix:
|
Bug fix:
|
||||||
* Rebranding: Remove Riot from app name (#3497).
|
* Rebranding: Remove Riot from app name (#3497).
|
||||||
* AuthenticationViewController: Fix custom homeserver textfield scroll issue (#3467).
|
* AuthenticationViewController: Fix custom homeserver textfield scroll issue (#3467).
|
||||||
|
* Rebranding: Update provisioning universal link domain (#3483).
|
||||||
|
|
||||||
Changes in 1.0.2 (2020-07-28)
|
Changes in 1.0.2 (2020-07-28)
|
||||||
===============================================
|
===============================================
|
||||||
|
|
|
@ -79,6 +79,7 @@ final class BuildSettings: NSObject {
|
||||||
"app.element.io": [],
|
"app.element.io": [],
|
||||||
"staging.element.io": [],
|
"staging.element.io": [],
|
||||||
"develop.element.io": [],
|
"develop.element.io": [],
|
||||||
|
"mobile.element.io": [""],
|
||||||
// Historical ones
|
// Historical ones
|
||||||
"riot.im": ["/app", "/staging", "/develop"],
|
"riot.im": ["/app", "/staging", "/develop"],
|
||||||
"www.riot.im": ["/app", "/staging", "/develop"],
|
"www.riot.im": ["/app", "/staging", "/develop"],
|
||||||
|
|
|
@ -1229,7 +1229,7 @@ NSString *const AppDelegateUniversalLinkDidChangeNotification = @"AppDelegateUni
|
||||||
[[NSNotificationCenter defaultCenter] postNotificationName:AppDelegateUniversalLinkDidChangeNotification object:nil];
|
[[NSNotificationCenter defaultCenter] postNotificationName:AppDelegateUniversalLinkDidChangeNotification object:nil];
|
||||||
}
|
}
|
||||||
|
|
||||||
if ([webURL.path hasPrefix:@"/config"])
|
if ([webURL.path isEqualToString:@"/"])
|
||||||
{
|
{
|
||||||
return [self handleServerProvionningLink:webURL];
|
return [self handleServerProvionningLink:webURL];
|
||||||
}
|
}
|
||||||
|
@ -1772,7 +1772,7 @@ NSString *const AppDelegateUniversalLinkDidChangeNotification = @"AppDelegateUni
|
||||||
|
|
||||||
- (void)parseServerProvionningLink:(NSURL*)link homeserver:(NSString**)homeserver identityServer:(NSString**)identityServer
|
- (void)parseServerProvionningLink:(NSURL*)link homeserver:(NSString**)homeserver identityServer:(NSString**)identityServer
|
||||||
{
|
{
|
||||||
if ([link.path isEqualToString:@"/config/config"])
|
if ([link.path isEqualToString:@"/"])
|
||||||
{
|
{
|
||||||
NSURLComponents *linkURLComponents = [NSURLComponents componentsWithURL:link resolvingAgainstBaseURL:NO];
|
NSURLComponents *linkURLComponents = [NSURLComponents componentsWithURL:link resolvingAgainstBaseURL:NO];
|
||||||
for (NSURLQueryItem *item in linkURLComponents.queryItems)
|
for (NSURLQueryItem *item in linkURLComponents.queryItems)
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
<string>applinks:app.element.io</string>
|
<string>applinks:app.element.io</string>
|
||||||
<string>applinks:staging.element.io</string>
|
<string>applinks:staging.element.io</string>
|
||||||
<string>applinks:develop.element.io</string>
|
<string>applinks:develop.element.io</string>
|
||||||
|
<string>applinks:mobile.element.io</string>
|
||||||
<string>webcredentials:*.element.io</string>
|
<string>webcredentials:*.element.io</string>
|
||||||
</array>
|
</array>
|
||||||
<key>com.apple.developer.icloud-container-identifiers</key>
|
<key>com.apple.developer.icloud-container-identifiers</key>
|
||||||
|
|
Loading…
Reference in a new issue