Appfigurate™️
HomeDocumentation
  • Introducing Appfigurate™️ 3
  • Getting Started
    • Getting Started
    • Examples
    • Upgrade guide
      • v1.4.0 to v2.2.0
      • v2.1.1 to v2.2.0
      • v2.2.1 to v3.0.0
      • v3.2.1 to v4.0.0
    • iOS native app integration
      • iOS app extension integration
    • watchOS app integration
      • watchOS app extension integration
    • Android native app integration
    • Mobile Flutter integration
      • Flutter iOS
      • Flutter Android
    • React Native integration
      • iOS native module integration
      • Android native module integration
      • JavaScript integration
    • Third party remote configuration providers
      • Firebase Remote Config
      • Launch Darkly
      • Other third party remote configuration providers
  • Configuration subclasses
    • Supported property types
      • Boolean
      • Integer
      • Float
      • Double
      • Plain String
      • Encrypted String
    • Custom executable actions
    • Slider icon types
  • Additional reading
    • Info.plist options
    • AndroidManifest.xml options
    • Displaying overridden configuration
    • Security
      • Best practice
      • Encryption
      • Export compliance
      • App Store compliance
      • PrivacyInfo.xcprivacy
      • Rotating your private key
  • Automation testing
    • iOS native app automation testing
    • Android native automation testing
  • API
    • iOS and watchOS API
    • Android API
    • Mobile Flutter API
    • React Native API
  • Appfigurate User Guide
    • Introduction
    • Main menu
    • Select app
    • Add app
    • Import app
    • Install example apps
    • Settings
      • Passcode Lock
      • Restore
      • Backup
      • Delete all apps and Settings
      • Analytics
    • Edit app
    • Configure app
    • Permissions
  • Appfigurate SE user guide
    • Introduction
    • Manual encryption
      • ENCRYPTED_STRING macro/function
      • ENCRYPTED_STRING_IOS_WATCHOS macro/function
    • Setup iOS Simulator app
    • Setup Android Emulator app
    • Xcode source editor extension
      • Troubleshooting
    • Real device cloud testing services
      • BrowserStack
  • LEGAL
    • License Agreement
    • Privacy Policy
    • Release History
    • Third party notices
Powered by GitBook
On this page
  • Prerequisites
  • iOS
  • Swift example
  • Objective-C example
  • Android
  • Kotlin example
  • Java example
  • Mobile Flutter
  1. Getting Started

Examples

PreviousGetting StartedNextUpgrade guide

Last updated 5 months ago

The following GitHub repositories are available to demonstrate the integration of Appfigurate Library into iOS, Android and Mobile Flutter apps and app extensions.

Prerequisites

You must have the following installed:

  • or app installed into one or more iOS Simulators or Android Emulators (use the AppfigurateSE macOS or Windows apps for easy 1 click installation).

  • The .

iOS

Note: You cannot have both the Objective-C and Swift examples installed in the same Simulator, as they share the same URL Scheme and app identifiers.

To swap between language examples you must delete the existing app from the Simulator and clear Xcode's DerivedData directory.

Swift example

Contains the following integrations:

  • iOS native app

  • iOS native app extension

  • iOS native app UI automation testing support

  • watchOS app extension

  • watchOS intent extension

Installation instructions

git clone https://github.com/electricbolt/appfiguratesdk-swiftexample.git

In Xcode, open SwiftExample.xcodeproj

Ensure Appfigurate package dependency has been downloaded. (File ‣ Packages ‣ Reset Package Caches).

Select AppfigurateExample (Swift iOS) target, and choose the iOS Simulator that you previously installed Appfigurate Simulator into. e.g.

Tap Run.

Objective-C example

Contains the following integrations:

  • iOS native app

  • iOS native app extension

  • iOS native app UI automation testing support

  • watchOS app extension

  • watchOS intent extension

Installation instructions

git clone https://github.com/electricbolt/appfiguratesdk-objcexample.git

In Xcode, open ObjCExample.xcodeproj

Ensure Appfigurate package dependency has been downloaded. (File ‣ Packages ‣ Reset Package Caches).

Select AppfigurateExample (ObjC iOS) target, and choose the iOS Simulator that you previously installed Appfigurate Simulator into. e.g.

Tap Run.

Android

Note: You cannot have both the Java and Kotlin example apps installed on the same Emulator, as they share the same URL Scheme and app bundle identifiers.

To swap between language examples you must delete the existing app from the Emulator.

Kotlin example

Contains the following integrations:

  • Android native app

  • Android native app UI automation testing support (using Espresso)

Installation instructions

git clone https://github.com/electricbolt/appfiguratesdk-kotlinexample.git

In Android Studio, open the directory containing the projects build.gradle

Select AppfigurateExample Run/Debug Configuration, and choose the Android Emulator that you previously installed Appfigurate Emulator into. e.g.

Tap Run.

Java example

Contains the following integrations:

  • Android native app

  • Android native app UI automation testing support (using Espresso)

Installation instructions

git clone https://github.com/electricbolt/appfiguratesdk-javaexample.git

In Android Studio, open the directory containing the projects build.gradle

Select AppfigurateExample Run/Debug Configuration, and choose the Android Emulator that you previously installed Appfigurate Emulator into. e.g.

Tap Run.

Mobile Flutter

Contains the following integrations:

  • iOS app

  • Android app

Installation instructions

git clone https://github.com/electricbolt/appfiguratesdk-flutter.git

In Android Studio, open the directory containing the projects pubspec.yaml

Select main.dart Run/Debug Configuration, and choose the iOS Simulator or Android Emulator that you previously installed Appfigurate Simulator or Appfigurate Emulator into. e.g.

Tap Run.

Appfigurate Simulator
Appfigurate Emulator
example app's metadata records
GitHub - electricbolt/appfiguratesdk-swiftexample: Appfigurate SDK Swift integration exampleGitHub
GitHub - electricbolt/appfiguratesdk-objcexample: Appfigurate SDK Objective-C integration exampleGitHub
GitHub - electricbolt/appfiguratesdk-kotlinexample: Appfigurate SDK Android/Kotlin integration exampleGitHub
GitHub - electricbolt/appfiguratesdk-javaexample: Appfigurate SDK Android/Java integration exampleGitHub
GitHub - electricbolt/appfiguratesdk-flutter: Appfigurate SDK Flutter/Dart integration example (for iOS and Android)GitHub
Logo
Logo
Logo
Logo
Logo