Uncaught TypeError: Cannot use 'in' operator to search for 'ontouchend' in null

Hello everyone,

I am trying to deploy my ionic app on Android at the moment. I have it built, it runs locally without issue and the release apk is signed and good to go.

I just released it in an alpha release, the testers being mainly myself. I download the app and as soon as it launches I get this error here which breaks everything:

Uncaught TypeError: Cannot use ‘in’ operator to search for ‘ontouchend’ in null

I am not sure exactly why I am getting this error. Especially when I am not encountering it locally.

I am using ionic 3.19.1, and according to my config, android version ~7.0.0.

Any help in solving this would be greatly appreciated. Thanks!

some variable is null

where do you use this ‘ontouchend’?

Thanks for replying!

The thing is I don’t in the code I have written use ontouchend or the “in” functionality. That is why I am pretty lost. I have some jquery/javascript that has click handlers. Doe ionic convert that in the backend?

sorry, wish I could help more, no idea…

1 Like