Wireless iPhone App Distribution - Problem with Itms-Services Protocol

iOS7 itms-services scheme not work?

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

Change prompt message of itms-services installation

The short answer: No. That is not possible.

And it actually makes allot of sense.
Since enterprise apps does not go though any app review it is fairly simple to make an app that's spy on the user or steal data. With the current system the user at least get information about the domain/publisher of the app.

Consider such an "evil" app signed with a valid enterprise license identifying itself as "Important update from Apple" or something similar...

Use any link in itms-service links for app distribution

The question mark is a reserved character. You need to encode it as %3F. Same goes for the equals sign - it should be %3D.

Why cant open itms-services protocol inside an UIWebView iOS7.1 app?

App has to hadle custom schemes by its own. Catch URL in UIWebViewDelegate and open it by UIApplication (if it can handle it):

- (BOOL)webView:(UIWebView *)webView shouldStartLoadWithRequest:(NSURLRequest *)request navigationType:(UIWebViewNavigationType)navigationType {
NSURL *url = request.URL;
if (!([url.scheme isEqualToString:@"http"] || [url.scheme isEqualToString:@"https"] || [url.scheme isEqualToString:@"about"])) {
UIApplication *app = [UIApplication sharedApplication];
if ([app canOpenURL:url]) [app openURL:url];
return NO;
}
return YES;
}


Related Topics



Leave a reply



Submit