GithubHelp home page GithubHelp logo

loop-sample-testuser-ios's Introduction

Loop iOS Sample - Download test profiles

Prerequisites:

  • You will need the latest version of XCode (7.3.1 or greater) to run this sample app.
  • You will need to install Carthage

Build instructions:

These instructions will get you a copy of a Loop sample app for downloading user profiles from the Loop platform for development and testing purposes.

  1. If you haven’t already, signup for a Loop account and create an app on the Loop Developer Site
  2. Get the sample app 0. Clone this sample app git clone https://github.com/Microsoft/Loop-Sample-TestUser-IOS.git 0. Open it in XCode 0. Make a copy of Config/Keys.example.xcconfig and call it Config/Keys.xcconfig 0. In the Keys.xcconfig file provide values for the LOOP_APP_ID_PROP and LOOP_APP_TOKEN_PROP using your Loop app id and app token from the dashboard. 0. Touch the Loop Test User.xcconfig file
  3. Create test users in the user dashboard at the Loop Developer Site
  4. In the Keys.xcconfig file provide values for the LOOP_USER_ID_PROP and LOOP_DEVICE_ID_PROP using a test user id and device id from the dashboard.
  5. From the command line in the project directory run carthage update --platform iOS
  6. Build an run the app

After this is done, you can see the test profiles in your app. You can use the Loop-Sample-Hello-IOS test app to send more test signals and see them updated in this app. This is the same mechanism using test signals that the Loop uses when it creates home & work profiles.

loop-sample-testuser-ios's People

Contributors

sseiber avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.