Developing Open Web Apps

With Firefox OS

Jordan Santell / @jsantell

Who is this guy

  • Jordan Santell
  • Mozilla Engineer
  • Dev Tools
  • Github Addict

Open Web Apps

Installable web apps with hardware access

OWA Goals

  • Hardware Access
  • Installable
  • Offline Capable
  • Ecosystem portable

Architecture

  • Gaia
  • Gecko
  • Gonk
  • Device

Gaia

Manifest

{
    "version": "1.0.0",
    "name": "Test App",
    "launch_path": "index.html",
    "description": "My Test App",
    "icons": {
        "16": "images/logo16.png",
        "32": "images/logo32.png",
        "128": "images/logo128.png"
	},
					
				

Manifest

    "installs_allowed_from": ["*"],
    "default_locale": "en",
    "permissions": {
        "geolocation": {
            "description" : "Get User Loc"
        }
    }
}
					

Web APIs

  • Vibration
  • Orientation
  • Geolocation
  • Open Web Apps
  • Alarm
  • Web Activities
  • Push Notifications
  • Web FM
  • WebPayment
  • IndexedDB
  • Ambient Light
  • Proximity

App Types

Hosted Apps

Packaged Apps

Permissions

  • Normal Apps
  • Privileged Apps
  • Certified Apps

App Manager

Simulator

The Future

Thanks!