my application is a UIWebView in fullscreen and i load a website. My website is based on the geolocation of the user. Before, my app is working fine for any device but since iOS 8 it doesn't work on iphone 6 and 6 plus. I was forced to add permissions in plist file.
The added keys is: -NSLocationWhenInUseUsageDescription -NSLocationAlwaysUsageDescription -NSLocationUsageDescription
After, my app work with iphone 6 but NOT with the iPhone 6 Plus... WHY ?
I have also check in scheme for be sure Allow Location Simulation is checked...
I have search a lot and i have try a lot of solutions and nothing works...
My geolocation is on my website with JS so i dont have locationManager...
I have only a UIWebview, ViewController and AppDelegate in my project.
If i try my website with safari in iphone 6 plus it working but not in application...
I have check in setting and my app is always authorize to get the location
Some have a idea why it doesn't work on 6 PLUS ?
Thx for help
Related
A client has reported that a website doesn't work on iPhones. As far as I can see on the screenshots, there's the skeleton but the content that should be loaded via AJAX is not present.
What can I do to find the cause without having an iPhone myself?
Maybe there's a service that allows me to run a debuggable iPhone browser somewhere in the cloud?
You can try xcode iPhone simulator browser.iPhone simulator can run only on a Mac and it comes with a safari browser and doesn't have a chrome.you can try this link for a online simulator
http://www.appsimulator.net/apple-iphone-6.html
You can try Appetize.io.
Free to use for 100 minutes per month per user.
Even in the demo section you can select different options of iPhones and try out the URL within 1 minute too. The site has been helpful for me.
I have two iPhone 6 devices, both with latest version of iOS and both with latest version of Google Chrome.
I've noticed a difference in the Content settings accessed by:
Chrome app (browser) > menu > settings > content settings
However, on one of them there are 4 content settings:
Block Pop-ups
Google Translate
Accept Cookies
Auto-Detect Encoding
On the other one there are only two:
Block Pop-ups
Google Translate
Anyone have any idea why? Is there a setting somewhere I have overlooked which causes this to be different?
The iPhone with only two settings also makes my web app fail, but I won't go into details, though I will say this is the only difference between the two devices.
Also
I have two iPads with the same issue - one with 4 items, one with 2 - also, the web app fails on iPad with only 2 items.
I don't have access to iOS debugging at the moment
I am trying to get a universal link to my iOS app working on iOS 9.
The link should be displayed in an iframe.
As of now I have got it working correctly for chrome on iOS 9 using:
Chrome iOS 9 all good
This link does not work on Safari from an iframe tho.
Through some experimenting I found that following link does work when called from my local ip:
Safari iOS 9 problem case
But for some reason this will not open my iOS app when I add this link on a page hosted at the same domain as the universal link (demo.linkid.be)
Any thoughts? Or is this a bug in Safari at this time?
[Update]
Safari iOS 9 with following link will work if you long press the link.
An action sheet appears allowing you to open it via the app.
Chrome iOS 9 all good
In order to make a universal link inside of an iframe work in Safari on iOS9 you can use target="_top". The tradeoff is that the link will open in the same window.
I just finished developing a Cordova / Phonegapp app. When I test it on iOS simulator it all works fine and quick, but, when testing on device it works only part of it.
My app is a game with the kingdom background and has 8 buttons (8 buildings).
When I click on each building it leads me to a screen representing what it's inside the building, but one of them doesn't work and gets my app frozen.
How can I see fail or crash reports that helps me debug my app on device?
If you provide full path to your file i.e. "file:///Users/.../someDir/some.html" it will work only on simulator running on the same machine where your project is.
I suggest just adding the additional path to the file you want to access i.e. if you are in "/someDir" you will need to provide only "some.html" or if you want to access parent directory just use "../".
As far as debugging Cordova app, I suggest downloading this plugin and using console.log instead of alert.
Hope this helped.
Ok, I found a "spartan" way to debug my app via alert and found that an url wasn't set properly (still don't know why it worked on simulator)
We have an iOS SDK that is hosted within different applications. Inside the app I have a redirection to Appstore. The redirect is from html code (Webview within the application).
Redirection works fine for iOS 6 but fails for iOS 5.
The app store redirect is to something like: http://itunes.apple.com/app/id447553564?mt=8.
Is there different configurations / settings / changes from iOS 5 to iOS 6 that could make this happen?
tnx
You need to change your http:// to itms://
like this:
itms://itunes.apple.com/app/id447553564?mt=8