cordova 3.0: Android: Connection is not defined

前端 未结 14 1753
情话喂你
情话喂你 2020-12-20 13:54

my first time experimenting with Apache Cordova 3.0.

downloaded lib, unziped cordova-android and cordova-js and created a project:

./create ~/Docume         


        
14条回答
  •  心在旅途
    2020-12-20 14:14

    I had the same problem with PhoneGap 3.5.0:navigator.connection.typereturned me0(unknown connection) andnavigator.onLine(from HTML5) wastrue` all the time.

    The problem was caused by the phone (probably I have too old Android version on my phone) because it works with emulator and with tablet (where is Android 4.2) correctly :-(

提交回复
热议问题