Plain String
The default value of a String is "". You must change the default value of the property by assigning a new value in an overridden reset method.
The default value of a NSString is @"". You must change the default value of the property by assigning a new value in an overridden reset method.
NSString properties should be declared in your APLConfiguration subclass header file as follows:
@import AppfigurateLibrary;
@interface Configuration : APLConfiguration
@property(nonatomic, strong) NSString* propertyName;
...The default value of a String is "". You must change the default value of the property by assigning a new value in an overridden reset method.
The default value of a String is "". You must change the default value of the property by assigning a new value in an overridden reset method.
The flutter APLNativeConfiguration class defers to the underlying platform APLConfiguration (iOS) or nz.co.electricbolt.appfiguratelibrary.Configuration (Android) subclass to read property values.
The React Native module AppfigurateModule class defers to the underlying platform APLConfiguration (iOS) or nz.co.electricbolt.appfiguratelibrary.Configuration (Android) subclass to read property values.
This page describes plain textual strings. Appfigurate also supports encrypted strings.
Local properties
Editable UI
Allows a string property to be changed in Appfigurate using a text field with an optional regular expression validating input.

Swift prototype
@StringPropertyEdit(regex, description, restart)
var propertyName: StringSwift example
import AppfigurateLibrary
@objcMembers class Configuration: APLConfiguration {
@StringPropertyEdit(regex: "", description: "Overridden session username", restart: false)
var usernameOverride: String
override func reset() {
usernameOverride = "thomas52"
}
...Objective-C prototype
STRING_PROPERTY_EDIT(propertyName, regex, description, restart)Objective-C example
@import AppfigurateLibrary;
@interface Configuration : APLConfiguration
@property(nonatomic, strong) NSString* usernameOverride;
@end
@implementation Configuration
STRING_PROPERTY_EDIT(usernameOverride, @"", @"Overridden session username", NO);
- (void) reset {
self.usernameOverride = @"thomas52";
}
...Kotlin prototype
Kotlin example
Java prototype
Java example
Dart prototype
Dart example
JavaScript example
List UI
Allows a string property to be changed in Appfigurate by allowing the user to select from a predefined list of valid choices.

Swift prototype
Swift example
Objective-C prototype
Objective-C example
Kotlin prototype
Kotlin example
Java prototype
Java example
Dart prototype
Dart example
JavaScript example
Editable List UI
Allows a string property to be changed in Appfigurate by allowing the user to select from a predefined list of valid choices. The user can customize the list adding by additional values using a text field and an optional regular expression validating input.

Swift prototype
Swift example
Objective-C prototype
Objective-C example
Kotlin prototype
Kotlin example
Java prototype
Java example
Dart prototype
Dart example
JavaScript example
Remote properties
Remote Editable UI
Allows a third party remote configuration provider's string property to be changed locally in Appfigurate using a text field. If the override tick box is ticked off, the third party remote configuration provider's value is displayed. If the override tick box is ticked on, then you can use Appfigurate to locally override the value.
Swift prototype
Swift example
Objective-C prototype
Objective-C example
Kotlin prototype
Kotlin example
Java prototype
Java example
Dart prototype
Dart example
JavaScript example
Last updated