Skip to content

Leap-Forward/motion-fb

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

motion-fb

Cleans up the Rakefile mess that occurs when integrating with Facebook in your RubyMotion App.

Installation

gem "motion-fb", github: "silasjmatson/motion-fb"

Usage

In your Rakefile, add the following to the bottom of your setup block:

# ...

Motion::Project::App.setup do |app|
  # ...

  # Pod keys correspond to their cocoapod
  # :core        'FBSDKCoreKit',
  # :login       'FBSDKLoginKit',
  # :messenger   'FBSDKMessengerShareKit',
  # :share       'FBSDKShareKit',
  app.facebook(app_id: "MYAPPID", display_name: "MYDISPLAY_NAME", pods: [:login, :core, :share, :messenger])
end

Note: Be sure to run rake pod:install to install the cocoapods

What this does

  • Sets up all the info.plist stuff
  • Sets up URL Schemes
  • Sets up the required CocoaPods

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

About

All things Facebook Setup for RubyMotion

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%