hi, I am a ArcGISonline subscription user.I want to use the offline editing in my app, so I need the app license at standard level. But when I get the license use codes below and create a feature in a local database, the sdk told me that "Licensed for basic use only". Is there some thing wrong with my codes??
-(void) portalDidLoad:(AGSPortal *)portal{ // Get license info from the portal AGSLicenseInfo *licenseInfo = [[AGSLicenseInfo alloc] initWithPortalInfo:portal.portalInfo]; // Set the license AGSLicenseResult licenseResult = [[AGSRuntimeEnvironment license] setLicenseInfo:licenseInfo]; }