PhoneGap example using the Evernote SDK for JavaScript
You can find the Evernote SDK for JavaScript here.
Please check out the Evernote Developers portal page. Please see the Getting Started With iOS for PhoneGap guide here.
-
In your index.js file, inside the scope of the 'app' object, make the following changes :
consumerKey : 'your consumer key', consumerSecret : 'your consumer secret',
-
Run the app and go through the OAuth flow.
-
See the logs for the results of the API calls.
- We are using jsOAuth for OAuth which can be found here.
- You can use the HTML/js code on any other platform supported by PhoneGap.
- Make sure you hide your consumer secret.
- This example requires the latest version of XCode.
- Most of the relevant code lives in www/js/index.js.