Skip to content

Commit

Permalink
Wipe log files following SDK bump
Browse files Browse the repository at this point in the history
  • Loading branch information
Velin92 authored and stefanceriu committed May 13, 2024
1 parent a62a9a9 commit 1556bb0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
4 changes: 2 additions & 2 deletions ElementX.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -6935,7 +6935,7 @@
IPHONEOS_DEPLOYMENT_TARGET = 16.4;
KEYCHAIN_ACCESS_GROUP_IDENTIFIER = "$(AppIdentifierPrefix)$(BASE_BUNDLE_IDENTIFIER)";
MACOSX_DEPLOYMENT_TARGET = 13.3;
MARKETING_VERSION = 1.6.6;
MARKETING_VERSION = 1.6.7;
MTL_ENABLE_DEBUG_INFO = NO;
MTL_FAST_MATH = YES;
PRODUCTION_APP_NAME = Element;
Expand Down Expand Up @@ -7012,7 +7012,7 @@
IPHONEOS_DEPLOYMENT_TARGET = 16.4;
KEYCHAIN_ACCESS_GROUP_IDENTIFIER = "$(AppIdentifierPrefix)$(BASE_BUNDLE_IDENTIFIER)";
MACOSX_DEPLOYMENT_TARGET = 13.3;
MARKETING_VERSION = 1.6.6;
MARKETING_VERSION = 1.6.7;
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
MTL_FAST_MATH = YES;
ONLY_ACTIVE_ARCH = YES;
Expand Down
5 changes: 5 additions & 0 deletions ElementX/Sources/Application/AppCoordinator.swift
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,11 @@ class AppCoordinator: AppCoordinatorProtocol, AuthenticationFlowCoordinatorDeleg
appSettings.hasRunNotificationPermissionsOnboarding = true
}
}

if oldVersion < Version(1, 6, 7) {
RustTracing.deleteLogFiles()
MXLog.info("Migrating to v1.6.7, log files have been wiped")
}
}

/// Clears the keychain, app support directory etc ready for a fresh use.
Expand Down
2 changes: 1 addition & 1 deletion project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ settings:
APP_DISPLAY_NAME: Element X
PRODUCTION_APP_NAME: Element
KEYCHAIN_ACCESS_GROUP_IDENTIFIER: $(AppIdentifierPrefix)$(BASE_BUNDLE_IDENTIFIER)
MARKETING_VERSION: 1.6.6
MARKETING_VERSION: 1.6.7
CURRENT_PROJECT_VERSION: 1
DEVELOPMENT_TEAM: 7J4U792NQT
SUPPORTS_MACCATALYST: NO
Expand Down

0 comments on commit 1556bb0

Please sign in to comment.