Open yavuzmercan opened 6 years ago
I'm doing trials in the android platform
I want to apply effects on the dimmer or direct image
by the way I use nativescript angular template
<Image stretch="aspectFill" id="blurMe" src="https://mymodernmet.com/wp/wp-content/uploads/2017/09/albert-dros-landscape-photography-tips-4.jpg"></Image>
turnBlurOn(args) { let kittyView = this.page.getViewById('blurMe'); this.blur.on(kittyView, 'blurMe', 25, 'dark').then((src) => { console.log('Kitty has become blurry.'); }).catch(e => { console.dir(e); }); }
turnBlurOff() { this.blur.off('blurMe'); }
Please read the demo in my repo https://github.com/shiv19/nativescript-blur/blob/master/demo/app/main-view-model.ts
It shows you how to use this plugin on Android
read the demo
blurOn is work but BlurOff not work
The way you are using blurOff won't work on android. see my repo. not this one. this one has some old code. because PR hasn't been merged yet
Crap Shiva I never accepted your pull request sorry! I'll do that later.
can you provide more details please