Skip to content

Build your personal knowledge base with Trilium Notes

chore(mobile/ios): remove splash for the app to start

AndreeaCorlacibfd2f06a47ab
diff --git a/apps/mobile/android/app/capacitor.build.gradle b/apps/mobile/android/app/capacitor.build.gradle
index fced7ebd55..bbfb44fad1 100644
--- a/apps/mobile/android/app/capacitor.build.gradle
+++ b/apps/mobile/android/app/capacitor.build.gradle
@@ -9,7 +9,7 @@ android {
apply from: "../capacitor-cordova-android-plugins/cordova.variables.gradle"
dependencies {
- implementation project(':capacitor-splash-screen')
+
}
diff --git a/apps/mobile/android/capacitor.settings.gradle b/apps/mobile/android/capacitor.settings.gradle
index 68ddb413e5..a8bab3574d 100644
--- a/apps/mobile/android/capacitor.settings.gradle
+++ b/apps/mobile/android/capacitor.settings.gradle
@@ -1,6 +1,3 @@
// DO NOT EDIT THIS FILE! IT IS GENERATED EACH TIME "capacitor update" IS RUN
include ':capacitor-android'
project(':capacitor-android').projectDir = new File('../../../node_modules/@capacitor/android/capacitor')
-
-include ':capacitor-splash-screen'
-project(':capacitor-splash-screen').projectDir = new File('../../../node_modules/@capacitor/splash-screen/android')
diff --git a/apps/mobile/capacitor.config.json b/apps/mobile/capacitor.config.json
index f3f414cf1c..82e4835e38 100644
--- a/apps/mobile/capacitor.config.json
+++ b/apps/mobile/capacitor.config.json
@@ -6,11 +6,5 @@
"androidScheme": "https",
"hostname": "localhost"
},
- "plugins": {
- "SplashScreen": {
- "launchAutoHide": true,
- "launchShowDuration": 2000,
- "launchFadeOutDuration": 300
- }
- }
+ "plugins": {}
}
diff --git a/apps/mobile/ios/App/App.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/apps/mobile/ios/App/App.xcodeproj/project.xcworkspace/contents.xcworkspacedata
new file mode 100644
index 0000000000..919434a625
--- /dev/null
+++ b/apps/mobile/ios/App/App.xcodeproj/project.xcworkspace/contents.xcworkspacedata
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Workspace
+ version = "1.0">
+ <FileRef
+ location = "self:">
+ </FileRef>
+</Workspace>
diff --git a/apps/mobile/ios/App/App.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved b/apps/mobile/ios/App/App.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved
new file mode 100644
index 0000000000..4ed78452b8
--- /dev/null
+++ b/apps/mobile/ios/App/App.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved
@@ -0,0 +1,15 @@
+{
+ "originHash" : "dee26bfc0011d7d493dcb42ebe44868f7e423fc1e10d9432fe27df4af8c8df16",
+ "pins" : [
+ {
+ "identity" : "capacitor-swift-pm",
+ "kind" : "remoteSourceControl",
+ "location" : "https://github.com/ionic-team/capacitor-swift-pm.git",
+ "state" : {
+ "revision" : "f1a8fadf1437c23b825c818fb6509c9dbbae2f61",
+ "version" : "8.3.1"
+ }
+ }
+ ],
+ "version" : 3
+}
diff --git a/apps/mobile/ios/App/App/AppDelegate.swift b/apps/mobile/ios/App/App/AppDelegate.swift
index c3cd83b5c0..7d3fdda5be 100644
--- a/apps/mobile/ios/App/App/AppDelegate.swift
+++ b/apps/mobile/ios/App/App/AppDelegate.swift
@@ -43,7 +43,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
// Called when the app was launched with an activity, including Universal Links.
// Feel free to add additional processing here, but if you want the App API to support
// tracking app url opens, make sure to keep this call
- return ApplicationDelegateProxy.shared.application(application, continue: userActivity, restorationHandler: restorationHandler)
+ return false
}
}
diff --git a/apps/mobile/ios/App/CapApp-SPM/Package.swift b/apps/mobile/ios/App/CapApp-SPM/Package.swift
index 5cde8b6645..8c90a72b1f 100644
--- a/apps/mobile/ios/App/CapApp-SPM/Package.swift
+++ b/apps/mobile/ios/App/CapApp-SPM/Package.swift
@@ -11,7 +11,7 @@ let package = Package(
targets: ["CapApp-SPM"])
],
dependencies: [
- .package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", from: "8.0.0")
+ .package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", exact: "8.3.1")
],
targets: [
.target(
diff --git a/apps/mobile/package.json b/apps/mobile/package.json
index 78a7938f02..29ad988494 100644
--- a/apps/mobile/package.json
+++ b/apps/mobile/package.json
@@ -14,8 +14,7 @@
"dependencies": {
"@capacitor/android": "8.3.1",
"@capacitor/core": "8.3.1",
- "@capacitor/ios": "8.3.1",
- "@capacitor/splash-screen": "8.0.1"
+ "@capacitor/ios": "8.3.1"
},
"devDependencies": {
"@capacitor/cli": "8.3.1"