Getting Application Seed Data from Afaria

Get the application seed data from Afaria®.

Syntax

- (NSMutableDictionary *) getSettingsFromAfariaWithUrl: (NSURL *) configurationUrl
UrlScheme: (NSString *) urlScheme

Parameters

  • configurationUrl – URL passed by the Afaria client.
  • urlScheme – URL scheme of the calling application. Afaria library can use this to pass it to the Afaria client.

Returns

Returns a NSMutableDictionary containing properties that are read from the seed file.

Examples

  • Get Settings From Afaria
    - (BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation{
    LiteSUPUserManager* userManager = [LiteSUPUserManager getInstance:<application_id>];
    [userManager getSettingsFromAfariaWithUrl:url UrlScheme:<url_scheme>];
    }