prompt error “localhost:8100 says gap_init:3” message while load ionic project in browser

后端 未结 6 2075
误落风尘
误落风尘 2021-01-12 01:13

while i do changes in any page code there is a prompt message \"localhost:8100 says gap_init:3\" shown. then I clicked \'ok\' button another 5 messages shown. close browser

6条回答
  •  不思量自难忘°
    2021-01-12 02:08

    Just disable the prompt and you are on the go.

    // include this before cordova.js
    
    prompt = function() { return false; }
    

    With that you could just ignore the prompted message because in the webview the prompt itself are disable.

提交回复
热议问题