angular-token icon indicating copy to clipboard operation
angular-token copied to clipboard

Angular 6 AOT

Open aehven opened this issue 6 years ago • 0 comments

I'm submitting a...

  • [ ] Regression (a behavior that used to work and stopped working in a new release)
  • [ x] Bug report
  • [ ] Performance issue
  • [ x] Feature request
  • [ ] Documentation issue or request
  • [ ] Other... Please describe:

Current behavior

Not sure if this is a bug or a feature request, but this library doesn't seem to work with AOT compiler in Angular 6. What I'm seeing is that in development mode access token and some other related values are written to local storage, whereas with AOT turned on, those are not written

Expected behavior

Access token, uid, etc. written to local storage.

What is the motivation / use case for changing the behavior?

Environment

Angular-Token version: 7.0.1 Angular version: 6.1.0

Bundler

  • [x ] Angular CLI (Webpack)
  • [ ] Webpack
  • [ ] SystemJS

Browser:

  • [ x] Chrome (desktop) version 71
  • [ ] Chrome (Android) version XX
  • [ ] Chrome (iOS) version XX
  • [ ] Firefox version XX
  • [ ] Safari (desktop) version XX
  • [ ] Safari (iOS) version XX
  • [ ] IE version XX
  • [ ] Edge version XX

Others:

aehven avatar Jan 30 '19 23:01 aehven