Chapter    7

Creating Hybrid Apps

In chapters 26 I showed you how to build geo web apps using HTML and JavaScript. Apps created this way can be accessed by a web browser via their URLs. As I explained in Chapter 1, one significant disadvantage of web apps is that they cannot be uploaded to the Apple App Store, and therefore have less visibility than a native app. In addition, it is much harder to sell a web app without access to App Store sales platform tools. However, by using a few lines of code, it is possible to embed a web app in a native app, thus creating a hybrid app.

The function of the native app will simply be to launch an embedded browser pointing to the web app home page. To create an app of this kind, you do not have to know Objective-C ...

Get Pro iOS Geo: Building Apps with Location Based Services now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.