Category : ionic-framework

For my native APP Project, I got two tabs, one is homepage tab, another tab called ‘MyAccount’ was shared by login page and account page. After login successfully, it can navigate to the account page but when I click on the ‘MyAccount’ tab, it will navigate back to the login page. I need to manually ..

Read more

I’m trying to Integrate GooglePlus signin to Ionic w/ Angular app. error: ERROR Error: Uncaught (in promise): Error: Invalid provider for the NgModule ‘UsersModule’ – only instances of Provider and Type are allowed, got: [Keyboard, ?[object Object]?] users.module.ts … import { GooglePlus } from ‘@ionic-native/google-plus’; @NgModule({ declarations: [ … ], entryComponents: [ … ], imports: ..

Read more

I can’t manage to refresh my list of elements after I delete an item. And, what I DO NOT understand : why does it work after adding an element. What’s the difference ? I looked for multiple solutions, but I didn’t find a good one. My service addWord(word: Word) { db.collection(‘words’).add({ name: this.toolsService.upperFirstletter(word.name), description: word.description ..

Read more

Trying to use the storage version 2.1.3 in my ionic application but getting the error: NullInjectorError: R3InjectorError(AppModule)[AppModule -> Storage -> Storage -> Storage]: NullInjectorError: No provider for Storage! ionic 6 I saw some posts about it, telling to use the forRoot statement, but didn’t work anyway. My appModule: import { NgModule, OnInit } from ‘@angular/core’; ..

Read more

private userSubject$: BehaviorSubject<UserModel> = new BehaviorSubject<UserModel>(null); userChanged$: Observable<UserModel> = this.userSubject$.asObservable(); It says: Member userChanged$ should be declared before all private instance field [email protected]/member-ordering I like this rule. But how can I use the above code without disabling this rule? If I’ll change the order then it says: Property ‘userSubject$’ is used before its initialization. Source: ..

Read more