All Projects → particle-iot → particle-tinker-app-ios

particle-iot / particle-tinker-app-ios

Licence: Apache-2.0 license
iOS Particle Tinker App

Programming Languages

swift
15916 projects
c
50402 projects - #5 most used programming language
C++
36643 projects - #6 most used programming language
objective c
16641 projects - #2 most used programming language
shell
77523 projects
ruby
36898 projects - #4 most used programming language

Particle

Particle Tinker app for iOS

Install the Tinker app on your iOS device from the App Store

Please visit https://docs.particle.io/tutorials/developer-tools/tinker/xenon/ for more info about this app.

Building app from the source code

The application code in this repo is stripped from private keys used by the application. To get the app to compile you either have to provide the missing keys or remove the references to these files and comment out the code that uses them. The missing files are:

  1. Keys.swift from PhotonTinker folder
  2. GoogleService-Info.plist from PhotonTinker folder

Use Keys.template.swift (located in root folder) as a template for Keys.swift. This file contains multiple keys:

  1. segmentAnalyticsWriteKey - obtained from https://app.segment.com/ by creating an iOS app source and copying API write key.
  2. oAuthClientId - obtained from https://console.particle.io/authentication.
  3. oAuthSecret - obtained from https://console.particle.io/authentication.
  4. stripeKey - obtained from https://stripe.com/.
  5. launchDarkly - obtained from https://launchdarkly.com/.

You can use GoogleService-Info.template.plist (located in root folder) as a template for GoogleService-Info.plist. Or you can obtain a genuine Google file by following Firebase integration tutorial.

This repo utilizes submodules. To load them, you have to run git submodule init and then git submodule update --remote --merge. Finally run pod install to load all Cocoapod dependencies. After all these steps app should compile and run.

For maintainers

All of the above secrets can be found in private mobile assets repo that you will have access to if you are part of Particle organization.

Contributors

  • Raimundas Sakalauskas Github

License

All code in this repository is available under the Apache License 2.0. See the LICENSE file for the complete text of the license.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].