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
13
votes
11 answers

TypeError: Object(...) is not a function

working on ionic3, angularfire2 v5 TypeError: Object(...) is not a function at SwitchMapSubscriber.project (http://localhost:8100/build/vendor.js:73935:76) at SwitchMapSubscriber._next (http://localhost:8100/build/vendor.js:61778:27) at…
Biswajit
  • 978
  • 3
  • 11
  • 30
13
votes
1 answer

Ionic3: Base64 To Gallery Plugin crashes the app

I am trying to save the base64 string to the gallery. When I invoke this plugin my code get's crashed. Here is the link I used to check. code I use let options:Base64ToGalleryOptions = { prefix: '_img',mediaScanner: true } //after the below line…
Mohan Gopi
  • 7,606
  • 17
  • 66
  • 117
13
votes
2 answers

How to create a footer on ion-card

How to craete footer on ion-card. Tried these example as below but not working.please help .Html CNC 10
prasana
  • 143
  • 1
  • 1
  • 10
13
votes
6 answers

How can I get language of the android device in Ionic3, Cordova and Angular4 application?

I want to get the android device language from the app developed using Ionic3, Cordova and Angular4. How can I get it?
Gnik
  • 7,120
  • 20
  • 79
  • 129
13
votes
2 answers

Add scss file to the Stackblitz

Can you tell me how to add scss file to the stackblitz. I tried that.But it is not working. Please see that and let me know. I have tried to add home.html This is the project: stackblitz
Sampath
  • 63,341
  • 64
  • 307
  • 441
13
votes
1 answer

Ionic 3 refresh side menu after login

I need to display side menu items according to the role of the user. so I check in app.html if the page (role) is equal to logged in role. But it does not display items inside menu just after login but after refreshing the app using browser refresh…
Shivam
  • 3,091
  • 4
  • 30
  • 45
13
votes
7 answers

How to remove bottom line from the ionic 2 components

I'm using ionic 2. I need to remove the bottom white line from the input field. This is my addVehicle.html page,
13
votes
2 answers

How to solve "Error: Uncaught (in promise): Error: No provider for" error in Ionic 3

I'm learning Ionic 3 and I'm getting this error when trying to make a custom validator which checks for a unique username. I've tried my best but couldn't solve this issue. CustomValidators.ts import { Directive, Input } from…
J Snow
  • 155
  • 1
  • 1
  • 8
13
votes
2 answers

how to do horizontal scroll in ionic 3

look at my I have 10 names in the ion-scroll but it is coming to the next line like a paragraph. here is my .html code.
Mohan Gopi
  • 7,606
  • 17
  • 66
  • 117
12
votes
3 answers

Access to XMLHttpRequest at 'API_URL' from origin 'http://localhost:8080' has been blocked by CORS policy:

Access to XMLHttpRequest at 'API_URL' from origin 'http://localhost:8080' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested…
selva kumar
  • 147
  • 1
  • 1
  • 8
12
votes
2 answers

What the Angular brackets, [] () {}, bind and when to use which

I see the brackets are used for data binding, but what's the difference? The below snippets are the ones I use frequently. But mostly taken as documented without understanding…
ir2pid
  • 5,604
  • 12
  • 63
  • 107
12
votes
7 answers

getting Error while IONIC build properties.gradle does not Exist

i am trying to creating ionic build, but getting error, here is my step. ionic cordova platform remove android ionic cordova platform add android ionic cordova build android while i run last command then got below Error. FAILURE: Build failed…
Bhavin
  • 441
  • 1
  • 4
  • 17
12
votes
3 answers

I'm getting an error when building an Ionic 3 app

I just updated to Mac Mojave(I'm sure if that the cause of my issue). The problem is that every time i try to build my app using the command. ionic cordova build ios I get the following error. CordovaError: Promise rejected with non-error:…
Millenial2020
  • 2,465
  • 9
  • 38
  • 83
12
votes
6 answers

Blank app fails debug build - /Info.plist file not found

In a larger context I resorted back to creating a blank project and running my build commands. Same error: ionic start myApp blank cd myApp ionic cordova run ios --debug --target="iPhone-8" --consolelogs ionic-app-scripts build --target cordova…
El Dude
  • 5,328
  • 11
  • 54
  • 101
12
votes
1 answer

Ionic socialSharing plugin not working on iOS

Ionic social sharing plugin not working on iOS. Error response returns 'not available'. On Android it works as expected. Am I doing anything wrong? // share functions parse accepts 'app' parameter this.socialSharing.canShareVia(app,…
Lasithds
  • 2,161
  • 25
  • 39