I'm trying to get an IPA downloadable through a website. From reading around I see this is done itms-services.
My issue is my link in php is not working - I have a feeling it's down to the syntax but i can't figure it out. I tried url encoding etc but no luck.
Any ideas?
echo 'Click here to donwnload</br>';
This is what Apple answers themselves on this question:
Yes, the itms:// type links don't work in the simulator.
You'll need to url encode just the url. So instead of
http://localhost:8888/hockey/hockey/appname_type/info.plist
you use this
http%3A%2F%2Flocalhost%3A8888%2Fhockey%2Fhockey%2Fappname_type%2Finfo.plist
I "think" the URL must now be HTTPS vs HTTP, per Apple security change.
Is your url to your ipa-file in the info.plist correct?
It needs to be the absolute url, f.e.
<key>url</key>
<string>http://localhost:8888/hockey/hockey/appname_type/info.ipa</string>
and it shouldn't be in a .htpasswd secured directory.
Unless you are running a jailbroken iOS device that's got it's own web server, a localhost url will notwork. I suspect your localhost reference works in Safari on your mac because it is running a web server that is serving up the files.
You'll need to specify the IP address for the Mac in your link, like
Click here to donwnload</br>';
but replace 192.168.0.100 with the IP address of your Mac.
Note that this won't work in the simulator, since you cannot install apps through the itms-services
Related
I've been facing issue setting up deeplinking with react native for IOS with react navigation 5.
When i try the URL scheme of myownapp://homepage/ it opens up the app.
But if i try with url : https://dev.myownapp.com/homepage/ it opens up the safari browser, but it doesnt open up the app.
I've tried with the documentation by adding Appropriate code in AppDelegate.m file and also ive added myownapp.com in the Associated Domains in Xcode.
Can you guys brief about what configuration is left to be done because the same opens in android. Thanks in Advance
Can you reach https://dev.myownapp.com/.well-known/apple-app-site-association or https://dev.myownapp.com/apple-app-site-association yet?
If you can't, please host the file on the servers you want to be supported universal link.
So to make it work:
You need to setup your app to be supported wildcard domain by set applinks:*.myownapp.com.
You also need to host the config file (apple-app-site-association) to all the sub-domains, it means you're able to reach:
https://sub1.myownapp.com/.well-known/apple-app-site-association
https://sub2.myownapp.com/.well-known/apple-app-site-association
....
Another thing you should notice that all your domains must be supported secure connection (https).
I am using the the HTML5 Video tag on a PWA created in angular 6 and for the life of me I can't get it to work. At first I thought it was an issue with encoding since it works on FF, Chrome (Desktop and Mobile), and Safari Desktop. I have checked the encoding and the use of the video tag. I believe that all is in order. I am able to play the video on iOS when serving it using HTTP from my local.
ng serve --host 0.0.0.0
It fails to play when trying to use HTTPS and a cert generated from openssl.
http-server dist/marcel-webapp/ -S
This leads me to believe that the issue is only with untrusted certificates. The problem that I having a very hard time finding the solution to is that I am hosting it on Firebase, and google handles the provisioning of the SSL certificates automatically. I checked my version of the trust store on my phone and the neither the root or intermediate certificates in use are listed.
Here is the link to the video my site
The question is... If really do have a certificate issue on firebase, what can be do about it?
Thanks in advance for any guidance on this.
Update and actual problem identified! I eliminated an untrusted certificate as the problem by deploying to AWS. The problem is actually related to the service worker created when adding PWA support to the project. The reason the video works over HTTP is that service workers are only enabled in HTTPS. I'm using Angular 6 to create the PWA, however it seems that other frameworks have the same problem. Turning off services workers in the Safari allows the video to display as expected
Settings > Safari > Advanced > Experimental Features > Service Workers
I found this post describes the problem in great detail. View Post Here
I want to supply a simple link for testing purpose to download an ios app? To which file has the link to point to.
I tried that one without success:
<a href="itms-services://?action=download-manifest&url=/static/app.plist">
click this link to install</a>
Any idea?
Please try to provide full plist url.
Example :
Install
For iOS 8, after you click the hyperlink, you must press the "Home" button manually to see your app installing.
From iOS 7.1 Apple forces you to use HTTPS, not HTTP. That means if you are going to use a host you have, or localhost, you must have an SSL Certificate. Or else, the download will not work.
Newbie to phonegap and mobile programming. I'm getting the whitelist error when trying to connect to a localhost url http:// localhost/.
I've added access origin="*" to /appName/www/config.xml and /appName/platforms/ios/www/config.xml
I'm using phonegap 3.4 and the iphone simulator in xCode 5.1. From everything I've been reading, it should be working but isn't. I'm wondering if there is a setting in xCode that's causing the problem? If I open my local site in a browser, it works.
Thanks!
Please see my below instruction try with anyone and let me know
The following examples demonstrate whitelist syntax:
Access to google.com:
Access to the secure google.com
(https://):
Access to the subdomain
maps.google.com:
Access to all the
subdomains on google.com, for example mail.google.com and
docs.google.com:
Access to all domains, for
example, google.com and developer.mozilla.org:
I have an in-house app which I distribute over a local wifi
in release page have a link like this
itms-services://?action=download-manifest&url=http://192.168.1.231/app/plist/houseApp/out.plist
this worked on iOS 7 Safari
but when i add this page to main screen (like web app)
the same link didn't work, and apache access.log have no record about /app/plist/houseApp/out.plist
this worked in iOS 6
Anybody knows about this?
On the 7.1 update all software installation services are forced to use the HTTPS protocol, also covering non-standard itms-services:// URLs.
You need to change the protocol type:
from: itms-services://?action=download-manifest&url=http://yourdomain.com/manifest.plist
to: itms-services://?action=download-manifest&url=https://yourdomain.com/manifest.plist
For more detail and how to get a certificate go to: Fix certificate error on iOS 7
It seems Apple have disabled all URL schemas in iOS7 (including mailto: links) in standalone webapps. This has seriously implications for my place of work.
See this post: https://discussions.apple.com/thread/5385948?start=0&tstart=0
This worked for me in iOS 8.0. Simply use https for URLs.