You might have to inpsect the alert/pop up using Appium Inspector and get details about it. As for example in our app, an alert text comes up as a TextView object. Also, you might have to check if these alerts are displayed under native context. Could you give more details if your app is a native one or hybrid?
Thanks,
Sujata