Skip to content
This repository has been archived by the owner on Nov 2, 2019. It is now read-only.

Doc fix, Any/Object #69

Merged
merged 4 commits into from
Oct 5, 2016
Merged

Doc fix, Any/Object #69

merged 4 commits into from
Oct 5, 2016

Conversation

arsonik
Copy link
Contributor

@arsonik arsonik commented Oct 5, 2016

No description provided.

@facebook-github-bot
Copy link

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign up at https://code.facebook.com/cla - and if you have received this in error or have any questions, please drop us a line at cla@fb.com. Thanks!

@facebook-github-bot
Copy link

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks!

@facebook-github-bot facebook-github-bot added the CLA Signed The Facebook CLA has been signed label Oct 5, 2016
Copy link
Contributor

@nlutsenko nlutsenko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything looks great, except for the push notifications device token.
Can we split this into a separate PR and add the suggested fixes?
Would gladly merge it after it's done.

Sets a device token to register the current application installation for push notifications.
- parameter deviceToken: Device token data.
*/
public static func setPushNotifications(deviceToken: Data!) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's convert this into a static var, like this:

public static var pushNotificaitonsDeviceToken: Data? {
    didSet {
      FBSDKAppEvents.setPushNotificationsDeviceToken(pushNotificaitonsDeviceToken)
    }
  }

Also, if you could split this into a separate PR, would help improve visibility.

@@ -141,6 +141,18 @@ public class AppEventsLogger {
}

//--------------------------------------
// MARK: - Push Notification
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: Push Notifications

Copy link
Contributor

@nlutsenko nlutsenko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great. Merging as soon as Travis reports success.

@arsonik arsonik changed the title Doc fix, Any/Object, Push deviceToken Doc fix, Any/Object Oct 5, 2016
@arsonik
Copy link
Contributor Author

arsonik commented Oct 5, 2016

Great thanks !
And I've just made a PR for the push too.

@facebook-github-bot facebook-github-bot added the CLA Signed The Facebook CLA has been signed label Oct 5, 2016
@nlutsenko nlutsenko self-assigned this Oct 5, 2016
@nlutsenko nlutsenko added this to the 0.3.0 milestone Oct 5, 2016
@facebook-github-bot facebook-github-bot added the CLA Signed The Facebook CLA has been signed label Oct 5, 2016
@nlutsenko nlutsenko merged commit bb58af1 into facebookarchive:master Oct 5, 2016
@nlutsenko nlutsenko added the enhancement Adds a feature or improvement label Oct 31, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
CLA Signed The Facebook CLA has been signed enhancement Adds a feature or improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants