93b54ce13a
You just can add an 'adapter' option to the kc.init() function like : kc.init({adapter: "default | cordova"}); This will allow the users to choose the adapter they want. They can force the use of the default adapter even if they are using cordova or use the cordova adapter even if they are using a regular desktop. If you omit this parameter, it just fallback to the old way. So, if you are under cordova it will run the cordova adapter and if you are under a desktop, it will load the default adapter instead. Hope this can help. |
||
---|---|---|
.. | ||
src/main/resources | ||
pom.xml |