Home screen view on the different phone responding in a different manner. As you can see the attached screenshots, its working fine on all iOS devices but in android it working on pixel but in oppo, the screen turns to grey.
Did you try to use Oppo for debugging? Did the code execute as desired? Is it app-release that is not working or app-debug? And are there any unconventional plugins?
Related
I have a FCM setup in my flutter app. Everything works as expected in the iOS world, but I can't get it to work in the android world. I can see the Push-Notification in the notification drawer, but they don't appear like the classic Push-Notification widget in the top bar. What am I doing wrong?
Android Emulators won't work. You need a physical device if you want to test cloud-messaging on Android.
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 know that for Android it's possible to use Chrome://inspect to view the phone screen on your desktop. Clicking there is equal to tapping on the phone.
It's fine for browsers and after 4.4 - for apps that have some special lines of code inserted.
Whether it's possible for iPhone / iPad?
i.e. I have a REAL device with latest OS installed, which screen I'd like to be shown on MAC + clicking on the items on the screen will be equal to tappping on the phone.
XCode iOS Simulator - I am somewhat surprised you missed this part of the IDE.
It seems that this is not possible.
There is a flickering of screen appears when we open the app after splash screen.
And it shows the home screen for a second and then the login screen appears.
It was not happening before IOS 8.
Any idea why it would be happening.
Another thing the API response has also got slow if we install the App on IOS 8 phones or iPads.
AsihttpAsynchronous and Soap is integrated.
The Issue is solved.
I just added required sized for Splash screen for iPhone 6 and on and the problem solved.
For the other issue When I replaced the ASIhttpLibrary with AFNetworking. The Api has started working properly.
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.)