Native themeableBrowser plugin: clearsessioncache attribute disable all custom styles


#1

Current behavior:
It occurs when use the
clearsessioncache?: string; original inAppBrowser attribute. The browser opens without any style or icon, only a white bar is showed.

Expected behavior:
The browser should open with styles and with the session cleared

Steps to reproduce:
Use this options to open a themeable browser
{
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’
}


**Other information:**
It seems to occur with other attributes of the original inAppBrowser like clearcache or hidden.

More people with this problem: https://github.com/initialxy/cordova-plugin-themeablebrowser/issues/127

**Ionic info:** (run `ionic info` from a terminal/cmd prompt and paste output below):
cli packages: (/usr/local/lib/node_modules)

@ionic/cli-utils : 1.19.0
ionic (Ionic CLI) : 3.19.0

global packages:

cordova (Cordova CLI) : 7.0.1 

local packages:

@ionic/app-scripts : 3.1.2
Cordova Platforms  : android 6.3.0 ios 4.4.0
Ionic Framework    : ionic-angular 3.9.2

System:

ios-deploy : 1.9.2 
ios-sim    : 6.1.2 
Node       : v6.10.3
npm        : 3.10.10 
OS         : macOS High Sierra
Xcode      : Xcode 9.1 Build version 9B55 

Environment Variables:

ANDROID_HOME : /Users/juanramos/Library/Android/sdk//Users/juanramos/Library/Android/sdk


Any idea to solve this?