From 9e9ec9030f572d669133e6d05653aff60ec9e5f7 Mon Sep 17 00:00:00 2001 From: Sara Tavares <29093946+stavares843@users.noreply.github.com> Date: Mon, 28 Oct 2024 19:38:50 +0000 Subject: [PATCH] chore(mobile): add new splash screen from capacitor (#783) --- android/app/capacitor.build.gradle | 2 +- android/capacitor.settings.gradle | 3 +++ ios/App/Podfile | 2 +- ios/App/Podfile.lock | 8 +++++++- 4 files changed, 12 insertions(+), 3 deletions(-) diff --git a/android/app/capacitor.build.gradle b/android/app/capacitor.build.gradle index fdb4970c4..259821da2 100644 --- a/android/app/capacitor.build.gradle +++ b/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/android/capacitor.settings.gradle b/android/capacitor.settings.gradle index 9a5fa872e..13b19d64a 100644 --- a/android/capacitor.settings.gradle +++ b/android/capacitor.settings.gradle @@ -1,3 +1,6 @@ // 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/ios/App/Podfile b/ios/App/Podfile index c66ecd402..5d6422043 100644 --- a/ios/App/Podfile +++ b/ios/App/Podfile @@ -11,7 +11,7 @@ install! 'cocoapods', :disable_input_output_paths => true def capacitor_pods pod 'Capacitor', :path => '../../node_modules/@capacitor/ios' pod 'CapacitorCordova', :path => '../../node_modules/@capacitor/ios' - + pod 'CapacitorSplashScreen', :path => '../../node_modules/@capacitor/splash-screen' end target 'App' do diff --git a/ios/App/Podfile.lock b/ios/App/Podfile.lock index 2ba34d3d5..41ed3b31b 100644 --- a/ios/App/Podfile.lock +++ b/ios/App/Podfile.lock @@ -2,21 +2,27 @@ PODS: - Capacitor (6.1.2): - CapacitorCordova - CapacitorCordova (6.1.2) + - CapacitorSplashScreen (6.0.2): + - Capacitor DEPENDENCIES: - "Capacitor (from `../../node_modules/@capacitor/ios`)" - "CapacitorCordova (from `../../node_modules/@capacitor/ios`)" + - "CapacitorSplashScreen (from `../../node_modules/@capacitor/splash-screen`)" EXTERNAL SOURCES: Capacitor: :path: "../../node_modules/@capacitor/ios" CapacitorCordova: :path: "../../node_modules/@capacitor/ios" + CapacitorSplashScreen: + :path: "../../node_modules/@capacitor/splash-screen" SPEC CHECKSUMS: Capacitor: 679f9673fdf30597493a6362a5d5bf233d46abc2 CapacitorCordova: f48c89f96c319101cd2f0ce8a2b7449b5fb8b3dd + CapacitorSplashScreen: 250df9ef8014fac5c7c1fd231f0f8b1d8f0b5624 -PODFILE CHECKSUM: 8ab55909c5de2b217f9841e5e5b329f5ec901553 +PODFILE CHECKSUM: d641883bb20843cf484024fa8ccc257a419b4040 COCOAPODS: 1.15.2