Hi,
I've registered on NXP web site and created an new Android app. I have also generated offline license key. Unfortunately, when I try to register the library, I'm getting the following error:
Unable to complete the post to server
Registration failed..
Storing Failure Count: 2
No network/Failure count exceeded. count: 2
Attempting Local License Verification
Local License Verification :Failed
Attempting Local License Verification
Local License Verification :Failed
I've checked that activity package name matches the package name given on NXP Dev Center. I've also double checked app key and offline key. Internet access is authorized in manifest. I don't understand why there's an error when posting to server and why offline validation doesn't work. Can you please let me know if I missed something?
Here is my code that is quite basic and based on provided example (both keys are replaced by placeholders).
libInstance = NxpNfcLib.getInstance();
try {
Log.d("NXPLIB", "Registering package " + this.getPackageName());
libInstance.registerActivity(this, "APP_KEY", "OFFLINE_KEY");
} catch (Exception e) {
// Exception
...
}
Thanks in advance.