Comments (5)
This is probably related to #461
from cordova-plugin-lottie-splashscreen.
This is probably related to #461
ok. Thanks for answering me.
Isn't there a way to force the splashscreen to occupy 100% of the screen height?
from cordova-plugin-lottie-splashscreen.
I had the same problem... do you must show lottie splashscreen after hiding native android splash screen with after your app is ready... example:
this.platform.ready().then(() => {
// your status bar changes
setTimeout(() => {
(navigator as any).splashscreen?.hide(); // hide native splash screen
this.lottie.show(); // show lottie splash screen
setTimeout(() => {
this.lottie.hide();
}, 4000)
}, 1000);
})
in this case, there will be two splashscreens... first will run the android native splash, after close then it will show lottie splashscreen
Result
from cordova-plugin-lottie-splashscreen.
I had the same problem... do you must show lottie splashscreen after hiding native android splash screen with after your app is ready... example:
Yes I have to show lottie splashscreen after the native splash, but this solution doesn't work. The problem is that lottie SplashScreen does not cover 100 of the height of the screen and leaves a purple border (as seen in the image).
Thank you very much for your contribution!
from cordova-plugin-lottie-splashscreen.
I think the issue may be related with the notch. That would explain why it shows the status bar area on your screenshot and not on @fabriciovasc 's.
This same behavior is also happening when I try it on a physical Galaxy A21s (Android 12)
EDIT: adding pictures for reference. Tested in Pixel 4 and Pixel 6 overlays, both running Android 13
from cordova-plugin-lottie-splashscreen.
Related Issues (20)
- Implement LottieBackgroundColorDark Preference
- Unable to build the ios code HOT 6
- App Crashes On Launch HOT 10
- Does not work with Ionic 6, Cordova, Android HOT 11
- Wrong background splashscreen color when generating Android Bundle (.aab) instead of .apk HOT 9
- White screen after install the library an call it in a Ionic-React with capacitor in IOS HOT 6
- Deprecation warning HOT 1
- Android 12 support HOT 1
- capacitor iOS: App crashes while npx cap update
- android build error HOT 3
- Facing Error: preferences.getString(...).uppercase(Locale.ENGLISH)
- ionic 6 and capacitor 4 issue HOT 12
- Show iOS status bar when the splashscreen is shown
- New npm release needed HOT 2
- App Crashes With Lottie Animation in Ionic Project HOT 2
- Ability to set statusbar color while splashscreen appears
- Cant import the plugin to Vue Projects HOT 1
- Setting server hostame in capacitor config throws an error in IOS
- Update SDK version to 4.4.0 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cordova-plugin-lottie-splashscreen.