D
D
Dmitry Skogorev2016-01-09 15:43:31
JavaScript
Dmitry Skogorev, 2016-01-09 15:43:31

How to catch typeerror null is not object?

Good day.
I am developing an ios application using phonegap, using the card.io plugin ( https://www.npmjs.com/package/cordova-plugin-keepe... with the code from the example
, everything is ok, but if I click Cancel, I get an error without scanning

[Log] Error in Success callbackId: CardIO585352385 : TypeError: null is not an object (evaluating 'field') (console-via-logger.js, line 173)
[Error] TypeError: null is not an object (evaluating 'field')

and the plugin is not called until you close the application
how can I catch the exception or what can I do?
Thanks in advance

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question