Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/launchdarkly/hello-tvos
Hello LaunchDarkly for tvOS
https://github.com/launchdarkly/hello-tvos
examples feature-flags feature-toggles launchdarkly launchdarkly-sdk managed-by-terraform sdk-examples swift tvos
Last synced: 29 days ago
JSON representation
Hello LaunchDarkly for tvOS
- Host: GitHub
- URL: https://github.com/launchdarkly/hello-tvos
- Owner: launchdarkly
- License: other
- Created: 2017-03-14T15:10:41.000Z (almost 8 years ago)
- Default Branch: main
- Last Pushed: 2024-04-17T16:44:53.000Z (8 months ago)
- Last Synced: 2024-08-07T23:48:12.592Z (5 months ago)
- Topics: examples, feature-flags, feature-toggles, launchdarkly, launchdarkly-sdk, managed-by-terraform, sdk-examples, swift, tvos
- Language: Swift
- Homepage:
- Size: 85.7 MB
- Stars: 3
- Watchers: 47
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
- Support: Support/carthage-input.xcfilelist
Awesome Lists containing this project
README
# LaunchDarkly sample tvOS application
We've built a simple mobile application that demonstrates how LaunchDarkly's SDK works.
Below, you'll find the build procedure. For more comprehensive instructions, you can visit your [Quickstart page](https://app.launchdarkly.com/quickstart#/) or the [iOS reference guide](https://docs.launchdarkly.com/sdk/client-side/ios).
## Build instructions
1. Make sure you have [Xcode](https://itunes.apple.com/us/app/xcode/id497799835?ls=1&mt=12) installed
1. Make sure you have [Carthage](https://github.com/Carthage/Carthage) installed
1. Run `carthage update --platform tvOS --use-xcframeworks` to build XCFrameworks for the LaunchDarkly SDK
1. Open `hello-tvos.xcodeproj` in XCode
1. Set the value of `sdkKey` in `AppDelegate.swift` to your LaunchDarkly mobile key. If there is an existing boolean feature flag in your LaunchDarkly project that you want to evaluate, set `featureFlagKey` in `ViewController.swift` to the flag key.```swift
// AppDelegate.swift
let sdkKey = ""// ViewController.swift
let featureFlagKey = "sample-feature"
```You should see the message "The feature flag evaluates to .", the application will run continuously and react to the flag changes in LaunchDarkly.