Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

OpenFeature Provider for iOS

This example is a simple iOS application that demonstrates how to use the OpenFeature Swift SDK to integrate OpenFeature into your iOS application.

How to use this example?

  1. Start your relay proxy with the flag configuration in the folder (flags.goff.yaml).
  2. Replace the endpoint in the openfeature_swift_iosApp.swift file with your OpenFeature endpoint (replace https://your_domain.io by the endpoint of your relayproxy).
  3. Start the iOS application in Xcode.
  4. By clicking on the Check flag button, you will call the OpenFeature API to get the flag value.
  5. The switch button will be set to on/off dependending on the flag my-flag value.

Want to use the OpenFeature SDK with GO Feature Flag in your iOS application?

Check the go-feature-flag/openfeature-swift-provider repository.

Demo

go-feature-flag-ios-demo.mov