Hi, I have an application that init and deinit a lot when switching views and I encountered a problem if the network that the device connects has restricted (outgoing/incoming traffic blocked) or no internet access.
From what I was able to establish Vuforia::init takes ~10 seconds to return 100 result with blocked ethernet connection while with unblocked or no connection it takes ~1 second.
I assume that the license key check or some other process is trying to communicate over the network and since in this case the device has network access there is a long response timeout or the request is resent over a period of time.
My code for the initialization:
Vuforia::setInitParameters(licenseKey)
int progressValue = 0;
do {
progressValue = Vuforia::init();
} while (progressValue >= 0 && progressValue < 100)
Pleas advise on how to address the problem.
Best regards,
Albert
Hi,
That answers all the questions I had, and solves my the issue for me.
Thanks a lot mcotora,