pbakondy / cordova-plugin-speechrecognition

:microphone: Cordova Plugin for Speech Recognition
MIT License
197 stars 117 forks source link

Android launch mode `singleInstance` and android API level compatibility table #71

Open SidMorad opened 6 years ago

SidMorad commented 6 years ago

As it says here one of the requirements of this plugin is:

<android:launchMode> must not be singleInstance.

And in my current project for having better customer experience I kind of have to set android launch mode to singleInstance (reference).

I did test this plugin (while launch mode was singleInstance) in following devices and I was wondering maybe there is someone? who did test this plugin also in other devices/android API levels? and could share with us the result, or better explains why this plugin(with launch mode singleInstance) works fine in some and not the others?

Android API level did work Android launch mode
18 No singleInstance
21 Yes singleInstance
22 Yes singleInstance
24 Yes singleInstance

As you see in above table, it seems we do have better result as Android API level goes up, so do you think is it safe to conclude that this plugin will works with launch mode singleInstance as of some API level (e.g. 19) ?

Plus I want to say, I do care for having better customer experience, and it will be amazing if either of my two issues can get solve in one place. Otherwise I have to maintain at least one more branch for this which means more work(e.g. merge updates, apk signing, etc) for me.

Thank you for reading this, and thank you for creating this plugin! :+1: