Ionic4 Questions
Ad
Firebase : Extract data from two table and order
I have two firebase table user_groups and groups like this
Why 'The method FB.login can no longer be called from http pages.' does appear in my Ionic4 app?
I'm trying to setup the facebook login in my ionic 4 application but it does not work when i use the cordova method. the console
Ionic 4: Change boolean in data.json to true after scanning a QR-Code
For a university project i have to implement an ionic app using ionic 4. in the app you can scan a qr-code, which provides data about a
how to order query From firestore based on timestamp in ionic 4
I've performed a query to firebase firestore and the data is being called perfectly. but i can't use any kind of ordering on this query.
In ionic how to set storage to login information so when restarting the app takes directly to the home page
I am using the ionic framework. how do i set storage to login information so if the app restart the user can go to the home page when filling the
Firebase API push doesn't open background app on Android device
Firebase api push payload from backend : { "registration_ids": [ "iksiok9zpip5cdcebq67wc7tnpduhmafjm1xdggi44s48jbxeu5iya"
Detect Foreground push click event on Firebase FCM
I use the firebase plugin with
Sort List Descending Based on a Field Value
I need to sort a value-based list of a field from a firebase collection. this field is called "rankeamento", its maximum value is 10 and minimum
How to filter on a long text just one word via Firestore on Ionic 4?
I'm trying to filter using (ionchange) on a searchbar just for a word on a long text (body of a letter) using firestore, but the problem i don't
Is there a way to send an http post request on your android device/emulator without getting this error?
Been trying to send a post http request from my android device but for some reason, it doesn't work due to
Ad
How to go to a details page via routerLink on Ionic 4?
I'm going (using routerlink) to a details page of an object, but instead of the id, it appears undefined,
Unable to remove item from list of objects in typescript
I'm using the following code to retrieve a list of objects from firebase. i need to remove an item from the list but i keep getting -1 for the
ERROR: cordova-res was not found on your PATH
I have a problem in my app ionic 4, when i run ionic cordova platform add android i have this error : [error]
Ionic4: Execution failed for task ':app:processDebugManifest'
I'm working on an ionic4 app with angular and firebase. i was building the app to android using: ionic cordova run android, it was
How do I pass property values from html
<ion-select [(ngmodel)]="selection" (ionchange)="optionsfn(itinerary.daterange)"> <ion-select-option *ngfor="let itinerary of
firebase.auth().currentUser returns null when page is refreshed
I added the function as you mentioned but when i login it shows this error: typeerror: cannot set property 'photo' of undefined
How to show a presentAlert inside a method then on Ionic 4?
I'm trying to show a presentalert inside a "then method", adding a document on a collection (firebase + ionic 4, if its successful, it should
Need a workaround on firebase limit of range comparisons (<, <=, >, >=) on only 1 field
I need to create a compound query that finds overlapping dates in firebase so i came up with the following:
How do I update a property on page load after ngOnInit
I have an ionic 4 app that pulls in a list from firebase ngoninit to page a. when i navigate away from the page a and update the list on a
Error 500 in Firebase functions during Like & Dislike feature
I am currently watching a tutorial bought from udemy, and during the implementation, i encountered a problem while implementing the like or
Ad
ionic firebase get user information from real time database
I am trying to get user information (for example: username) in my firebase database but in .ts file, i could not figure out how to
ionic How to store the data of ion-range into firebase database
I am trying to use ion-range to store its data to firebase but i cannot figure out how to do it. my ion-range has 5 options and i used
Lose the list values when navigating away from page
So i'm storing a list of iitineraries in a private variable that i'm assigning on ngoninit with the following:
<IonFab> element is position outside of screen
I am using ionic 4 with a react set up. ionic start myapp --type=react i am trying to add a simple fab button
Ionic 4 Google Login method returns error 12500
I am implementing a google plus login in android with ionic 4. following this tutorial
Service slower than page | Ionic 4 | Firebase
First of all: i am very new to coding in general. sorry if this question is stupid ^^ i tried to build a simple app in ionic with firestore. now i
Get data from a collection with firestore ionic 4
I would like to get unique data from doc from a collection with firebase firestore so i use to get all data: ngoninit()
download url from firebase storage comes empty
I am using ionic 4 to upload the image from camera to the firebase storage. the upload goes fine but i am having hard time in getting the upload
Capacitor doesn't recive android specific push-notifications
I try to implement push-notifications to my ionic4-capacitor-app. in the app i have this code:
ionic how to show/hide content when logged out/in
In my ionic app, sign up and log in works and the data is saved in firebase but i don't how to hide or show a content in home page when user is
Routes with Express JS
Hi i did a page with ionic 4 base on angular, so i used the routing of angular with guards to manage the access. i get the information
Ad
Cannot find namespace 'ctx' error when creating Context with react - typescript
I'm working on a project with react using typescript and i'm having a bad time figuring out why this error is happening,
Ionic 4: How to save images on device for offline mode that comes from firebase storage
I use sqlite native plugin for storing the text content but i need to do that with images too! ( for offline
How Can I assign the SnapshotChanges in a Observable Firebase Variable?
I want to load all the data of a document, but i can not access the id of the document. when i print the object this.ressobj the id is visible,
Unable to fetch value in a variable
In home.ts, i am getting one value in a function. i need that value in a variable outside that function. below is
Filter data with .indexOn rules in Firebase realtime database with AngularJS
I'm using firebase realtime database structure like shown below. and want to extract all model which has red
get the random key from firebase database in ionic 4
I'm trying to get the random key that is generated when i add data under "course" to firebase. i'm using ionic 4 for my application. [1]
Async Await Behaviour
A simple code to understand async/await is making me crazy. i have a button on click on which i am reading some value from localstorage
How to combine two observables to create new observable?
I have two services named 'patientsservice' and 'appointmentservice'. in third service 'appointedpatientsservice', i want to subscribe to
Failed to apply plugin [class 'com.google.gms.googleservices.GoogleServicesPlugin'] (For input string: "+")
I want to implement push notifications with firebase cloud messenging service. i added : ionic cordova plugin add
Firestore Security Rules Permission Issue
I have documents in firestore collection called 'inventories' of the following structure: { creator: string, images:
How to make pic upload seen immediately
I'm creating an ionic app that allows users to upload pics to firebase storage. the problem i'm having is that it's only changing the pic when a
Ad
No value accessor for form control with unspecified name attribute for ngControl
I'm creating an ionic social app. you upload a pic to a firebase backend. i'm getting the following error message when go to the profile page:
IONIC ISSUE Could not resolve org.jetbrains.kotlin:kotlin-stdlib:1.1.3-2
I am trying to build and emulate an android app using ionic framework, but i am facing some issues after running ionic cordova build android. here
IONIC V4 app close when adding markers in google maps
I have a problem with google maps and ionic v4. i created an app using ionic, firebase and google maps. in my home view i have a google maps view
Angular - ERROR - Cannot match any routes (URL Segment)
This is my create page that i am pushing the data into my firebase. the data is saved on the firebase . there is a save button and when i click
How to upload pictures to firebase in Ionic 4?
I'm unable to upload images to firebase. any help would be appreciated. is anyone familiar with how to upload pictures to firebase in
Android SDK licenses
I have error while compile ionic application. checking the license for package android sdk build-tools 26.0.2 in
firebase.auth.Auth.signInWithCredential is deprecated. Please use firebase.auth.Auth.signInAndRetrieveDataWithCredential instead
When is use this.afauth.auth.signinwithcredential everything works great in my ionic app. i can sign in using google authentication and the user
Unsupported field value: a function (found in field creationTime)
User-profile.ts export interface userprofile { id: string; name: string; email: string; phone?: string;
Cloud Firestore optimized database setup for minimal read/write operations
I'm to get an answer on whether or not the way my database is setup will cause too many recursive reads and therefore exponentially increase the
How can i get single document from Firestore with query (I'm using Ionic 4 )
Good morning , i have database in firestore below : **collections** **documents** **fields** 123
'User' is not a assignable to type 'void'
I've been stuck for months with ionic 4 and firestore. once i went to firestore and ionic 4 lots of things broke so i'm starting from scratch.
Ad
Getting count of contacts correct but getting null values for contacts in Ionic 4
I am using ionic contacts plugin it is giving me the correct number of contacts in the phone but all the details field are null, i am
Ionic 4 Uploadcare ERR_CONNECTION_REFUSED
I'm getting this error when i try to upload some picture via ionic 4 using uploadcare (cannot display the image because of the error) how could i
Slides don't work if a slide is wrapped within a custom component
I want to wrap my slide component in my own component to achieve atom methodology. but since ion-slide is not a direct child of
Routing with firebase authentication and angular router
I am building an ionic app with ionic4. therefore i use firestore as database. also i want to use the firebase-authentication to login and
Ionic 4 Angular: Uncaught ReferenceError: dismissModal is not defined at HTMLElement.onclick (BUT function IS defined!)
error: uncaught referenceerror: dismissmodal is not defined at htmlelement.onclick
cordova-plugin-whitelist codova plugin is not supported for ios
I'm trying to retrieve some data from server, using ionic 4, the app actually works fine on browser but when i use a real device it doesnt work,
Ionic v4 + firestore authentication
I'm trying to develop a small ionic v4 hybrid app. the app should contain a login and authentication. ionic v4 provides the whole routing package
Ionic 4 app hosted on Firebase returns 404 ONLY on reload
I created an ionic 4 pwa using @angular/pwa, firebase hosting and this very
Can't deploy firebase cloud function
I'm trying to deploy a firebase cloud function with cors but it doesn't work. this is my code bellow, can someone help me with this ?
Angular & Cloud Firestore Observable Does Not Complete
I want to show a message or hide spinner when the observable is complete but firestore observable is endless i guess. in other words it's "hot" as
Does Ionic Firebase have the same features as native?
I was wondering if ionic firebase has the same features as the native firebase. (let's say android). i'm especially interested in the database
Ad
Requiring node modules in ionic + electron (5.0.0) desktop application
I'm building a desktop application using ionic and electron. i started using electron v4.1.3 and i was able to require node
how to add a text field with google places dynamically using ionic 4
I'm tying to use google-place-api autocomplete in my project, but it gives me an error: typeerror: cannot read property
Firebase Realtime Database Ionic returning null
I'm trying to incorporate a firebase database into my ionic application using angular. i was following the instructions laid out on the
clientHeight & clientWidth always zero in Angular & Ionic Component
I have barcode component, when used it should show a barcodescanner in the correct width and height (the containers width and height). these
"The GET method is not supported for this route. Supported methods: POST" message in my laravel API
I followed a tutorial to do a login page with an external api, but my api is not working. in the localhost
Keycloak for ionic app : keycloak-js with cordova-native does not work
I am trying to use the keycloak-js(from 4.4.0.final) library in my ionic(4) cordova application. i have followed the
Dynamically connect to NodeJS server using socket.io
I have an ionic chatting app and a nodejs server , it works fine , the only issue that is the server ip/port is hardcoded in a config object.
How we can hide splash screen in ionic app?
There is anyway to hide or don't display splash screen in ionic app, and splash screen time in capacitor is fewer or in cordova is fewer, and how
How can i Make a fetch function to get json data from an api that requires authentication headers?
I am using rapidapi to get some data from a football app but can understand why this throw this error. i have tried this code but it
ionic page data does not update
So say i have page one: this page contains multiple variables and a constructor. it could look something like this: export
Ionic does not show json data on android emulator or devapp
On localhost:8100 with ionic serve command, app is calling json data via web api (asp.net core
Ad
How to fix "Property 'getAll' does not exist on type 'typeof firestore'"
I'm getting a list of documents using an array of document ids using firestore.getall(). the problem is that i can't call getall() since
Is there any way to implement try again button into ionic app?
I want to create an app that has an alert for check connection with two button one is exit for the exit app and two is try again for check
Ionic4 Error TS2554: Expected 1 arguments, but got 0
I have a piece of code that has issue when i am testing with ionic serve. i cannot figure out what went wrong after npm
How to fetch image in Ionic 4 with Laravel 4 api call locally
I am fetching api call locally from laravel 4 as
How to a call function after dismiss the Modal in Ionic 4
I am using modal and want to call a function after dismiss the modal. i have tried ondiddismiss() method but
Ionic 4 & Laravel API - Getting null response on http request
I'm developing a mobile app in ionic 4. but i don't know why i'm getting a null response from the api. the api is made on laravel and works fine
Webpack not resolving paths supplied by JS variable
I'm making an app with vue and ionic, but when trying to load assets the paths are not resolving.
Angular/Ionic4 How to send an sms without opening native sms App
So i have been following the github
How can I assign a number to a type 'BehaviorSubject<number>'
How to assign a number to type 'behaviorsubject<number>'?
Ad
Blog Categories
Ad