Google+

Friday, June 25, 2021

SOLVED : How to fix Angular 10 Ionic ERROR "NullInjectorError: No provider for Contacts!" on Ionic 5

 In this article we review how to  fix Angular 10 Ionic ERROR "NullInjectorError: No provider for Contacts!"  on Ionic 5,    looking like this :




 How to fix Angular 10 Ionic ERROR "NullInjectorError: No provider for Contacts!"  using Ionic 5


After you received this error, you'd probably take a look at the documentation on the official website of Ionic, and on the Github repository for the Contacts component:

https://www.npmjs.com/package/@ionic-native/contacts
https://ionicframework.com/docs/native/contacts#usage

But the problem is also there: the documentation is not up to date.













You can copy-paste all pieces of source code as you move forward through this Tutorial, or elsewhere you can download the entire Angular code from the following URL:

That's All!!! 
Enjoy Angular.....

      by Carmel Schvartzman

כתב: כרמל שוורצמן

No comments:

Post a Comment