[
https://issues.apache.org/jira/browse/CB-8041?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14246800#comment-14246800
]
Cris Vergara edited comment on CB-8041 at 12/15/14 4:26 PM:
------------------------------------------------------------
{code}
W/CordovaPlugin( 5688): Attempted to send a second callback for ID:
StatusBar1551412097
W/CordovaPlugin( 5688): Result was: "Invalid action"
{code}
This occurs at the start of the start of the application. My android.json is as
follows:
{code:JavaScript}
{
"prepare_queue": {
"installed": [],
"uninstalled": []
},
"config_munge": {
"files": {
"res/xml/config.xml": {
"parents": {
"/*": [
{
"xml": "<feature name=\"Device\"><param
name=\"android-package\" value=\"org.apache.cordova.device.Device\"
/></feature>",
"count": 1
},
{
"xml": "<feature name=\"File\"><param
name=\"android-package\" value=\"org.apache.cordova.file.FileUtils\" /><param
name=\"onload\" value=\"true\" /></feature>",
"count": 1
},
{
"xml": "<feature name=\"FileTransfer\"><param
name=\"android-package\" value=\"org.apache.cordova.filetransfer.FileTransfer\"
/></feature>",
"count": 1
},
{
"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
}
],
"/widget": [
{
"xml": "<feature name=\"Zip\"><param
name=\"android-package\" value=\"org.apache.cordova.Zip\" /></feature>",
"count": 1
}
]
}
},
"AndroidManifest.xml": {
"parents": {
"/*": [
{
"xml": "<uses-permission
android:name=\"android.permission.WRITE_EXTERNAL_STORAGE\" />",
"count": 2
},
{
"xml": "<uses-permission
android:name=\"android.permission.ACCESS_NETWORK_STATE\" />",
"count": 1
}
]
}
}
}
},
"installed_plugins": {
"org.apache.cordova.device": {
"PACKAGE_NAME": "com.bookspan.app"
},
"org.apache.cordova.file-transfer": {
"PACKAGE_NAME": "com.bookspan.app"
},
"org.apache.cordova.inappbrowser": {
"PACKAGE_NAME": "com.bookspan.app"
},
"org.apache.cordova.network-information": {
"PACKAGE_NAME": "com.bookspan.app"
},
"org.apache.cordova.statusbar": {
"PACKAGE_NAME": "com.bookspan.app"
},
"org.chromium.zip": {
"PACKAGE_NAME": "com.bookspan.app"
}
},
"dependent_plugins": {
"org.apache.cordova.file": {
"PACKAGE_NAME": "com.bookspan.app"
}
}
}
{code}
was (Author: crisvergara):
{code}
W/CordovaPlugin( 5688): Attempted to send a second callback for ID:
StatusBar1551412097
W/CordovaPlugin( 5688): Result was: "Invalid action"
{code}
This occurs at the start of the start of the application. My plugins.json is as
follows:
{code:JavaScript}
{
"prepare_queue": {
"installed": [],
"uninstalled": []
},
"config_munge": {
"files": {
"res/xml/config.xml": {
"parents": {
"/*": [
{
"xml": "<feature name=\"Device\"><param
name=\"android-package\" value=\"org.apache.cordova.device.Device\"
/></feature>",
"count": 1
},
{
"xml": "<feature name=\"File\"><param
name=\"android-package\" value=\"org.apache.cordova.file.FileUtils\" /><param
name=\"onload\" value=\"true\" /></feature>",
"count": 1
},
{
"xml": "<feature name=\"FileTransfer\"><param
name=\"android-package\" value=\"org.apache.cordova.filetransfer.FileTransfer\"
/></feature>",
"count": 1
},
{
"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
}
],
"/widget": [
{
"xml": "<feature name=\"Zip\"><param
name=\"android-package\" value=\"org.apache.cordova.Zip\" /></feature>",
"count": 1
}
]
}
},
"AndroidManifest.xml": {
"parents": {
"/*": [
{
"xml": "<uses-permission
android:name=\"android.permission.WRITE_EXTERNAL_STORAGE\" />",
"count": 2
},
{
"xml": "<uses-permission
android:name=\"android.permission.ACCESS_NETWORK_STATE\" />",
"count": 1
}
]
}
}
}
},
"installed_plugins": {
"org.apache.cordova.device": {
"PACKAGE_NAME": "com.bookspan.app"
},
"org.apache.cordova.file-transfer": {
"PACKAGE_NAME": "com.bookspan.app"
},
"org.apache.cordova.inappbrowser": {
"PACKAGE_NAME": "com.bookspan.app"
},
"org.apache.cordova.network-information": {
"PACKAGE_NAME": "com.bookspan.app"
},
"org.apache.cordova.statusbar": {
"PACKAGE_NAME": "com.bookspan.app"
},
"org.chromium.zip": {
"PACKAGE_NAME": "com.bookspan.app"
}
},
"dependent_plugins": {
"org.apache.cordova.file": {
"PACKAGE_NAME": "com.bookspan.app"
}
}
}
{code}
> "org.apache.cordova.statusbar" plugin not work with Android greater or equal
> than 4.1
> -------------------------------------------------------------------------------------
>
> Key: CB-8041
> URL: https://issues.apache.org/jira/browse/CB-8041
> Project: Apache Cordova
> Issue Type: Improvement
> Components: Plugin Statusbar
> Affects Versions: 3.6.3
> Environment: Android 4.0
> Android 4.1
> Android 4.2
> Android 4.4
> Reporter: Colin Bau
> Assignee: Andrey Kurdyumov
> Labels: statusbar-plugin
> Fix For: 3.6.3
>
>
> I am using this plugin in PGB 3.6.3 with all latest core plugin
> https://build.phonegap.com/plugins/715
> https://build.phonegap.com/plugins/core
> according to this
> https://github.com/apache/cordova-plugin-statusbar/blob/bdbaf129595c4a4e3d957a1bc218d05dc5f82a9e/README.md
> "StatusBar.hide" and "StatusBar.show" are supported by Android
> but I tried in different situation,Android have some problem (but ios and
> winphone are totally work)
> Android 4.0.X is work,show and hide function work perfect
> but...
> Android 4.1.X is not work
> Android 4.2.X is not work
> Android 4.3.X have no device to test
> Android 4.4.X is not work
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]