Skip to content

Commit 8a71bad

Browse files
committed
Update SalesforceSDKCoreTestApp to use scene lifecycle
1 parent 26a5133 commit 8a71bad

7 files changed

Lines changed: 61 additions & 181 deletions

File tree

libs/SalesforceSDKCore/SalesforceSDKCore.xcodeproj/project.pbxproj

Lines changed: 9 additions & 49 deletions
Large diffs are not rendered by default.

libs/SalesforceSDKCore/SalesforceSDKCoreTestApp/Base.lproj/Main_iPad.storyboard

Lines changed: 0 additions & 26 deletions
This file was deleted.

libs/SalesforceSDKCore/SalesforceSDKCoreTestApp/Base.lproj/Main_iPhone.storyboard

Lines changed: 0 additions & 26 deletions
This file was deleted.

libs/SalesforceSDKCore/SalesforceSDKCoreTestApp/SalesforceSDKCoreTestApp-Info.plist

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
33
<plist version="1.0">
44
<dict>
5-
<key>NSFaceIDUsageDescription</key>
6-
<string>&quot;Secure Unlock&quot;</string>
75
<key>CFBundleDevelopmentRegion</key>
86
<string>en</string>
97
<key>CFBundleDisplayName</key>
@@ -26,10 +24,20 @@
2624
<string>1.0</string>
2725
<key>LSRequiresIPhoneOS</key>
2826
<true/>
29-
<key>UIMainStoryboardFile</key>
30-
<string>Main_iPhone</string>
31-
<key>UIMainStoryboardFile~ipad</key>
32-
<string>Main_iPad</string>
27+
<key>NSFaceIDUsageDescription</key>
28+
<string>"Secure Unlock"</string>
29+
<key>UIApplicationSceneManifest</key>
30+
<dict>
31+
<key>UIApplicationSupportsMultipleScenes</key>
32+
<false/>
33+
<key>UISceneConfigurations</key>
34+
<dict/>
35+
</dict>
36+
<key>UILaunchScreen</key>
37+
<dict>
38+
<key>UILaunchScreen</key>
39+
<string></string>
40+
</dict>
3341
<key>UIRequiredDeviceCapabilities</key>
3442
<array>
3543
<string>armv7</string>
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
//
2+
// SalesforceSDKCoreTestApp.swift
3+
// SalesforceSDKCore
4+
//
5+
// Created by Brianna Birman on 6/18/26.
6+
// Copyright (c) 2026-present, salesforce.com, inc. All rights reserved.
7+
//
8+
// Redistribution and use of this software in source and binary forms, with or without modification,
9+
// are permitted provided that the following conditions are met:
10+
// * Redistributions of source code must retain the above copyright notice, this list of conditions
11+
// and the following disclaimer.
12+
// * Redistributions in binary form must reproduce the above copyright notice, this list of
13+
// conditions and the following disclaimer in the documentation and/or other materials provided
14+
// with the distribution.
15+
// * Neither the name of salesforce.com, inc. nor the names of its contributors may be used to
16+
// endorse or promote products derived from this software without specific prior written
17+
// permission of salesforce.com, inc.
18+
//
19+
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
20+
// IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
21+
// FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
22+
// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23+
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
24+
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
25+
// WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY
26+
// WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27+
28+
import SwiftUI
29+
30+
@main
31+
struct SalesforceSDKCoreTestApp: App {
32+
var body: some Scene {
33+
WindowGroup {
34+
Text("SalesforceSDKCore Test App")
35+
.padding()
36+
}
37+
}
38+
}

libs/SalesforceSDKCore/SalesforceSDKCoreTestApp/ViewController.h

Lines changed: 0 additions & 29 deletions
This file was deleted.

libs/SalesforceSDKCore/SalesforceSDKCoreTestApp/ViewController.m

Lines changed: 0 additions & 45 deletions
This file was deleted.

0 commit comments

Comments
 (0)