Skip to content

Commit

Permalink
Changes according comment #10 (comment)
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Kalinin committed Feb 13, 2017
1 parent dc28cc2 commit b81a5ac
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions index.js
Expand Up @@ -365,6 +365,7 @@ var ReactAppboy = {
// News Feed
/**
* Launches the News Feed UI element.
* @param {object} launchOptions - An optional dictionary of News Feed launch options. See NewsFeedLaunchOptions for supported keys.
*/
launchNewsFeed: function(launchOptions) {
AppboyReactBridge.launchNewsFeed(launchOptions);
Expand Down Expand Up @@ -419,6 +420,13 @@ var ReactAppboy = {
Genders: {
'MALE': 'm',
'FEMALE': 'f'
},

NewsFeedLaunchOptions: {
'CARD_WIDTH_FOR_IPHONE': 'cardWidthForiPhone',
'CARD_WIDTH_FOR_IPAD': 'cardWidthForiPad',
'MINIMUM_CARD_MARGIN_FOR_IPHONE': 'minimumCardMarginForiPhone',
'MINIMUM_CARD_MARGIN_FOR_IPAD': 'minimumCardMarginForiPad'
}
};

Expand Down

0 comments on commit b81a5ac

Please sign in to comment.