@capacitor/splash-screen 6.0.1-dev-2124-20240606T110403.0 → 6.0.1-dev-2124-20240610T140601.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.
|
@@ -3,12 +3,12 @@ import Capacitor
|
|
|
3
3
|
|
|
4
4
|
@objc(SplashScreenPlugin)
|
|
5
5
|
public class SplashScreenPlugin: CAPPlugin, CAPBridgedPlugin {
|
|
6
|
-
public let identifier = "SplashScreenPlugin"
|
|
7
|
-
public let jsName = "SplashScreen"
|
|
6
|
+
public let identifier = "SplashScreenPlugin"
|
|
7
|
+
public let jsName = "SplashScreen"
|
|
8
8
|
public let pluginMethods: [CAPPluginMethod] = [
|
|
9
9
|
CAPPluginMethod(name: "show", returnType: CAPPluginReturnPromise),
|
|
10
|
-
CAPPluginMethod(name: "hide", returnType: CAPPluginReturnPromise)
|
|
11
|
-
]
|
|
10
|
+
CAPPluginMethod(name: "hide", returnType: CAPPluginReturnPromise)
|
|
11
|
+
]
|
|
12
12
|
private var splashScreen: SplashScreen?
|
|
13
13
|
|
|
14
14
|
override public func load() {
|
|
@@ -2,13 +2,4 @@ import XCTest
|
|
|
2
2
|
@testable import SplashScreenPlugin
|
|
3
3
|
|
|
4
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
5
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@capacitor/splash-screen",
|
|
3
|
-
"version": "6.0.1-dev-2124-
|
|
3
|
+
"version": "6.0.1-dev-2124-20240610T140601.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",
|