azure-activedirectory-library-for-cordova
azure-activedirectory-library-for-cordova copied to clipboard
Plugin unavailable when using livereload in ionic.
Issue Description
When using the cordova-plugin-ms-adal in an ionic project everything works as expected. However once I enable livereload, I get the message that the cordova plugin is not available. (I am waiting for platform.ready(), so this is not the issue. Other cordova plugins are available when using the livereload flag.
I think it might be due to ionic enabling 'remote mode' because it will serve the HTML and JS from a dev server when livereload is enabled. If this is the case, how would I go around disabling the security features to enable this plugin anyhow (during development)?
Repro Environment Details
- Installed plugin version: Latest
- Target Platform:
Windows 10 - Cordova and platform versions: 7.1.0, Platform: Windows 5.0.0
- Test device and OS version: emulating UWP under windows (x86 + x64)
- Are you using Cordova from command line or special Cordova IDE (Visual Studio Cordova Tools, etc), what version? using ionic (version 3.13.1)
Kr, Wout
+1
Take a look here: https://stackoverflow.com/questions/40815183/ionic-2-cordova-is-not-available-make-sure-to-include-cordova-js-or-run-in-a-d?rq=1