Search code examples
objective-cioswikitude

Wikitude SDK - ignoring license key on first run


I am using the tutorial example code provided by the wikitude SDK and adapting it to my needs. However when I pass a valid license key to the ARchitect browser (this happens in the viewDidAppear method of the view controller) via

NSString * wkKey = @"50m3r4nd0m51gn5";
[self.architectView initializeWithKey:<myKey> motionManager:nil];

and build and run the application on my development device (iPhone 4) from XCode I still get the beta watermarks all behind the augmented reality view as if I didn't provide any license key. The license key however is available when I inspect the object in the debugger, it just seems to be ignored by the ARchitect View initializer.

When I close the app on the device with the home button, and open it again on the device, the license key obviously gets recognized this time and the beta watermarks are gone.

What I tried:

  • putting the initializer in the vieWillAppear method - no change
  • providing the key directly, without the variable - no change

Does anyone have a clue if this is an issue with the SDK or could it be a timing issue from where I call it in my code? Since I can't find much about wikitude and especially anything about my problem any help is greatly appreciated.

Thanks in advance


Solution

  • Problem solved: I still used the 1.0.3 release of the wikitude sdk while in the meantime v1.1.1 was released - after an upgrade, the "beta" watermarks and/or the wikitude logo were not displayed anymore..