2

enter image description here

I have a button that gets pressed to log in. If your username or password not typed in it gives a notification.alert requesting information.

On iOs 10, it does not display while the page on the front. if I press the home button twice and the app goes to the background, the alert appears on the app? Any Help

Luka Kerr
  • 4,161
  • 7
  • 39
  • 50

1 Answers1

3

This sounds similar to the symptoms described by Chis Rae in his comment on my answer to my own question.

Try adding the Content-Security-Policy meta tag and see if it fixes the issue:

<meta http-equiv="Content-Security-Policy" content="default-src * gap://ready file:; style-src 'self' 'unsafe-inline'; img-src 'self' data:; script-src * 'unsafe-inline' 'unsafe-eval'">
Community
  • 1
  • 1
DaveAlden
  • 30,083
  • 11
  • 93
  • 155