Add network status plugin - Ref #9403
This commit is contained in:
parent
368eda6bb6
commit
afee30b54b
|
@ -27,6 +27,7 @@ Install cordovas plugins:
|
|||
phonegap plugin add cordova-plugin-zip
|
||||
phonegap plugin add cordova-plugin-whitelist
|
||||
phonegap plugin add cordova-plugin-statusbar
|
||||
phonegap plugin add cordova-plugin-network-information
|
||||
phonegap plugin add cordova-plugin-inappbrowser # optional
|
||||
|
||||
If plugin registry server seems to be down :'( use git instead ;)
|
||||
|
@ -36,6 +37,7 @@ If plugin registry server seems to be down :'( use git instead ;)
|
|||
phonegap plugin add https://github.com/MobileChromeApps/cordova-plugin-zip.git
|
||||
phonegap plugin add https://github.com/apache/cordova-plugin-whitelist.git
|
||||
phonegap plugin add https://github.com/apache/cordova-plugin-statusbar.git
|
||||
phonegap plugin add https://github.com/apache/cordova-plugin-network-information.git
|
||||
phonegap plugin add https://github.com/apache/cordova-plugin-inappbrowser.git # optional
|
||||
|
||||
## Assets Management
|
||||
|
|
|
@ -30,6 +30,10 @@
|
|||
"xml": "<feature name=\"InAppBrowser\"><param name=\"android-package\" value=\"org.apache.cordova.inappbrowser.InAppBrowser\" /></feature>",
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"xml": "<feature name=\"NetworkStatus\"><param name=\"android-package\" value=\"org.apache.cordova.networkinformation.NetworkManager\" /></feature>",
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"xml": "<feature name=\"StatusBar\"><param name=\"android-package\" value=\"org.apache.cordova.statusbar.StatusBar\" /><param name=\"onload\" value=\"true\" /></feature>",
|
||||
"count": 1
|
||||
|
@ -53,6 +57,10 @@
|
|||
{
|
||||
"xml": "<uses-permission android:name=\"android.permission.WRITE_EXTERNAL_STORAGE\" />",
|
||||
"count": 2
|
||||
},
|
||||
{
|
||||
"xml": "<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\" />",
|
||||
"count": 1
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -69,6 +77,9 @@
|
|||
"cordova-plugin-inappbrowser": {
|
||||
"PACKAGE_NAME": "com.cadoles.momo"
|
||||
},
|
||||
"cordova-plugin-network-information": {
|
||||
"PACKAGE_NAME": "com.cadoles.momo"
|
||||
},
|
||||
"cordova-plugin-statusbar": {
|
||||
"PACKAGE_NAME": "com.cadoles.momo"
|
||||
},
|
||||
|
|
Reference in New Issue