Insert Smart Text Variables into a string.

See our docs on Paywall Smart Text for more details on creating Smart Text Variables for use with this method.

String result = NamiPaywallManager.processSmartText(text: String, dataStores: [Any])
NSString *result = [NamiPaywallManager processSmartTextWithText:(NSString * _Nonnull) dataStores:(NSArray * _Nonnull)]
String result = NamiPaywallManager.processSmartText(text: String, dataStores: [Any])

Parameters

  • text - a string of text containing Smart Text Variables
  • dataStores - the objects to use in the Smart Text Variable insertion. Currently NamiSKU objects

Returns

String with the correct values inserted for any smart text variables.