i am working on cordova app for iOS in which i am getting user current location so that ask me about some message like that would you allow current position with options allow or don't allow. its fine but after that it again ask me like that show in image.

How do i stop that message? or maybe change its text? also it second alert in first aper it just show me app name with confirmation about getting current location but after that this one appears again. Any help?