You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, to check the license expiry date, we would need to initialise the Regula.DocumentReader first; however, the initialisation will fail when the license is expired. This disallow us from knowing whether the failure is caused by expired license and show appropriate error message. There is a not so reliable way of checking if the error caught in the errorCallback (a string) .includes("invalid date"). Are there any better alternatives like error codes or something?
The text was updated successfully, but these errors were encountered:
Currently, to check the license expiry date, we would need to initialise the
Regula.DocumentReader
first; however, the initialisation will fail when the license is expired. This disallow us from knowing whether the failure is caused by expired license and show appropriate error message. There is a not so reliable way of checking if theerror
caught in theerrorCallback
(astring
).includes("invalid date")
. Are there any better alternatives like error codes or something?The text was updated successfully, but these errors were encountered: