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])


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


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