initialxy / cordova-plugin-themeablebrowser

Fork of org.apache.cordova.inappbrowser in an attempt to make it a bit more themeable and configurable to add some custom actions.
Apache License 2.0
294 stars 221 forks source link

clearsessioncache disable all custom styles of themeableBrowser #172

Open Hanzofm opened 6 years ago

Hanzofm commented 6 years ago

Hi,

I am trying to use this plugin with last version and ionic framework. My problem occurs when use the clearsessioncache?: string; attribute. The browser opens without any style or icon, only a white bar is showed. It seems that this problem occurs with other original attributes for example clearcache or hidden..


{
      statusbar: {
        color: '#005faa'
      },
      toolbar: {
        height: 55,
        color: '#005faa'
      },
      title: {
        color: '#ffffffff',
        showPageTitle: true
      },
      closeButton: {
        image: 'back',
        imagePressed: 'back',
        align: 'left',
        event: 'closePressed'
      },
      backButtonCanClose: true,
      transitionstyle: 'crossdissolve',
      clearsessioncache: 'yes'
    }

this is other issue with the same problem: https://github.com/initialxy/cordova-plugin-themeablebrowser/issues/127

Any plan to solve this?

fabledfoe commented 6 years ago

I didn't run into this issue when using true instead of 'yes'.