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
28
votes
4 answers

Make Ionic app appear in "Share" list and receive data

I am trying to get an Ionic app to appear in the "Share" list when a user clicks the share button for example for an image. As far as I understand I have to add something like
bergben
  • 1,385
  • 1
  • 16
  • 35
27
votes
15 answers

Error: more than one library with package name com.google.android.gms.license

When I try to run the command ionic cordova build android out error as title above. Then I try to remove one of the gms, when I build again the deleted it appears again. how to solve this?. Here is my dependencies of my build.gradle : dependencies…
27
votes
5 answers

How to include @mixin from one sass file to another sass file in different folder

I am including a mixin from one SASS file into another file but I've got an error with the ionic serve command: Error: "Sass Error Invalid CSS after " @include": expected identifier, was '"../../../theme/mai'" This is the file where I am importing…
Abhitesh khatri
  • 2,911
  • 3
  • 20
  • 29
27
votes
9 answers

Unable to run Ionic app after update to Android Studio 3.0

Here's my Ionic Info cli packages: (/Users/billb/dev/customer-mkt-app/node_modules) @ionic/cli-utils : 1.15.2 ionic (Ionic CLI) : 3.15.2 global packages: cordova (Cordova CLI) : 7.0.1 local packages: @ionic/app-scripts : 3.0.1 Cordova Platforms…
Bill
  • 545
  • 2
  • 5
  • 16
27
votes
3 answers

How to not dismiss the alert box when clicking outside of it on Ionic

I am building a ionic 2 app and I am using the following component http://ionicframework.com/docs/components/#alert import { AlertController } from 'ionic-angular'; export class MyPage { constructor(public alertCtrl: AlertController) { } …
hopper
  • 4,230
  • 8
  • 36
  • 49
26
votes
9 answers

Ionic Cordova app stopped compiling after Google's June 17th Firebase SDK update

I'm unable to compile Ionic Cordova App after Firebase Major version update with Breaking Changes, specifically with June 17, 2019 update. I tried downgrading to Android Cordova 6.3.0 but my project must be 7.0.0. This is my ionic…
Mario Zepeda
  • 273
  • 1
  • 4
  • 8
26
votes
2 answers

Error TS4053: Return type of public method from exported class has or is using name ‘Observable’

i'm trying to build app with ionic 2 & angular 2, i get this error while i try to run my app. i build another project to check and the same problem, i really confused on this problem. this is my service code import { Injectable } from…
Manspof
  • 598
  • 26
  • 81
  • 173
26
votes
6 answers

Disable swipe to view sidemenu ionic 2

I'm using a sidemenu ionic 2. when I swipe this page from left to right the side menu slides out i need to disable sidemenu swipe in particular page. app.html
sridharan
  • 2,011
  • 10
  • 36
  • 61
25
votes
13 answers

IONIC : A utility CLI has unexpectedly closed

I got this error when i run ionic serve The Ionic CLI will exit. Please check any output above for error details. my ionic info $ionic info Ionic: ionic (Ionic CLI) : 4.0.1 (C:\Users\Pc\AppData\Roaming\npm\node_modules\ionic) Ionic…
yali
  • 1,038
  • 4
  • 15
  • 31
25
votes
3 answers

Without `from` option PostCSS could generate wrong source map or do not find Browserslist config

Witout from option PostCSS could generate wrong source map or do not find Browserslist config. Set it to CSS file path or to undefined to prevent this warning ionic3 project, when I running ionic corodva bulid ios --prod showing this warning…
Yuyang He
  • 2,252
  • 4
  • 28
  • 51
25
votes
1 answer

API error: <_UIKBCompatInputView: 0x13fd1d7c0; frame = (0 0; 0 0); layer = > returned 0 width, assuming UIViewNoIntrinsicMetric

I'm using Ionic 3 on iPhone 7 plus with iOS 11. When I run my App, and fill in some text/input fields (basic forms) the app freezes for a few seconds and becomes completely unresponsive (which isn't good, not to say the least). I noticed this error…
Dimitri
  • 2,240
  • 3
  • 21
  • 39
24
votes
6 answers

How to resolve app validation "The app references non-public selectors in Payload/MyApp.app/MyApp: _setAlwaysRunsAtForegroundPriority:"?

Just days ago I successfully upload Ionic app to Apple Store, and on this day I am receiving validation warning: The app references non-public selectors in Payload/something.app/something: _setAlwaysRunsAtForegroundPriority: While I was unable…
Adam Cox
  • 3,341
  • 1
  • 36
  • 46
24
votes
2 answers

Angular 4 : How to use await/async within subscribe

I can honestly say await/async in angular is really a great stuff, it reduces a lot of braces, improves readability and prevent a lot of human error. However, one thing puzzles me a lot. how can I use await/async inside subscribe. let's say …
Steven Li
  • 754
  • 1
  • 8
  • 16
24
votes
4 answers

Angular 4 and Ionic 3 No provider for HTTP

I have a service which imports Http, and when I use it in my app it throws error. "No provider for Http! Error at g injectionError". I am lazyloading the app. Also the provider was generated through cli "ionic g provider…
abhiklpm
  • 1,603
  • 2
  • 16
  • 21
24
votes
3 answers

Singletons in Ionic 3, Angular 4

I am defining service as class, something like this: @Injectable() export class MyService { ... } In other components or pages, I am importing that class with just import command. import { MyService } from '../pages/services/myservice'; In…
Dragan Malinovic
  • 603
  • 6
  • 12