mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-05-03 06:36:58 +02:00
Temporary develop commit for testing web links on jenkins builds
This commit is contained in:
@@ -65,17 +65,23 @@
|
||||
{
|
||||
BOOL isUniversalLink;
|
||||
|
||||
NSLog(@"#### isUniversalLink. url.host: %@", url.host);
|
||||
|
||||
if ([url.host isEqualToString:@"vector.im"] || [url.host isEqualToString:@"www.vector.im"])
|
||||
{
|
||||
// iOS Patch: fix vector.im urls before using it
|
||||
url = [Tools fixURLWithSeveralHashKeys:url];
|
||||
|
||||
NSLog(@"#### isUniversalLink. Fixed url: %@", url);
|
||||
|
||||
if (NSNotFound != [@[@"/app", @"/staging", @"/beta", @"/develop"] indexOfObject:url.path])
|
||||
{
|
||||
isUniversalLink = YES;
|
||||
}
|
||||
}
|
||||
|
||||
NSLog(@"#### isUniversalLink. Result: %@", @(isUniversalLink));
|
||||
|
||||
return isUniversalLink;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user