Cordova: In app browser issue on iPhone - black bar grows - iphone

I am working on iPhone app using Phonegap.
I have used in app browser functionality in my app. Though it works fine but gives following issue.
I have used.
window.open('http://www.yahoo.com','_blank','location=yes');
Issue is:
when I click to open webpage in app browser with Done at the bottom, it opens the webpage successfully, when I click Done and go back a black bar appears at the bottom of the screen that grows each time I use in app browser.
How to fix this issue?

Related

Navigating to an external link from an ionic 4 app makes the hardware back button close the app where there is navigation history?

Navigate to an external link or display an interstitial Ad (AdMob) and then return to the app by clicking on the hardware back button. At this stage where there are pages in the history (navigation stack), clicking on the hardware back button will cause the app to close! Knowing that I had tried to register to the back button by:
this.platform.backbutton.subscribe(()=>{
this.navCtrl.pop();
// Also tried: this.navCtrl.back();
});
But it is still exiting the app!
Any idea about how to solve this?!
Actually, I had realized that navigating to an external link from the app and returning to it will not cause hardware back button issues, but the problem was that I am displaying the AdMob banner at top of the screen, and when I place it at the bottom (default position) the hardware back button is stable and works as expected even when navigating from the app to an external link and then returning back! So, I kept the banner at bottom where I noticed that positioning banner at bottom was more elegant (at least to my app).
It seems that this is one of the issues in the AdMob plugin, where I had seen other issues about the ionic AdMob plugin without solutions!

Default iphone keyboard does not close for entire application if it is opened in iframe in ionic 3

i have used cordova--plugin-ionic-keyboard default plugin in my hybrid ios
application in ionic 3 .
when i open a payment gateway link by using iframe and i click on the textbox button for writing a card details keyboard will appear but if any case i want to go back after opening a keyboard then keyboard is not closed or hide for whole app then i have to close the app and start again.
i have searched a lot of things on internet but i can not get a appropriate answer which works for me.
i have tried out hide() method of plugin but whichever page i use this hide method that page is not open means app stop before the page on which i try hide method.
i also used in-app browser but still not work

Blank screen with navbar in Ionic View

I want to test out my app by using the app Ionic View. Unfortunately all I see is a blank screen with a blue navbar header.
I have uploaded my app using ionic upload. Then I have synced my app in Ionic View and finally I press 'View app'. I see the Ionic loading animation and then I just see a white screen with a blue navbar header.
My app uses a blue navbar header, so it is loading something.
When I run my app in the browser or when I debug it using a USB-cable and live debug on my phone, everything is just working fine. So why isn't it possible to use my app using Ionic View?

Preload WebSite

I am using the iPhone simulator that is part of the SDK to test a jQuery Mobile website. I have the startup of the simulator scripted but once the simulator is up and running, I still have to click on Safari/enter the website URL. Is there a way to preload Safari/website URL through the shell script?
You can do the following... Once you open your webpage via mobile safari, look at the bottom tool bar where you see a set of icons. Click on the centre one "Share" and you get a list of options. Select "Add to home screen" and give it a name when prompted. Now, you will have this page added to the home screen and you can simply open this with a click.

Link Target in iPhone Based web app

I am building a web application that is to be run by adding the app to the home screen. Currently it has a list of users, clicking on a user takes you to a detail screen for that user and on that screen is a notes link to take the user to another screen with a grid of notes and a text box to add more notes.
When any links are clicked/tapped, the link is opened in Safari, not the current full screen Safari instance. I tried setting the target of the link to _self, but this had no effect.
Any ideas?
I learned a full screen iPhone webapp can only be a single web page. Any link you try to open will launch Safari instead of replacing the current page. To combat this, I used asp.net postbacks with panels to hide/load/show requested data.
I use target="_webapp" and it works just use for example <a href="http://your.link" target="_webapp"> and it gonna open the link without exit landscape (full screen) i dont know why but with some of my webapps works and sometimes dont.