Push notification first checkin
Merge branch 'unstable' of github.com:wmathurin/SalesforceMobileSDK-iOS into pushnotification
SFPushNotificationManager - most of the code there - but not tested yet - and some issues need to be resolved
Using sendAsynchronousRequest instead of NSURLConnectionDelegate
Rolling back checked in test_credentials.json
Make SFPushNotificationManager.h public
Was using bogus end point - leveraging log:format:
Create returns 201 not 200
When app foreground we re-register with Salesforce (if we have a device token and logout was not requested).
On logout we unregister from Salesforce but:
- we no longer do that through a notification because the notification is sent after the logout has completed (and the un-register needs to be done while we are authenticated)
- we no longer use a sendAsynchronousRequest for un-register otherwise the delete (which would be queued) ends up being sent after the revoke refresh token
Registering with salesforce for notification after login (if the device was first registered with apple)
Saving device token (as string) in user defaults
Merge pull request #440 from wmathurin/pushnotification

Push notification registration support