Giter Club home page Giter Club logo

batmobile's Introduction

Batmobile

Batmobile is a sample project that implements ride requests using the Intents framework (aka SiriKit). Rides can be “requested”* using both Siri, and within the Maps app.

Siri screenshot Maps screenshot

* Rides are never actually requested, though it would be trivial to plug in the Lyft or Uber API.

Usage

  1. First, we need to create a new app ID with the SiriKit entitlement. Log into the developer portal, and head to Certificates, Identifiers & Profiles. Select "App IDs", and click the create button (+).
    • App ID Description: This can be anything.
    • Bundle ID: com.buglife.sirikitapp
    • Make sure that "SiriKit" is checked under App Services
  2. Open the project in Xcode 8.0. For each target (Batmobile, BatmobileIntentsExtension, BatmobileIntentsExtensionUI), select your Team under the General > Signing panel. Let Xcode auto-generate provisioning profiles for these targets when asked.
  3. Build & run the app on your device. Confirm when prompted w/ the Siri permissions dialog.
  4. Once you have authorized the app to use Siri, there are two ways to request a ride:
    • Ask Siri "Request a ride in the Batmobile"
    • Open the Maps app, get directions to a location, and select the Ride tab

License

Batmobile is released under the MIT license. See LICENSE.txt for details.

batmobile's People

Contributors

schukin avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.