Skip to content

Commit feb4284

Browse files
NMC - Release version 10.3.0(9) provisioning profile changes
1 parent 862a48a commit feb4284

10 files changed

Lines changed: 63 additions & 35 deletions

File tree

Brand/File_Provider_Extension.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<key>CFBundleShortVersionString</key>
2020
<string>$(MARKETING_VERSION)</string>
2121
<key>CFBundleVersion</key>
22-
<string>$(CURRENT_PROJECT_VERSION)</string>
22+
<string>$(CURRENT_PROJECT_VERSION)</string>
2323
<key>NSAppTransportSecurity</key>
2424
<dict>
2525
<key>NSAllowsArbitraryLoads</key>

Brand/NCBrand.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,12 @@ final class NCBrandOptions: @unchecked Sendable {
5050
// var capabilitiesGroupApps: String = "group.com.nextcloud.apps"
5151
//#if DEBUG
5252
// QA :
53-
@objc public var capabilitiesGroup: String = "group.com.t-systems.pu-ds.magentacloud.qa"
54-
@objc public var capabilitiesGroupApps: String = "group.com.t-systems.pu-ds.magentacloud.qa"
53+
// @objc public var capabilitiesGroup: String = "group.com.t-systems.pu-ds.magentacloud.qa"
54+
// @objc public var capabilitiesGroupApps: String = "group.com.t-systems.pu-ds.magentacloud.qa"
5555
//#else
5656
// // PROD :
57-
// @objc public var capabilitiesGroup: String = "group.de.telekom.Mediencenter"
58-
// @objc public var capabilitiesGroupApps: String = "group.de.telekom.Mediencenter"
57+
@objc public var capabilitiesGroup: String = "group.de.telekom.Mediencenter"
58+
@objc public var capabilitiesGroupApps: String = "group.de.telekom.Mediencenter"
5959
//#endif
6060

6161
// BRAND ONLY

Brand/Notification_Service_Extension.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<key>CFBundleShortVersionString</key>
2020
<string>$(MARKETING_VERSION)</string>
2121
<key>CFBundleVersion</key>
22-
<string>$(CURRENT_PROJECT_VERSION)</string>
22+
<string>$(CURRENT_PROJECT_VERSION)</string>
2323
<key>NSExtension</key>
2424
<dict>
2525
<key>NSExtensionPointIdentifier</key>

Brand/Share.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<key>CFBundleShortVersionString</key>
2020
<string>$(MARKETING_VERSION)</string>
2121
<key>CFBundleVersion</key>
22-
<string>$(CURRENT_PROJECT_VERSION)</string>
22+
<string>$(CURRENT_PROJECT_VERSION)</string>
2323
<key>NSAppTransportSecurity</key>
2424
<dict>
2525
<key>NSAllowsArbitraryLoads</key>

File Provider Extension/File Provider ExtensionRelease.entitlements

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<dict>
55
<key>com.apple.security.application-groups</key>
66
<array>
7-
<string>group.com.t-systems.pu-ds.magentacloud.qa</string>
7+
<string>group.de.telekom.Mediencenter</string>
88
</array>
99
<key>keychain-access-groups</key>
1010
<array>

Nextcloud.xcodeproj/project.pbxproj

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -5360,7 +5360,7 @@
53605360
CODE_SIGN_IDENTITY = "Apple Development";
53615361
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution";
53625362
CODE_SIGN_STYLE = Manual;
5363-
CURRENT_PROJECT_VERSION = 7;
5363+
CURRENT_PROJECT_VERSION = 9;
53645364
DEVELOPMENT_TEAM = "";
53655365
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = 9FH6TNGWF2;
53665366
GCC_PREPROCESSOR_DEFINITIONS = (
@@ -5391,11 +5391,11 @@
53915391
buildSettings = {
53925392
ALWAYS_SEARCH_USER_PATHS = YES;
53935393
CODE_SIGN_ENTITLEMENTS = "Notification Service Extension/Notification Service ExtensionRelease.entitlements";
5394-
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution";
5394+
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
53955395
CODE_SIGN_STYLE = Manual;
5396-
CURRENT_PROJECT_VERSION = 7;
5396+
CURRENT_PROJECT_VERSION = 9;
53975397
DEVELOPMENT_TEAM = "";
5398-
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = 9FH6TNGWF2;
5398+
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = S5724FNY84;
53995399
GCC_PREPROCESSOR_DEFINITIONS = (
54005400
"$(inherited)",
54015401
EXTENSION,
@@ -5405,10 +5405,10 @@
54055405
IPHONEOS_DEPLOYMENT_TARGET = 17.0;
54065406
MARKETING_VERSION = 10.3.0;
54075407
OTHER_LDFLAGS = "";
5408-
PRODUCT_BUNDLE_IDENTIFIER = "com.t-systems.pu-ds.magentacloud.qa.Notification-Service-Extension";
5408+
PRODUCT_BUNDLE_IDENTIFIER = de.telekom.Mediencenter.notificationextension;
54095409
PRODUCT_NAME = "$(TARGET_NAME)";
54105410
PROVISIONING_PROFILE_SPECIFIER = "";
5411-
"PROVISIONING_PROFILE_SPECIFIER[sdk=iphoneos*]" = "MagentaCloud QA NotificationServiceExtension Dist";
5411+
"PROVISIONING_PROFILE_SPECIFIER[sdk=iphoneos*]" = "MagentaCLOUD Development NotificationExt 017";
54125412
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
54135413
SUPPORTS_MACCATALYST = NO;
54145414
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = YES;
@@ -5661,7 +5661,7 @@
56615661
CODE_SIGN_IDENTITY = "Apple Development";
56625662
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution";
56635663
CODE_SIGN_STYLE = Manual;
5664-
CURRENT_PROJECT_VERSION = 7;
5664+
CURRENT_PROJECT_VERSION = 9;
56655665
DEVELOPMENT_TEAM = "";
56665666
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = 9FH6TNGWF2;
56675667
GCC_PREPROCESSOR_DEFINITIONS = (
@@ -5692,11 +5692,11 @@
56925692
buildSettings = {
56935693
ALWAYS_SEARCH_USER_PATHS = YES;
56945694
CODE_SIGN_ENTITLEMENTS = Share/ShareRelease.entitlements;
5695-
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution";
5695+
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
56965696
CODE_SIGN_STYLE = Manual;
5697-
CURRENT_PROJECT_VERSION = 7;
5697+
CURRENT_PROJECT_VERSION = 9;
56985698
DEVELOPMENT_TEAM = "";
5699-
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = 9FH6TNGWF2;
5699+
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = S5724FNY84;
57005700
GCC_PREPROCESSOR_DEFINITIONS = (
57015701
"$(inherited)",
57025702
EXTENSION,
@@ -5706,10 +5706,10 @@
57065706
IPHONEOS_DEPLOYMENT_TARGET = 17.0;
57075707
MARKETING_VERSION = 10.3.0;
57085708
OTHER_LDFLAGS = "";
5709-
PRODUCT_BUNDLE_IDENTIFIER = "com.t-systems.pu-ds.magentacloud.qa.Share";
5709+
PRODUCT_BUNDLE_IDENTIFIER = de.telekom.Mediencenter.documentproviderextension;
57105710
PRODUCT_NAME = "$(TARGET_NAME)";
57115711
PROVISIONING_PROFILE_SPECIFIER = "";
5712-
"PROVISIONING_PROFILE_SPECIFIER[sdk=iphoneos*]" = "MagentaCloud QA Share Distribution";
5712+
"PROVISIONING_PROFILE_SPECIFIER[sdk=iphoneos*]" = "MagentaCLOUD Development DocProvExt 017";
57135713
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
57145714
SUPPORTS_MACCATALYST = NO;
57155715
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = YES;
@@ -5729,7 +5729,7 @@
57295729
CODE_SIGN_IDENTITY = "Apple Development";
57305730
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution";
57315731
CODE_SIGN_STYLE = Manual;
5732-
CURRENT_PROJECT_VERSION = 7;
5732+
CURRENT_PROJECT_VERSION = 9;
57335733
DEVELOPMENT_TEAM = "";
57345734
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = 9FH6TNGWF2;
57355735
GCC_PREPROCESSOR_DEFINITIONS = (
@@ -5763,11 +5763,11 @@
57635763
ALWAYS_SEARCH_USER_PATHS = YES;
57645764
CLANG_ENABLE_MODULES = YES;
57655765
CODE_SIGN_ENTITLEMENTS = "File Provider Extension/File Provider ExtensionRelease.entitlements";
5766-
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution";
5766+
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
57675767
CODE_SIGN_STYLE = Manual;
5768-
CURRENT_PROJECT_VERSION = 7;
5768+
CURRENT_PROJECT_VERSION = 9;
57695769
DEVELOPMENT_TEAM = "";
5770-
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = 9FH6TNGWF2;
5770+
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = S5724FNY84;
57715771
GCC_PREPROCESSOR_DEFINITIONS = (
57725772
"$(inherited)",
57735773
EXTENSION,
@@ -5777,10 +5777,10 @@
57775777
IPHONEOS_DEPLOYMENT_TARGET = 17.0;
57785778
MARKETING_VERSION = 10.3.0;
57795779
OTHER_LDFLAGS = "";
5780-
PRODUCT_BUNDLE_IDENTIFIER = "com.t-systems.pu-ds.magentacloud.qa.FileProviderExtension";
5780+
PRODUCT_BUNDLE_IDENTIFIER = de.telekom.Mediencenter.FileProviderExtension;
57815781
PRODUCT_NAME = "$(TARGET_NAME)";
57825782
PROVISIONING_PROFILE_SPECIFIER = "";
5783-
"PROVISIONING_PROFILE_SPECIFIER[sdk=iphoneos*]" = "MagentaCloud QA FileProviderExtension Dist";
5783+
"PROVISIONING_PROFILE_SPECIFIER[sdk=iphoneos*]" = "MagentaCLOUD Development FileProvExt 017";
57845784
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
57855785
SUPPORTS_MACCATALYST = NO;
57865786
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = YES;
@@ -5801,7 +5801,7 @@
58015801
CODE_SIGN_IDENTITY = "Apple Development";
58025802
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution";
58035803
CODE_SIGN_STYLE = Manual;
5804-
CURRENT_PROJECT_VERSION = 7;
5804+
CURRENT_PROJECT_VERSION = 9;
58055805
DEVELOPMENT_TEAM = "";
58065806
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = 9FH6TNGWF2;
58075807
GCC_SYMBOLS_PRIVATE_EXTERN = YES;
@@ -5829,20 +5829,20 @@
58295829
ALWAYS_SEARCH_USER_PATHS = YES;
58305830
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
58315831
CODE_SIGN_ENTITLEMENTS = NextcloudRelease.entitlements;
5832-
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution";
5832+
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
58335833
CODE_SIGN_STYLE = Manual;
5834-
CURRENT_PROJECT_VERSION = 7;
5834+
CURRENT_PROJECT_VERSION = 9;
58355835
DEVELOPMENT_TEAM = "";
5836-
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = 9FH6TNGWF2;
5836+
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = S5724FNY84;
58375837
GCC_SYMBOLS_PRIVATE_EXTERN = YES;
58385838
INFOPLIST_FILE = "$(SRCROOT)/Brand/iOSClient.plist";
58395839
IPHONEOS_DEPLOYMENT_TARGET = 17;
58405840
MARKETING_VERSION = 10.3.0;
58415841
OTHER_LDFLAGS = "";
5842-
PRODUCT_BUNDLE_IDENTIFIER = "com.t-systems.pu-ds.magentacloud.qa";
5842+
PRODUCT_BUNDLE_IDENTIFIER = de.telekom.Mediencenter;
58435843
PRODUCT_NAME = "$(TARGET_NAME)";
58445844
PROVISIONING_PROFILE_SPECIFIER = "";
5845-
"PROVISIONING_PROFILE_SPECIFIER[sdk=iphoneos*]" = "MagentaCloud QA Distribution";
5845+
"PROVISIONING_PROFILE_SPECIFIER[sdk=iphoneos*]" = "MagentaCLOUD Development App 017";
58465846
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
58475847
SUPPORTS_MACCATALYST = NO;
58485848
SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = YES;

NextcloudRelease.entitlements

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<true/>
99
<key>com.apple.security.application-groups</key>
1010
<array>
11-
<string>group.com.t-systems.pu-ds.magentacloud.qa</string>
11+
<string>group.de.telekom.Mediencenter</string>
1212
</array>
1313
<key>com.apple.security.device.audio-input</key>
1414
<true/>

Notification Service Extension/Notification Service ExtensionRelease.entitlements

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<true/>
77
<key>com.apple.security.application-groups</key>
88
<array>
9-
<string>group.com.t-systems.pu-ds.magentacloud.qa</string>
9+
<string>group.de.telekom.Mediencenter</string>
1010
</array>
1111
<key>com.apple.security.network.client</key>
1212
<true/>

Share/ShareRelease.entitlements

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<true/>
77
<key>com.apple.security.application-groups</key>
88
<array>
9-
<string>group.com.t-systems.pu-ds.magentacloud.qa</string>
9+
<string>group.de.telekom.Mediencenter</string>
1010
</array>
1111
<key>com.apple.security.network.client</key>
1212
<true/>

iOSClient/Analytics/MoEngage/MoEngageAnalytics.swift

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -418,6 +418,24 @@ class ReviewManager {
418418
// // Fallback: If no scene is active (rare), open the App Store directly
419419
// self.forceOpenAppStore()
420420
return
421+
let currentCount = UserDefaults.standard.integer(forKey: launchCountKey)
422+
423+
guard currentCount >= minimumLaunchCount else { return }
424+
425+
// 1. Try to find an active UIWindowScene
426+
if let scene = UIApplication.shared.connectedScenes
427+
.first(where: { $0.activationState == .foregroundActive }) as? UIWindowScene {
428+
429+
// 2. Trigger the system prompt
430+
SKStoreReviewController.requestReview(in: scene)
431+
432+
} else {
433+
// 3. Fallback: If no active scene is found, force open the App Store
434+
forceOpenAppStore()
435+
// let appStoreURLString = "itms-apps://://itunes.apple.com\(appID)?action=write-review"
436+
// let webURLString = "https://apps.apple.com\(appID)?action=write-review"
437+
// self.forceOpenAppStore(appStoreURL: appStoreURLString, webURL: webURLString)
438+
421439
}
422440

423441
// 2. Trigger the native system prompt overlay
@@ -438,4 +456,14 @@ class ReviewManager {
438456
UIApplication.shared.open(fallbackWebUrl, options: [:], completionHandler: nil)
439457
}
440458
}
459+
460+
private func forceOpenAppStore(appStoreURL: String, webURL: String) {
461+
if let url = URL(string: appStoreURL), UIApplication.shared.canOpenURL(url) {
462+
// Opens the App Store app directly to the review sheet
463+
UIApplication.shared.open(url, options: [:], completionHandler: nil)
464+
} else if let fallback = URL(string: webURL) {
465+
// Fallback to Safari if the app protocol isn't available
466+
UIApplication.shared.open(fallback, options: [:], completionHandler: nil)
467+
}
468+
}
441469
}

0 commit comments

Comments
 (0)