Not-Working on the custom plugin of the ionic app on the Galaxy Note 9

I am currently building an hybrid application using ionic.
Until last month, the Galaxy Note 9 worked fine, but now it doesn’t work only on the Galaxy Note 9 (both of the two Note 9s don’t work). When tested on other models, Galaxy Note 5 and Note 10, they are operating normally.

Custom plug-in is a function that detects a circle based on opencv and extracts the image of the circle to obtain rgb value.

Here is a link to the test video.

on Galaxy Note 9
on Galaxy Note 10

If you have some solution, please let me know.