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

"closePressed" not trigger that only in iOS #77

Open bau720123 opened 8 years ago

bau720123 commented 8 years ago

hi @sencenan I am using => Cordova Cli 6.0 + Cordova-iOS 4.1.0 + cordova-plugin-wkwebview-engine 1.0.2 + cordova-plugin-themeablebrowser 0.2.13 + iOS 9.2.1 (ipad mini)

I test your sample code many times,Android no problem at all,but in iOS,the "closePressed" not trigger

initialxy commented 8 years ago

@bau720123 Sorry I'm no longer actively involved in this project. See #75 Please direct your questions to new maintainer @sencenan Thanks for providing feedbacks!

sencenan commented 8 years ago

@bau720123 that does seem to be a problem. For now, is the "exit" event sufficient?

bau720123 commented 8 years ago

hi @sencenan thanks your reply I can't understand what your true meaning Briefly,the "closePressed" not trigger in iOS,that's all

sencenan commented 8 years ago

hi @bau720123

I meant was while now the "closePressed" event is not working, there is another event called "exit" which does get fired when the browsers closes. I was wondering if that would help with your use case for now as a workaround.