Unable to click OK/Allow permissions button using appium/webdriverio/iOS

I am trying to click on 'OK' button as per the image using webdriverio/appium/iOS (it's in-app notification/permissions). I could see that OK button is not being clicked but the test case is successful though. I was able to click other buttons using the code below, but not this OK button(maybe locator strategy is incorrect?) Any ideas would be highly helpful. Thanks

Attaching the inspection and push notification of the button. My code is, const cameraOKButton = await iOS.$('OK') await cameraOKButton.click()

enter image description here

How many English words
do you know?
Test your English vocabulary size, and measure
how many words do you know
Online Test
Powered by Examplum