phonegap / phonegap-app-developer

PhoneGap Developer App
app.phonegap.com
Apache License 2.0
2k stars 2.51k forks source link

Support Handoff (iOS 8 / OS X 10.10 Yosemite) #221

Open shazron opened 10 years ago

shazron commented 10 years ago

Not sure of the details yet. Here's the guide: https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/Handoff/HandoffProgrammingGuide.pdf

Basically, the PhoneGap CLI will serve the folder, and also launch an OS X program that "hands-off" the location of the server to the Handoff API.

If the user is on the same local network, and has the Developer App (iOS 8, and handles Handoff) installed:

  1. they will get an icon on the bottom left of their lock screen
  2. swiping up on the icon will launch the Developer app, and automatically connect to the local server

Not that important, just a nice to have.

This will require a change in:

  1. PhoneGap CLI
  2. Developer App
  3. phonegap-app-handoff (new OS X program)
shazron commented 10 years ago

An alternative is Bonjour, that can be supported in all OSes. This requires more work and integration though.

shazron commented 10 years ago

One snag is, both phone+computer have to be logged on to the same iCloud account, and both phone+computer must support Bluetooth LE. Also, both the phone+computer apps must be crypto signed (i.e. be in the App Stores). Too many obstacles.