I use a custom PNG for the splash screen in my MAUI app. It works fine on all of the IOS emulators I run the app on. It works fine on the Android emulator it runs on. However, when I connect my physical Android device to my computer and deploy to it, the splash screen does not appear.
I've tried looking at the device log, but there are literally thousands of entries in there which make it problematic for troubleshooting. What are the recommended debugging or diagnostic steps I can realistically use to track this down?
EDIT:
I managed to grab the device log entries during the splash screen loading and thought I would paste them here to see if anyone can make any more sense of what's going on. Here's a color coded version of it that I formatted in Excel:
Related
Recently, I have used flutters navigation.It works good but it lags even on my physical device. I was thinking to change it to pageview but than I have second thoughts so I decided to use its navigation.How can I make smooth navigation?.
You were probably using the debug mode on your device. Connect your device and run the command flutter run --releaseto deploy the app in release mode to your device, it shouldn't lag like that - if it does you might have some work running on your UI thread in an awkward way.
It's not recommended to use pageview for the entire app navigation as those views will be kept in memory.
To check the fps or the performance of your flutter app, run your app in profile mode instead of release mode. You will be able to see the rendering time of your frames in profile mode. For more info, visit https://flutter.dev/docs/testing/ui-performance.
AN Ionic application am a working on is having some odd behavior when run in the iOS simulator (Xcode 7.2.1). My login screen when normally run looks like:
When editing the username field however, I see some sort of toolbar popup at the bottom:
Worse then that however is when I go over to the password field:
I thought at first that this may deal with the native WebView, but it only happens in the simulator. Not when run on the actual device or through ionic serve. Any ideas what is going on here? Why this odd behavior?
EDIT
Also, the app launches with the default Cordova splash screen even though I have set a splash with Ionic. Even so, it should be showing the Ionic splash as opposed to the Cordova one.
EDIT #2
Many times, the Cordova status bar fails to work and my status bar is black as opposed to white.
While this looks weird for you in iOS Simulator, and for me in Chrome's device emulator devtool, it's 'desired behaviour' in Ionic.
Ionic is designed with mobile focus in mind, so when emulating a mobile device, they hide elements to simulate the native keyboard.
Ionic wrote a blog post about this, in fact:
Getting the keyboard to play nicely with the web layer was challenging for several reasons. Probably the biggest issue is the variation in behavior across devices and platforms when the keyboard is shown.
In iOS, not only does the web view resize differently when the keyboard shows in versions 6.1, 7.0, and 7.1, but it is affected differently, and sometimes completely oppositely, by including or excluding the viewport meta tag. Throw support for tablets and landscape orientation into the mix and trying to make every scenario on every device work nicely can have you quickly creating three new issues for every one you fix.
The blog post goes on to say they wrote a Keyboard plugin for Cordova, which is supposed to perform keyboard related hiding and element changing as faster and more accurately. You can find that GitHub repo here.
I have a problem with a custom splash screen. This is an iphone-only app (meaning it's targeting only iphone in the tiapp.xml), running in the iPad simulator sdk 3.3.0, ios7.1 and Alloy.
The app should run in compatibility mode, the problem is that even though I have all resources inside my assets/ folder, the standard Appcelerator's splash screen briefly appears before the simulator switches to my custom one.
here's the folder structure:
And here's the sequence of images when the app is loaded:
From the last pic, We can still see the appcelerator's icon, so I'm guessing Titanium is loading my custom image on top of the standard one?
Could this be a bug? I figured if Titanium CAN find my img, then it isn't a problem on my end?
The weirdest thing is that I've looked in all folders for this default Appcelerator picture and couldn't find it. I've also tried a clean build & manually deleting the build and Resources generated folders.
Thanks for all the help, this is driving me nuts!
I got this to work after manually deleting the app from the Simulator's system before running the project.
I'm not sure why, but it seems that the simulator somehow 'caches' the last img, and maybe it had this old img of my splash.
I build my Corona app for iPhone Simulator, and it running well. But if I installed my app on my device(iPad), and i have many issues(no scrollview and tabbar working) buttons is visible only.
How to solve the problem?
Look at what happens when you run it in the iPad simulator- Do you get any errors in the console if you check it while running the app on your iPad? If so this could shed some light on the issue. One possibility is a corrupted image, or an incorrect image format.
If only the buttons are visible it sounds like you app has an error that is preventing all of the display objects from loading. (Just based on the fact you mention your buttons display but nothing else.)
Basically im trying to automate the process of importing data and taking screen shots.
To import data I a feature to do this within my app.
I then need to move through various screens taking screen shots.
I've looked at some automated testing options but these don't seem to do screen shots or modify the ui so screen shots would be affected.
The best way to take screen shots with the simulator is to just press cmd + s at the right moment.
However, there is a better way involving some code: Automate Screenshots on iPhone Simulator?
I know that you can automate GUI tests, and it can take screenshots for you.
Hope this helped! ^_^
An iOS app built for the Simulator is really running in the Mac OS X environment, and so can call out to run shell scripts, sockets/pipes to/from other processes, etc., including launching an Applescript UI Script poking at the Simulator Menu Items and Save dialogs.