General questions

How to judge whether the registration is successful when the network speed is slow?

How to judge whether the registration is successful when the network speed is slow?

public static synchronized Engine getEngine() 

  {

    if (engine == null)

    {

      if (MainActivity.DEBUG != true) {

        engine = Engine.create(MyCertificate.getBytes());

      } else {

        engine = Engine.create(MyCertificateDebug.getBytes());

      }

    }

Does the engine judge the null pointer?

1 Comment

Dear 刚 陈,


Thank you for contacting us.


If the networks is not available during the registration,  after a time out the application will switch to the 30-day grace period as a fallback. Then it will retry to register the license, until license can be activated if grace period is not over.


Recognition is enabled during the 30-day grace period without internet  connection. After this, the recognition engine in the app is disabled  until the user connects to the internet.


With your MyScript developer account, you can access your native apps dashboard. 

Go to the Applications tab of the On-device Dashboard to check the number of activated licenses.


Best regards,


Gwenaëlle



Login or Signup to post a comment