You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2021/02/23 15:48:19 UTC

[GitHub] [cordova-plugin-inappbrowser] jagzmz opened a new issue #849: [BUG] [Android] InAppBrowser changes StatusBar color to black when opened!

jagzmz opened a new issue #849:
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/849


   ## Problem
   Opening InAppBrowser with "_blank" option, opens the InAppbrowser but changes the StatusBar Color for android to black.
   
   ### What is expected to happen?
   It should persist the existing StatusBar Color which was set when the cordova application was launched.
   
   
   
   ### Version information
   Cordova Packages:
   
       cli: 10.0.0
           common: 4.0.2
           create: 3.0.0
           lib: 10.0.0
               common: 4.0.2
               fetch: 3.0.0
               serve: 4.0.0
   
   Project Installed Platforms:
   
       android: 9.0.0
       ios: 5.1.1
   
   Project Installed Plugins:
   
       cordova-plugin-android-permissions: 1.1.0
       cordova-plugin-androidx-adapter: 1.1.1
       cordova-plugin-androidx: 2.0.0
       cordova-plugin-browser: 2.0.0
       cordova-plugin-deeplinks: 1.1.1
       cordova-plugin-device: 2.0.3
       cordova-plugin-dialogs: 2.0.2
       cordova-plugin-file-opener2: 3.0.5
       cordova-plugin-file-transfer: 1.7.1
       cordova-plugin-file: 6.0.2
       cordova-plugin-geolocation: 4.0.2
       cordova-plugin-inappbrowser: 4.1.0
       cordova-plugin-keyboard: 1.2.0
       cordova-plugin-navigationbar-color: 0.0.8
       cordova-plugin-network-information: 2.0.2
       cordova-plugin-os-call-number: 1.0.2
       cordova-plugin-request-location-accuracy: 2.3.0
       cordova-plugin-statusbar: 2.4.3
       cordova-plugin-whitelist: 1.3.4
       cordova-plugin-wkwebview-engine: 1.2.2
       cordova-plugin-wkwebview-file-xhr: 3.0.0
       cordova-plugin-x-socialsharing: 6.0.2
       cordova-plugin-x-toast: 2.7.2
       cordova-support-android-plugin: 1.0.2
       cordova.plugins.diagnostic: 6.0.2
       es6-promise-plugin: 4.2.2
       onesignal-cordova-plugin: 2.11.1
   
   Environment:
   
       OS: macOS 11.1 (20C69) (darwin 20.2.0) x64
       Node: v14.9.0
       npm: 6.14.8
   
   
   ## Checklist
   
   - [x] I searched for existing GitHub issues
   - [x] I updated all Cordova tooling to most recent version
   - [x] I included all the necessary information above
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-inappbrowser] jorhel commented on issue #849: [BUG] [Android] InAppBrowser changes StatusBar color to black when opened!

Posted by GitBox <gi...@apache.org>.
jorhel commented on issue #849:
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/849#issuecomment-785138753


   Cordova as a update from the oficial plugin. 
   [https://cordova.apache.org/announcements/2021/02/16/inappbrowser-release-5.0.0.html](https://cordova.apache.org/announcements/2021/02/16/inappbrowser-release-5.0.0.html)


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-inappbrowser] poohia commented on issue #849: [BUG] [Android] InAppBrowser changes StatusBar color to black when opened!

Posted by GitBox <gi...@apache.org>.
poohia commented on issue #849:
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/849#issuecomment-860041816


   @jagzmz 
   
   I have apk with my code working, but I appenned some features and now i have status bar always black now ( maybe updated packaging ).
   
   Android 8.0.0
   
   Code: 
   
   ```javascript
   document.addEventListener(
       "deviceready",
       () => {
          window.cordova.InAppBrowser.open(
                 url,
                 "_blank",
                 "location=no,hidenavigationbuttons=yes,zoom=no,fullscreen=yes,footer=no"
               );
   })
   ```
   
   Proof:
   ![Screenshot_20210612-134011](https://user-images.githubusercontent.com/17701613/121774698-ebabef00-cb83-11eb-81cf-6162800b969e.jpg)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-inappbrowser] brunogc commented on issue #849: [BUG] [Android] InAppBrowser changes StatusBar color to black when opened!

Posted by GitBox <gi...@apache.org>.
brunogc commented on issue #849:
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/849#issuecomment-794630702


   I'm not sure if this is a bug. As far as I can remember, the plugin has always worked this way.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-inappbrowser] poohia commented on issue #849: [BUG] [Android] InAppBrowser changes StatusBar color to black when opened!

Posted by GitBox <gi...@apache.org>.
poohia commented on issue #849:
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/849#issuecomment-857735567


   @brunogc  I have already managed to change the color of the statusbar with InAppBrowser


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-inappbrowser] jagzmz commented on issue #849: [BUG] [Android] InAppBrowser changes StatusBar color to black when opened!

Posted by GitBox <gi...@apache.org>.
jagzmz commented on issue #849:
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/849#issuecomment-858933939


   @poohia Can you share the code snippet on how you achieved that?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-inappbrowser] poohia edited a comment on issue #849: [BUG] [Android] InAppBrowser changes StatusBar color to black when opened!

Posted by GitBox <gi...@apache.org>.
poohia edited a comment on issue #849:
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/849#issuecomment-860041816


   @jagzmz 
   
   I have apk with my code working, but I appenned some features and now i have status bar always black now ( maybe updated packaging ).
   
   Android 8.0.0
   
   Code: 
   
   index.js
   ```javascript
   document.addEventListener(
       "deviceready",
       () => {
          window.cordova.InAppBrowser.open(
                 url,
                 "_blank",
                 "location=no,hidenavigationbuttons=yes,zoom=no,fullscreen=yes,footer=no"
               );
   })
   ```
   
   config.xml
   ```xml
   <preference name="StatusBarOverlaysWebView" value="true" />
   <preference name="StatusBarBackgroundColor" value="#13a880" />
   ```
   
   
   Proof:
   ![Screenshot_20210612-134011](https://user-images.githubusercontent.com/17701613/121774698-ebabef00-cb83-11eb-81cf-6162800b969e.jpg)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-inappbrowser] jagzmz commented on issue #849: [BUG] [Android] InAppBrowser changes StatusBar color to black when opened!

Posted by GitBox <gi...@apache.org>.
jagzmz commented on issue #849:
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/849#issuecomment-786658641


   Is this a known bug with inappbrowser android?


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-plugin-inappbrowser] jagzmz commented on issue #849: [BUG] [Android] InAppBrowser changes StatusBar color to black when opened!

Posted by GitBox <gi...@apache.org>.
jagzmz commented on issue #849:
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/849#issuecomment-785649583


   @jorhel 
   Problem still persists with version 5.0.0


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org