question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Update RXJS to v6 so ionic native can be used with angular 6

See original GitHub issue

Feature Request

Ionic Info Run ionic info from a terminal/cmd prompt and paste the output below.

✔ Gathering environment info - done!

Ionic:

   ionic (Ionic CLI)  : 4.1.2 (/Users/borntsch/.nvm/versions/node/v8.11.4/lib/node_modules/ionic)
   Ionic Framework    : ionic-angular 3.9.2
   @ionic/app-scripts : 3.2.0

Cordova:

   cordova (Cordova CLI) : 8.0.0
   Cordova Platforms     : none
   Cordova Plugins       : no whitelisted plugins (0 plugins total)

System:

   ios-deploy : 1.9.2
   NodeJS     : v8.11.4 (/Users/borntsch/.nvm/versions/node/v8.11.4/bin/node)
   npm        : 6.4.1
   OS         : macOS High Sierra
   Xcode      : Xcode 10.0 Build version 10A255

Describe the Feature Request Update rxJS to version 6 so this plugin doesn’t throw these warnings in the console when used with angular 6 (which depends on rxJS 6):

npm WARN @ionic-native/aes-256@4.12.2 requires a peer of rxjs@^5.5.11 but none is installed. You must install peer dependencies yourself.
npm WARN @ionic-native/app-version@4.12.2 requires a peer of rxjs@^5.5.11 but none is installed. You must install peer dependencies yourself.
npm WARN @ionic-native/camera@4.12.2 requires a peer of rxjs@^5.5.11 but none is installed. You must install peer dependencies yourself.
npm WARN @ionic-native/core@4.12.2 requires a peer of rxjs@^5.5.11 but none is installed. You must install peer dependencies yourself.
npm WARN @ionic-native/deeplinks@4.14.0 requires a peer of rxjs@^5.5.11 but none is installed. You must install peer dependencies yourself.

Describe Preferred Solution No more warnings in the console.

Describe Alternatives None.

Related Code

Additional Context

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
FdezRomerocommented, Sep 19, 2018

I can’t talk for the team, but I don’t think support for RxJS 6 will ever be added to Ionic Native 4 because it would be a breaking change (semver).

I have been using Ionic Native v5 for quite some time and it’s quite stable. Just notice that you need to add /ngx to the import paths to get the Angular service.

In any case, this issue would belong in the Ionic Native repo: https://github.com/ionic-team/ionic-native/issues

0reactions
ionitron-bot[bot]commented, Oct 19, 2018

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Update RXJS to v6 so ionic native can be used with angular 6
Current behavior: Update rxJS to version 6 so this plugin doesn't throw these warnings in the console when used with angular 6 (which...
Read more >
App Migration Guide: Documentation to Migrate Ionic 4.x to 5.x
The Ionic Migration Guide provides documentation for how to migrate an app from 4.x to 5.x. Read to learn more about what updates...
Read more >
How to use angular 6 in ionic 3? - Stack Overflow
I installed ionic-native V5 which is using rxjs v6 (required by angular6 and incompatible with previous versions). Here is my app.module.ts file
Read more >
Angular 6 Upgrade: Migrating to RxJS 6 - Techiediaries
Throughout this tutorial, we'll see how to upgrade your Angular 6 project to use RxJS 6.
Read more >
NgForm - Angular
To register child controls with the form, use NgModel with a name ... If you want to explicitly enable native DOM validation UI...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found