tree: a958686a073c5cff6399be1d514902d0651762ac [path history] [tgz]
  1. ActivityFeed.xcodeproj/
  2. ActivityFeed.xcworkspace/
  3. Source/
  4. WatchSample/
  5. WatchSample Extension/
  6. Podfile
  7. Readme.md
sdks/swift/Samples/ActivityFeed/Readme.md

#ActivityFeed

Installing dependencies

The ActivityFeed sample app utilizes Cocoapods and you will need to run the $ pod install command from within the root folder of the sample project in order for the sample to run properly.

Running the Sample

To run the sample app, simply open the ActivityFeed.xcworkspace file in Xcode.

Two targets in Xcode specific to this application will be available:

  • ActivityFeed Target

    This will run the iOS sample application.

  • Watch Sample Target

    This will run the watchOS companion app.

##Configuring the Sample Apps

Before running the sample applications you will need to configure each sample application.

Each sample application should include a source file named UsergridManager.swift. This source file is used to contain interaction with the UsergridSDK within a single source file. In doing so, the interactions within the sample apps can be easily seen and examined.

Within the UsergridManager.swift source there will be at least two different static vars named ORG_ID and APP_ID. You will need to configure those values in order to run the applications in your environment.

Applications which utilize push notifications will require a valid provisioning profile and device for the push services to work correctly.