Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clearcache option removes all other option in themeable browser #127

Open
thomasmanho opened this issue Apr 11, 2017 · 1 comment
Open

Comments

@thomasmanho
Copy link

thomasmanho commented Apr 11, 2017

I am using the themeable browser in android and I got this code

cordova.ThemeableBrowser.open(url, '_blank', {
clearcache: 'yes',
toolbar: {
color: '#0c60eeFF',
height: 30
},
title: {
color: '#FFFFFFFF',
showPageTitle: true,
staticText: backButtonText
},
closeButton: {
wwwImage: 'img/close_icon.png',
align: 'left'
},
backButtonCanClose: true,
hidden: true,
zoom: false,
}).addEventListener('loadstop', function() {
$ionicLoading.hide();
browser.show();
});

Before adding clearcache: 'yes', everything runs perfectly in both iOS and Android. After adding clearcache: 'yes', iOS still runs perfectly but somehow Android seems like removing all other options except clear cache. For instance, in Android, the toolbar disappeared and I can zoom in the webpage in the browser. Yet, the browser can really clear the cache in both iOS and Android

Anyone has any ideas about using options of the original in app browser in themeable browser?

@thomasmanho thomasmanho changed the title clearcache option removes all other option in themeable clearcache option removes all other option in themeable browser Apr 11, 2017
@Hanzofm
Copy link

Hanzofm commented Dec 20, 2017

@thomasmanho @initialxy Same problem, any idea?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants