Settings exchange between the client and the SAP Mobile Server using REST SDK.
Get the application setting configured for the user.
-(NSDictionary*)getConfigPropertyMapWithError:(NSError**)error;
Fetch the configuration property for the user using:
-(NSString*)getConfigProperty:(NSString*)configKey error:(NSError**)error;
Or
NSString *deviceToken=[l_appsettingsObject getConfigProperty:@"d:ApnsDeviceToken" error:&error];
Update the application settings configured for the user.
-(BOOL)setConfigProperty:(NSDictionary*)settingsList error:(NSError**)error;
NSError* error = nil; NSDictionary *props = [NSMutableDictionary dictionary]; [props setValue:@"2134hjbuh243g32234bhjb786" forKey:@"d:ApnsDeviceToken"]; [appSettings setConfigProperty:props error:&error]; if (error) { NSLog(@"ERROR: %@",error); } NSDictionary* props = [appSettings getConfigPropertyMapWithError:nil];