My iOS project is running but getting no internet access in this project, In Safari browser internet is fine, but only in the project i am unable to access internet.
xcode project not connect to internet , already access internet in safari.
Safari Internet access done,
Project login is not working internet access error xcode 9.1.
video link
iOS devices should be connected same wifi networks and checked for connect via network under devices and simulators.enter image description here
I think the issue is with the API's / http request / the url you are using. And the network (wifi / mobile data) you are using to make the login request.
http request / the login url you are using may require your company's authorized wifi, to get response from that login request. I also faced the same issue when using a public wifi of my company, then informed this issue to the network team and backend team, then they gave access for some other authorized wifi, then i got the response successfully.
So discuss with your network team and the backend team.
And check the login url is working fine in Postman. It is an application used to check the API's / url's by the backend team are working fine. In that you just need to put the url and the parameters required.
Are you in China? You may go to settings and choose Network, and then find your app in list. So you can change the net setting for your app.
Related
We have a web form which we send out via email links, having particular issue with embedded safari web browser. I cannot share the link example at this time.
The error occurs when you open the link in the Gmail app on iOS and select the Safari option. This opens the Safari Web Browser embedded in Gmail. When submitting the web form you get a "400 Bad Request". If you copy the link, then go out of Gmail, open Safari web browser and paste the link, then submission of form works fine.
I would love to be able to debug that in developer tools.
Does anyone know how to do this? I know if you have a Mac (which I don't) then you can connect your Safari web browser to developer tools, does this work for the Gmail app embedded safari browser?
In the end managed to debug by downloading and installing Proxyman iPhone app, which is able to capture HTTPS requests from all apps on the device. It works by installing a special VPN from the device to the app, and you have to generate and install a CA certificate. Proxyman is able to export HTTPS requests in cURL format which you can then use for debugging from a computer.
https://proxyman.io/
If you have a local development environment and network, connect iPhone to computer on local area network, and then you can use phone to trigger requests in development environment, but that can be tricky with HTTPS. So can use ngrok to route requests from internet to local environment.
I have been successfully using Drop Box for IOS Over the Air Enterprise Distribution, however our company as part of a security lockdown, is stopping the use of DropBox.
I have been trying to use OneDrive with no luck with the Corporate or Personal Drive, I get the message "Safari cannot open the page because the server cannot be found." with the URL "itms-services"
I have used Share & copy link, below is the URL I am using to the manifest file, is there any changes required to be made to the link like DropBox?
itms-services://?action=download-manifest&url=https://1drv.ms/u/s!AovuAwqVtXvggfsVeJcr8RtT3aXQ2Q
Really appreciate any help
this URL should work (Assuming you are firing this link in WebView)
https://1drv.ms/u/s!AovuAwqVtXvggfsVeJcr8RtT3aXQ2Q
Apple rejected an app because it didnt work on their IPv6 network. I've managed to test this on my end using an ipv6 only address and can see that the third party API i'm using is unreachable when using an IPv6-only address.
Any time i try to use the API I get the response
A server with the specified hostname could not be found
The same thing happens if I manually go the URL in safari, whereas other IPv6-ready sites like gmail etc work.
So my question is do I need to get the developers of the API I'm querying to update their servers to support IPv6 in order to get this working, or is there something I should be doing on the app side in order to make this work?
There's no need to change any external servers. It's all about the client. If by this "third party API" you mean they have a library which you include into your app, then perhaps they are doing something in their code that is not working correctly; if this is the case, then you need to ask them to fix their client library.
I'd like to display the facebook profile image when a user had logged in via facebook. The images from the domain graph.facebook.com are not shown in the ios version of my app. It works fine in browser and android as well.
I added the access rules (I'm using meteor)
App.accessRule("*");
App.accessRule("graph.facebook.com");
but it didn't help.
In my case the problem was caused because I was referencing the Facebook images inside my app with an 'http' link when my server site was running on a secure site 'https'. iOS had blocked all links to insecure sites inside a secure site.
The solution was change the fb links to https:
https://graph.facebook.com/10154217231etc....
Actually FB serves his resources in both http and https sites.
I'm developing a corporate web application.
The devices it is supposed to run on devices that have MobileIron and a corporate profile installed.
The app uses a corporate authentication service that authenticates based on client certificates. When I open the app in the Safari browser - the authentication is working properly. But in order to provide some of the features the app had to be wrapped in a PhoneGap shell. And the authentication has stopped working.
As far as I understand it is due to the fact that the UIWebView is unable to get the certificates from the device.
Is there any way to entitle it to or implement the handling myself?
Using MobileIron AppConnect, you can distribute certificates directly into those apps (instead of to the system keychain, which is only accessible to the built-in apps like Safari). The app can then be coded to provide that certificate to the web server when challenged. This is pretty easy to do.
http://support.mobileiron.com/appconnect will have the details.