Bluetooth permissions not working how I wanted to.

So, for a project, I wanted to create an app that can connect to an arduino-based device we made and the app sorta gives instructions and has a camera. The problem is that when I open the app, it shows an error that it can’t get permissions and to open settings to allow it but when I open settings it says it doesn’t ask for permissions. I’ve tried multiple variations of screen1.askforpermission but it still doesn’t work. Is this a code thing or an app thing? I use an android phone btw.