Skip to content
Aaron Schachter edited this page May 20, 2016 · 25 revisions

Getting Started

  1. Install React Native, CocoaPods
  2. Clone repo and npm install in root directory
  3. Next, run pod install in root directory to create our project Lets Do This.xcworkspace and open it in Xcode.
  4. Add the following files to the project, which are untracked in our repo:
    • Lets Do This/keys.plist
    • Lets Do This/environment.plist
    • Lets Do This/Resources/Fonts/Brandon_bld.otf
    • Lets Do This/Resources/Fonts/Brandon_med.otf
  5. Before running the build in Xcode, run npm start from the main project directory to start the React Native server.

Contributing

Cocoapods

  • AFNetworking - Used by native DSOAPI class
  • Crashlytics - Logs crashes, non-fatal errors
  • Fabric - For internal staff distribution of test builds
  • GoogleAnalytics
  • NewRelicAgent
  • NSString+RemoveEmoji - Checks if a NSString contains emojii, which we want to filter from a user's name or email, and from Reportback Captions until supported
  • Parse - Used for push notifications. We currently implement push notifications by manually sending within Parse, that simply launch the app upon opening
  • SDWebImage - Used by native code for requesting and caching network images
  • SSKeychain - Used by DSOAPI and DSOUserManager for easy Keychain methods
  • SVProgressHUD - Displays Loading indicator when waiting for a network request to complete, blocks user from submitting multiple times or navigating to a different view while waiting for response
  • TSMessages - Our own DS fork of the TSMessages Cocoapod, used by native networking request completion handlers and native form validation