Upgrade to Pro — share decks privately, control downloads, hide ads and more …

PhoneGap Build Dev Experience

Sponsored · Ship Features Fearlessly Turn features on and off without deploys. Used by thousands of Ruby developers.
Avatar for alunny alunny
April 26, 2012

PhoneGap Build Dev Experience

PhoneGap and PhoneGap Build - the developer experience of using PG Build

Avatar for alunny

alunny

April 26, 2012
Tweet

More Decks by alunny

Other Decks in Technology

Transcript

  1. PhoneGap ‣ install native SDKs ‣ install PhoneGap ‣ write

    HTML, CSS, JS ‣ build native app with SDKs + PhoneGap Thursday, 26 April, 12
  2. PhoneGap ‣ install native SDKs ‣ install PhoneGap ‣ write

    HTML, CSS, JS ‣ build native app with SDKs + PhoneGap PhoneGap Build ‣ write HTML, CSS, JS ‣ upload your code ‣ download native apps Thursday, 26 April, 12
  3. I don’t have a Mac adb isn’t in my path

    Where is my project template? How do I install ant? Thursday, 26 April, 12
  4. ‣ “www” directory bundled in app ‣ “index.html” opens ‣

    “cordova-1.6.1.js” inserted your code Thursday, 26 April, 12
  5. ‣ bridge b/w webview and native ‣ access to stock

    native APIs ‣ different on different platforms cordova/phonegap.js Thursday, 26 April, 12
  6. jQuery stopped working it stopped working when I upgraded this

    code works on Android, but not iOS Where is my JS file? Thursday, 26 April, 12
  7. ‣ native SDK finagling ‣ ambiguous JS-platform dependency ‣ very

    leaky abstractions point to the part that hurts Thursday, 26 April, 12
  8. ‣ no native SDKs ‣ we manage the framework (JS

    & native) ‣ you focus on your code PhoneGap Build Thursday, 26 April, 12
  9. ‣ upload an archive/index.html ‣ create a new git repository

    ‣ pull from a git/svn repo url creating an app Thursday, 26 April, 12
  10. ‣ write your app ‣ zip it up and upload

    ‣ simplest way to get started upload archive or index Thursday, 26 April, 12
  11. ‣ creates [email protected] endpoint ‣ git push your private code

    to there create a new git repository Thursday, 26 April, 12
  12. ‣ you push your code to public repo ‣ we

    pull it down ‣ let us know when to update pull from a git/svn repo Thursday, 26 April, 12
  13. ‣ sign everything ‣ uses certificate and private key ‣

    certificate must match profile ‣ profile must match all devices Signing on iOS Thursday, 26 April, 12
  14. ‣ debug (dev) builds use generic keystore ‣ release builds

    use private key + keystore ‣ no device restrictions Signing on Android Thursday, 26 April, 12
  15. ‣ sign everything on RIM’s servers* ‣ no device restrictions

    ‣ PGB: signs dev builds for you, requires cert for release builds Signing on BlackBerry *this is an insane/terrible decision Thursday, 26 April, 12