diff --git a/examples/cordova/README.md b/examples/cordova/README.md index 30f5d4b23b..f7bc6b1ddd 100644 --- a/examples/cordova/README.md +++ b/examples/cordova/README.md @@ -30,3 +30,10 @@ Install to Android phone or emulator Once the application is opened you can login with username: 'user', and password: 'password'. + + +Troubleshooting +----------------------------------------- + + * You always need to initialize keycloak after the 'deviceready' event. Otherwise Cordova mode won't be enabled for keycloak.js. + * 'http://localhost' should be listed in the allowed redirects in client configuration, but never 'file:///android_asset'.