Questions tagged [ionic3]

Ionic 3 was the newer version of Ionic, an open source SDK that enabled developers to build mobile apps using standard web technologies (HTML, CSS, and JavaScript). Ionic 3 finally took a back-seat to Ionic 4 in 2019 after 2 years. Ionic 3 was paired with Angular 4 and above.

GitHub Repository: https://github.com/ionic-team/ionic

Documentation: https://ionicframework.com/docs/v3/

10389 questions
23
votes
3 answers

Ionic 3 - xcode error with cocoapods

I try to build an ionic 3 app with push notification and I have some problem with iOS deployment. I have this 3 error in xcode : diff: /Podfile.lock: No such file or directory diff: /Manifest.lock: No such file or directory error: The sandbox is…
V. Pivet
  • 1,320
  • 3
  • 25
  • 57
23
votes
6 answers

Custom component in ionic v3

I wanted to create a simple component and include it on a page. I created it with ionic g component my-header (ionic-cli v3 beta), fixed the IonicPageModule bug and then added to another page. I then get this error: Error: Uncaught (in promise):…
Andreas Gassmann
  • 6,334
  • 7
  • 32
  • 45
22
votes
8 answers

Ionic 3 prod release build issue with intellij-core-26.0.1

I am creating release APK using the following versions : node - 8.12.0 gradle - 4.10.2 ionic CLI - 4.0.5 Cordova - 8.0.0 When I run the ionic cordova build android --prod --release I am getting the following error. FAILURE: Build failed with an…
Sarath
  • 1,459
  • 3
  • 22
  • 38
22
votes
0 answers

__WEBPACK_IMPORTED_MODULE_1_firebase_app__.app is not a function

Firebase provider import { HttpClient } from '@angular/common/http'; import { Injectable } from '@angular/core'; import { AngularFireDatabase, FirebaseListObservable } from 'angularfire2/database'; @Injectable() export class FirebaseProvider { …
Rajpurohit
  • 1,951
  • 2
  • 16
  • 19
22
votes
7 answers

Ionic 2 / Ionic 3 : How to get current location of a device

None of the answers on stackoverflow worked for me. A lot of them are for Ionic 1 or those answers are deprecated or they are not working for android device. I have seen a lot of solutions on stackoverflow about getting current location of device…
kumar kundan
  • 2,027
  • 1
  • 27
  • 41
22
votes
2 answers

Ionic 3 not updating view

Hi I got a function which will update after a http request to the server. It seems that the console.log show that the value has been updated but the UI is not updating unless I click on any other component(ex. input). This is my…
Redzwan Latif
  • 886
  • 3
  • 14
  • 38
22
votes
2 answers

Typescript returning boolean after promise resolved

I'm trying to return a boolean after a promise resolves but typescript gives an error saying A 'get' accessor must return a value. my code looks like. get tokenValid(): boolean { // Check if current time is past access token's expiration …
user2473015
  • 1,392
  • 3
  • 22
  • 47
22
votes
1 answer

Property 'value' does not exist on type 'ElementRef'

I have tried to set the value of #name1 as shown below.But it shows compile time error as shown below.Can you please tell me how to set the value for the text component? Here I'm using one-way data bind and template-driven approach. [ts] Property…
Sampath
  • 63,341
  • 64
  • 307
  • 441
22
votes
5 answers

How to Include JS file in ionic 3

Im looking for a way to access a variable from external js file which i included in assets/data folder below is what i tried placed test.js in assets/data folder in test.js added variable testvar = "heloo from external js"; added script tag in…
rashidnk
  • 4,096
  • 2
  • 22
  • 32
21
votes
9 answers

IONIC 3: Execution failed for task ':app:processDebugResources'

Execution failed for task ':app:processDebugResources'. This error comes when execute "ionic cordova build android". Searched for a long time but no luck. Anyone can help? FAILURE: Build failed with an exception. * What went wrong: Execution failed…
Ansib Raza
  • 388
  • 2
  • 3
  • 11
21
votes
4 answers

Ionic Ion-Button icon-only

I'm very new in Ionic2 or Ionic at all. I set up a new project and want to design a small menu at the bottom of the foot of my page. I didn't do anything else on this project and trying to imitate the steps of a tutorial video. but when I use the…
Christian Gehn
  • 341
  • 1
  • 3
  • 13
21
votes
1 answer

Identifier refers to a private member of the component

.html .ts export class OfflineArticlesPage { private pickData: picksModel[] = []; constructor(private localCacheService: LocalCacheServiceProvider) { } } When I…
Sampath
  • 63,341
  • 64
  • 307
  • 441
20
votes
9 answers

Why white screen stuck after splash screen in Ionic 4?

I run ionic cordova run android for my Ionic Cordova project. At this time, I have my mobile connected to PC via USB. So when I run that command, it installs the app on my real device Android Redmi Note 6 PRO. But what really happens is when the app…
Nika Kurashvili
  • 6,006
  • 8
  • 57
  • 123
20
votes
4 answers

How do I fingerprint images and other static assets in Ionic for cache busting?

I have extended default web pack config in Ionic v3 for forcing cache busting. I am able to fingerprint generated JavaScript artifacts, but I am unable to fingerprint images and JSON files under the assets folder. I took Help from Bundled files and…
Vikas
  • 11,859
  • 7
  • 45
  • 69
20
votes
6 answers

Handling hardware back button in Ionic3 Vs Ionic4

Please find the below code for the Android hardware back button action in ionic3. As Ionic4 uses angular routing for navigation how the pop event will take place for the back button? If we want to pop to the last page we can use the following code…
Arj 1411
  • 1,395
  • 3
  • 14
  • 36