@capacitor/splash-screen 6.0.0-dev-1924-20231129T201538.0 → 6.0.0-dev-1924-20231201T193442.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Package.swift +28 -0
- package/ios/Tests/SplashScreenPluginTests/SplashScreenPluginTests.swift +14 -0
- package/package.json +5 -3
- package/ios/Plugin/Info.plist +0 -24
- /package/ios/{Plugin → Sources/SplashScreenPlugin}/SplashScreen.swift +0 -0
- /package/ios/{Plugin → Sources/SplashScreenPlugin}/SplashScreenConfig.swift +0 -0
- /package/ios/{Plugin → Sources/SplashScreenPlugin}/SplashScreenPlugin.swift +0 -0
- /package/ios/{Plugin → Sources/SplashScreenPlugin}/SplashScreenSettings.swift +0 -0
package/Package.swift
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
// swift-tools-version: 5.9
|
|
2
|
+
import PackageDescription
|
|
3
|
+
|
|
4
|
+
let package = Package(
|
|
5
|
+
name: "CapacitorSplashScreen",
|
|
6
|
+
platforms: [.iOS(.v13)],
|
|
7
|
+
products: [
|
|
8
|
+
.library(
|
|
9
|
+
name: "SplashScreenPlugin",
|
|
10
|
+
targets: ["SplashScreenPlugin"])
|
|
11
|
+
],
|
|
12
|
+
dependencies: [
|
|
13
|
+
.package(url: "https://github.com/ionic-team/capacitor6-spm-test.git", branch: "main")
|
|
14
|
+
],
|
|
15
|
+
targets: [
|
|
16
|
+
.target(
|
|
17
|
+
name: "SplashScreenPlugin",
|
|
18
|
+
dependencies: [
|
|
19
|
+
.product(name: "Capacitor", package: "capacitor6-spm-test"),
|
|
20
|
+
.product(name: "Cordova", package: "capacitor6-spm-test")
|
|
21
|
+
],
|
|
22
|
+
path: "ios/Sources/SplashScreenPlugin"),
|
|
23
|
+
.testTarget(
|
|
24
|
+
name: "SplashScreenPluginTests",
|
|
25
|
+
dependencies: ["SplashScreenPlugin"],
|
|
26
|
+
path: "ios/Tests/SplashScreenPluginTests")
|
|
27
|
+
]
|
|
28
|
+
)
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import XCTest
|
|
2
|
+
@testable import SplashScreenPlugin
|
|
3
|
+
|
|
4
|
+
class SplashScreenTests: XCTestCase {
|
|
5
|
+
override func setUp() {
|
|
6
|
+
super.setUp()
|
|
7
|
+
// Put setup code here. This method is called before the invocation of each test method in the class.
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
override func tearDown() {
|
|
11
|
+
// Put teardown code here. This method is called after the invocation of each test method in the class.
|
|
12
|
+
super.tearDown()
|
|
13
|
+
}
|
|
14
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@capacitor/splash-screen",
|
|
3
|
-
"version": "6.0.0-dev-1924-
|
|
3
|
+
"version": "6.0.0-dev-1924-20231201T193442.0",
|
|
4
4
|
"description": "The Splash Screen API provides methods for showing or hiding a Splash image.",
|
|
5
5
|
"main": "dist/plugin.cjs.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -10,7 +10,9 @@
|
|
|
10
10
|
"android/src/main/",
|
|
11
11
|
"android/build.gradle",
|
|
12
12
|
"dist/",
|
|
13
|
-
"ios/
|
|
13
|
+
"ios/Sources",
|
|
14
|
+
"ios/Tests",
|
|
15
|
+
"Package.swift",
|
|
14
16
|
"CapacitorSplashScreen.podspec"
|
|
15
17
|
],
|
|
16
18
|
"author": "Ionic <hi@ionicframework.com>",
|
|
@@ -29,7 +31,7 @@
|
|
|
29
31
|
],
|
|
30
32
|
"scripts": {
|
|
31
33
|
"verify": "npm run verify:ios && npm run verify:android && npm run verify:web",
|
|
32
|
-
"verify:ios": "
|
|
34
|
+
"verify:ios": "xcodebuild build -scheme CapacitorSplashScreen -sdk iphonesimulator17.0 -destination 'OS=17.0,name=iPhone 15'",
|
|
33
35
|
"verify:android": "cd android && ./gradlew clean build test && cd ..",
|
|
34
36
|
"verify:web": "npm run build",
|
|
35
37
|
"lint": "npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint",
|
package/ios/Plugin/Info.plist
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
3
|
-
<plist version="1.0">
|
|
4
|
-
<dict>
|
|
5
|
-
<key>CFBundleDevelopmentRegion</key>
|
|
6
|
-
<string>$(DEVELOPMENT_LANGUAGE)</string>
|
|
7
|
-
<key>CFBundleExecutable</key>
|
|
8
|
-
<string>$(EXECUTABLE_NAME)</string>
|
|
9
|
-
<key>CFBundleIdentifier</key>
|
|
10
|
-
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
|
|
11
|
-
<key>CFBundleInfoDictionaryVersion</key>
|
|
12
|
-
<string>6.0</string>
|
|
13
|
-
<key>CFBundleName</key>
|
|
14
|
-
<string>$(PRODUCT_NAME)</string>
|
|
15
|
-
<key>CFBundlePackageType</key>
|
|
16
|
-
<string>FMWK</string>
|
|
17
|
-
<key>CFBundleShortVersionString</key>
|
|
18
|
-
<string>1.0</string>
|
|
19
|
-
<key>CFBundleVersion</key>
|
|
20
|
-
<string>$(CURRENT_PROJECT_VERSION)</string>
|
|
21
|
-
<key>NSPrincipalClass</key>
|
|
22
|
-
<string></string>
|
|
23
|
-
</dict>
|
|
24
|
-
</plist>
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|