azure-activedirectory-library-for-cordova icon indicating copy to clipboard operation
azure-activedirectory-library-for-cordova copied to clipboard

Plugin unavailable when using livereload in ionic.

Open woutderooms opened this issue 8 years ago • 2 comments

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

  1. Installed plugin version: Latest
  2. Target Platform: Windows 10
  3. Cordova and platform versions: 7.1.0, Platform: Windows 5.0.0
  4. Test device and OS version: emulating UWP under windows (x86 + x64)
  5. 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

woutderooms avatar Oct 19 '17 16:10 woutderooms

+1

Muldoser avatar Oct 23 '17 08:10 Muldoser

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

kh4zad avatar Feb 27 '18 18:02 kh4zad