TapLinX registration failed after Free Trail. Provide Valid License Key

Forum / MIFARE SDK / TapLinX registration failed after Free Trail. Provide Valid License Key

Tagged: ,

  • 2. July 2019 at 5:47
    Hey guys, Im trying to use TapLinx Library, however Im getting this error.

    " TapLinX registration failed after Free Trail. Provide Valid License Key"

    I have followed the steps of adding the standalone.aar library.: https://www.mifare.net/wp-content/uploads/2019/04/AN11876%20Starting%20Development%20with%20TapLinx%20SDK.pdf

    I have package key and and offline key.

    What else do I need?

    My code is:

     libInstance.registerActivity(this, packageKey);


    I got my key from here:
    https://www.mifare.net/devcenter

    My error is:
    E/AndroidRuntime: FATAL EXCEPTION: main
    Process: com.lemonat.ultralight, PID: 28652
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.lemonat.ultralight/com.lemonat.ultralight.MainActivity}: com.nxp.nfclib.exceptions.NxpNfcLibException: TapLinX registration failed after Free Trail. Provide Valid License Key
    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2339)
    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2413)
    at android.app.ActivityThread.access$800(ActivityThread.java:155)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1317)
    at android.os.Handler.dispatchMessage(Handler.java:102)
    at android.os.Looper.loop(Looper.java:135)
    at android.app.ActivityThread.main(ActivityThread.java:5343)
    at java.lang.reflect.Method.invoke(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:372)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:905)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:700)
    Caused by: com.nxp.nfclib.exceptions.NxpNfcLibException: TapLinX registration failed after Free Trail. Provide Valid License Key
    at com.nxp.nfclib.ultralight.UltralightFactory.getInstance(:57)
    at com.lemonat.ultralight.MainActivity.onCreate(MainActivity.java:27)
    at android.app.Activity.performCreate(Activity.java:6010)
    at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1129)
    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2292

    Please give me a hand!


    Thanks!!




    + 0  |  - 0

    Re: TapLinX registration failed after Free Trail. Provide Valid License Key

    2. July 2019 at 13:10
    Hi Chelo,

    If you want to use a offline key, you must use a different method call with three arguments. Please refer to the AN, section 3.5.2 “How to prepare the app with the offline registration key”:



    The AN can be found here:

    AN11876 Starting Development with TapLinx SDK

    The TapLinx team
    Attachments:
    You must be logged in to view attached files.

    + 0  |  - 0

    Re: TapLinX registration failed after Free Trail. Provide Valid License Key

    2. July 2019 at 16:07
    Hello Sir, I also tried that method call. It throws this error.

     libInstance.registerActivity(this, packageKey,offlineKey);


    E/AndroidRuntime: FATAL EXCEPTION: main
    Process: com.lemonat.ultralight, PID: 6416
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.lemonat.ultralight/com.lemonat.ultralight.MainActivity}: com.nxp.nfclib.exceptions.NxpNfcLibException: TapLinX registration failed after Free Trail. Provide Valid License Key
    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2339)
    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2413)
    at android.app.ActivityThread.access$800(ActivityThread.java:155)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1317)
    at android.os.Handler.dispatchMessage(Handler.java:102)
    at android.os.Looper.loop(Looper.java:135)
    at android.app.ActivityThread.main(ActivityThread.java:5343)
    at java.lang.reflect.Method.invoke(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:372)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:905)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:700)
    Caused by: com.nxp.nfclib.exceptions.NxpNfcLibException: TapLinX registration failed after Free Trail. Provide Valid License Key
    at com.nxp.nfclib.ultralight.UltralightFactory.getInstance(:57)
    at com.lemonat.ultralight.MainActivity.onCreate(MainActivity.java:27)
    at android.app.Activity.performCreate(Activity.java:6010)
    at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1129)
    at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2292)
    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2413) 
    at android.app.ActivityThread.access$800(ActivityThread.java:155) 
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1317) 
    at android.os.Handler.dispatchMessage(Handler.java:102) 
    at android.os.Looper.loop(Looper.java:135) 
    at android.app.ActivityThread.main(ActivityThread.java:5343) 
    at java.lang.reflect.Method.invoke(Native Method) 
    at java.lang.reflect.Method.invoke(Method.java:372) 
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:905) 
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:700) 



    Please help
    + 0  |  - 0

    Re: TapLinX registration failed after Free Trail. Provide Valid License Key

    3. July 2019 at 14:39
    Hi Chelo,

    TapLinx save the current license state. To get rid of it you must deinstall your app (which removes also the app memory) and install it again. Did you retrieve the offline package key as described in the AN? Both license keys must be inserted in registerActivity().

    For me it seems that TapLinx still is in “online license mode” if I see this log line: “TapLinX registration failed after Free Trail.”

    The TapLinx team

    + 0  |  - 0

    Re: TapLinX registration failed after Free Trail. Provide Valid License Key

    3. July 2019 at 16:35
    Hey, thanks for the help.I figure it out.

    All needed was add the permission in the manifest:
        


    I suggest new version of library works on improving the output of the errors.

    Best Regards and thanks!
    + 0  |  - 0

    Re: TapLinX registration failed after Free Trail. Provide Valid License Key

    13. June 2020 at 15:24
    I did same thing with TapLinx SDK Sample App from Play Store and there were no problems. Probable there is a problem in TapLinx library from NuGet.

    + 0  |  - 0

    Re: TapLinX registration failed after Free Trail. Provide Valid License Key

    15. June 2020 at 9:04
    Hi,
    I implemented Android app with Xamarin and TapLinx library.
    I found that the library should be “registered only once in app lifecycle". However, when I manually destroy app from Android, next time I open the app first Activity should be created and library must be registered again. So, after 10 registrations, it is still possible to register library by:
    m_libInstance.RegisterActivity(this, taplinx_key);
    But, further action fails:
    CardType cardType = m_libInstance.GetCardType(intent);
    The error code is magic Message:
    “TapLinX registration failed after Free Trail. Provide Valid License Key”

    Please let me know how I can get Valid License Key.

    I am using TapLinx library from NuGet, last stable version 1.6.0.

    Thank you.
    + 0  |  - 0

    Re: TapLinX registration failed after Free Trail. Provide Valid License Key

    15. June 2020 at 9:11
    Hi Milos,

    I recommend to uninstall the app if you reach the limit counter. The limit counter cannot be zeroed. How to get the license key is explained on TapLinx main site in the AN (also available on the main site).

    The TapLinx team

    + 0  |  - 0
Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.