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
36
votes
3 answers

Render HTML content in Ionic 3/4/5

view.html
{{text}}
The question is that 'text' has HTML that I wish to be displayed as it should but it only shows the HTML tags and text. What can I do to render such content? I've tried the earlier version (Ionic 1/2) solutions and…
sam_v
  • 494
  • 1
  • 5
  • 12
35
votes
7 answers

How to remove the padding around ion-item?

I want to remove padding from my ion-item so that it can occupy the full width of the page. Please look in the dev tools to see the padding around the ion-item.
Aditya
  • 2,358
  • 6
  • 35
  • 61
35
votes
13 answers

Automatic signing is unable to resolve an issue with the "projectName" target's entitlements file

I am new to mac and i am getting this error as below What should i do i have bought the developer licence and i created the provisioning certificate but still i am facing this issue. i am not sure why i am getting this error any help. i have…
Mohan Gopi
  • 7,606
  • 17
  • 66
  • 117
33
votes
9 answers

cannot find symbol import com.google.firebase.iid.FirebaseInstanceIdService error in ionic3

I Have no idea why I am getting this error whenever I try to create my app's build.I have tried many solutions but I was unable to solve this.i don't know if any plugins is causing issues or if there's any issue with my Code or firebase or firebase…
theCoder
  • 731
  • 3
  • 11
  • 19
33
votes
5 answers

background geolocation ionic 3 not updating

Background geolocation plugin for ionic isn't updating. The functionality I want is every 30 seconds ask the plugin for a lat lng value if available. The issue is, it's only giving me the values initially and then the background stops. The…
userlkjsflkdsvm
  • 961
  • 1
  • 21
  • 53
33
votes
2 answers

Ionic 3 can't use ion-* components inside my custom components

I have recently upgraded to Ionic 3 from Ionic 2, and I created components.module.ts file and declared and exported each custom component I have, and then imported this single file in every page module I have. So now the problem is that I can't use…
Eliran Pe'er
  • 2,569
  • 3
  • 22
  • 33
32
votes
3 answers

Ionic - Error: Cannot find module 'android-versions'

When a try to run ionic run android --device I'm getting an error of module: Error: Cannot find module 'android-versions' Versions: java -version java version "1.8.0_144" Android studio Version 2.3.3 ionic -v 2.2.1 cordova -v 6.5.0
ehh
  • 1,659
  • 2
  • 13
  • 11
32
votes
3 answers

How to use angular 2 service with Ionic 2?

I am new to Ionic 2. I read in angular 2 docs, that service needs to be injected while bootstrap application. But could not see any bootstrap thing while going through Ionic 2 tutorial. Any help is highly appreciated.
VISHAL DAGA
  • 4,132
  • 10
  • 47
  • 53
31
votes
7 answers

Ionic + Cordova Android build error - could not find tools.jar

today I've upgrade my MacBook to macOS Big Sur version 11.0.1. Now there is a problem coming out when I tried to build the project for Android. Execution failed for task ':CordovaLib:compileDebugJavaWithJavac'. > Could not find tools.jar. Please…
31
votes
3 answers

ionViewWillEnter vs ionViewDidEnter

When we would not want to reinitiate a task that is already cache, there is no doubt that we will be using ionDidLoad. Now, let's make assumption that we need to do a task each and every time when we are entering a view, how do we choose between…
stackdisplay
  • 1,949
  • 6
  • 29
  • 46
31
votes
1 answer

How Do I render an ng-container or ng-template without *ngIf?

I need to add the tappable directive to the ion-card component inside a custom component. I use an @Input() myInputBool, something like:
distante
  • 6,438
  • 6
  • 48
  • 90
30
votes
3 answers

ngOnInit vs ionViewDidLoad in ionic 2 or ionic 2+

Which one will I use for initializing data and why? ngOnInit() { this.type = 'category'; this.getData(); this.setData(); } ionViewDidLoad() { this.type = 'category'; this.getData(); this.setData(); }
saif
  • 487
  • 1
  • 7
  • 19
30
votes
3 answers

using external JS libraries in my angular 2 project

I need to use this JS library in my angular 2 project this question may be duplicate with me , but no answer worked for me I tried to include the library as script tag in my index.html page It always does not see it…
Ahmed Mohsen
  • 433
  • 1
  • 6
  • 19
30
votes
4 answers

Ionic 2 - global NavBar for the app

In Ionic 1, we have the ability to define an above an , which serves as a generic nav bar for the entire app and we could turn it off on a per-view basis (using ionNavView's hideNavBar=true|false. It appears in Ionic 2 we…
keldar
  • 6,152
  • 10
  • 52
  • 82
29
votes
11 answers

Ionic - Error: Uncaught (in promise): removeView was not found

My Ionic app was working fine and I haven't done anything to it but suddenly I am getting this error and I don't know why. "Error: Uncaught (in promise): removeView was not found
Samir Boulos
  • 443
  • 1
  • 7
  • 14