Qr code generator

Hi, in my application I generate text in Qr code and my application freezes or crashes. The point is not in the application, but in the version of android, I use 10 android. Can you tell me how to fix this for version 10?

are you saying, the app works fine in older Android versions?

to find out more about the issue, use logcat