Archive for September, 2015

Pocketpedia Links and iOS 9

Wednesday, September 16th, 2015

In iOS 9 Apple has made opening links from Pocketpedia slightly better but also slightly worse. The good news is that linking to another app now displays a small text button on the top left hand corner of your screen that lets you quickly back track to Pocketpedia without having to go through the home screen or use a multi-touch gesture. So digging deeper into an HTML, IMDb or PDF link from Pocketpedia is faster and more natural and has a quick return.

Peter iPhone Search

Peter iPhone Search

The bad news is Twitter was abusing the ability to open links with other apps to detect what apps were installed on your device and then targeting advertisement based on this information. Apparently the list of apps checked was as big as 2,500 different apps.

Apple makes a fuss about the need to approve and control the App Store to prevent malicious behavior, yet they didn’t simply ban the Twitter app, instead they put the burden on all the other developers. We are now required to list within our app all possible link types that you might want to open.

This new information goes inside the apps info.plist file under the key LSApplicationQueriesSchemes. Luckily there is no restriction on the number of links that can be listed so far. Pocketpedia for iOS 9 has included a smallish list of the most common types that our users use, such as pdf://, epub://, iBooks:// and imdb://. The problem is that our users are a varied bunch and use all kinds of apps. So if you find that a link to your favorite app from Pocketpedia is no longer listed, please drop us a note with the URL scheme to the name of the app and we will be sure to include it in the next release.

A single person using a single app means we have to list that URL scheme in Pocketpedia for all users. If only a small percentage of users are using a unique app, soon our exception list will grow quite large. But as I said, for now there are no limits and hopefully Apple reviewers will not start complaining that we are listing too many URL schemes.

Apps not updated for iOS 9 have a little leeway of being able to ask for 50 random URL schemes. We petitioned Apple to make this the default via an Apple bug report, but it never came to fruition. Each individual user is likely to only use a few favorite apps from Pocketpedia so a lower limit such as 20 random links would have been a perfect solution and it would have solved the abuse issue from Twitter without any code changes required for other third party developers.

Out of Africa

I find it discouraging that an iOS 8 app gets better support and treatment than an app developed for iOS 9. Especially since the technology exists and is implemented to allow a small number of URLs and could have worked beautifully paired with the new exception list. But on the upside, we now get full Spotlight integration, so you can search your media directly in Spotlight.

Welcome to the Media Search Party Spotlight in iOS 9

Wednesday, September 16th, 2015

You have always been able to search your movies, books, albums and games inside Pocketpedia with the integrated search field at the top of the collection view. Now you can also initiate searches directly from the Spotlight search in your dashboard thanks to third-party Spotlight integration in iOS 9.

The Spotlight search will not only list all the matches across multiple apps but also across multiple media inside Pocketpedia. Spotlight even knows the last item you were viewing in Pocketpedia, giving it more relevance in the search results.

Robert Redford

Apple wants to limit the amount of data that it is forced to index so only the main fields are listed with Spotlight. When you need a deep search (for example searching the awards field) you will have to perform that search in Pocketpedia’s regular search bar directly.

Peter iPhone Search

Peter iPhone Search

Searching directly in Spotlight will list a number of results from different sources and three results from an installed app. There is a small “Show more” button that will expand the Pocketpedia results to include all the matches in your media.

Clicking on the results will take you straight into Pocketpedia’s details view. Linking inside Pocketpedia has also been improved so that you can now easily get back to Pocketpedia after opening a link, using the button at the top left of your screen. Moving between apps now feels natural. (Unfortunately links have also become a bit more limited.)

Peter iPhone Search

Peter iPhone Search

Siri does not yet integrate with the third party index so you can’t ask your phone, “Search for The Princess Bride in Pocketpedia” or even more convenient “Do I have The Princess Bride in Pocketpedia?”. Looking forward to this improvement in iOS 10. It would cement iOS as your one and only private assistant.