Questions tagged [ionic2]

Ionic 2 is the next generation of Ionic, the open source SDK that enables developers to build performant, high-quality mobile apps using familiar web technologies (HTML, CSS, and JavaScript). Ionic 2 is usually paired with Angular (2). Ionic 2 can also be used as a CSS framework but you'll miss out on the powerful gestures, UI animations and more useful things.

Filter by
Sorted by
Tagged with
0 votes
0 answers
7 views

CordovaLib:compileReleaseJavaWithJavac FAILED - ionic build failing for Android TargetSDK 33

To upload my Android App to the Google Play Developer Console, I was informed that a Target SDK of 33 is required. <preference name="android-targetSdkVersion" value="33"/> I ...
Mohan's user avatar
  • 398
0 votes
1 answer
41 views

Ionic framework error: spawn unknown error

When I try to run this command:ionic serve, then I got the following error in the terminal. at ChildProcess.spawn (node:internal/child_process:413:11) at Object.spawn (node:child_process:757:9) at ...
Shehan Mario's user avatar
-1 votes
0 answers
9 views

How to solve this error when I'm install capacitor's component?

npm ERR! code ERR_SSL_DECRYPTION_FAILED_OR_BAD_RECORD_MAC npm ERR! 10804:error:1408F119:SSL routines:ssl3_get_record:decryption failed or bad record mac:c:\ws\deps\openssl\openssl\ssl\record\...
Keval Chavada's user avatar
2 votes
0 answers
26 views

Issues communicating an Ionic mobile app with InAppBrowser and a React web app using postMessage

I am working on two applications: one is a mobile app developed with Ionic and React using TypeScript, and the other is a web app developed with React. In the mobile app, I have integrated the "@...
juan luna's user avatar
0 votes
1 answer
38 views

Capacitor bridge present view controller [NSJSONSerialization dataWithJSONObject:options:error:]: value parameter is nil'

Given an SDK I am trying to present its view in an Ionic-Capacitor app. self.bridge?.viewController is available with it's present method from a Capacitor import After loading the SDK, using: self....
Nex's user avatar
  • 92
0 votes
0 answers
11 views

Ionic card element with pagination examples

can you please share any one the examples of ionic card with pagination concept. actually not able to find the approriate solution to add the pager for cards. I reviewed the ionic documentation but ...
bagya's user avatar
  • 51
0 votes
0 answers
29 views

How to add additional text into displayed date in ion-datetime in Angular?

We have below datetime in Angular and it works just fine: <ion-item mode="md"> <ion-datetime *ngIf="showDatetimePicker" [disabled]="!dateDetails....
Fhr Azad's user avatar
0 votes
0 answers
15 views

Angular1+cordova+ionic project failed to build with the below error "FAILURE: Build failed with an exception."

I am trying to build an old angular+ionic+cordova project which was working fine since last week. Now its throwing me below error Cause: unable to find valid certification path to requested target ...
Shubha Panigrahi's user avatar
0 votes
0 answers
96 views

Updating iOS native dependencies with pod install - failed! update ios - failed! Error in Mac M1

In Convert the Web app (React) to mobile app. at the time i used "npx cap sync" command in my terminal. android created ,but ios not created it's shown the below error. ✔ Copying web assets ...
Sharan's user avatar
  • 1
0 votes
1 answer
250 views

Capacitor App Plugin dont let android studio build the apk

I am following the tutorial here: https://capacitorjs.com/docs/apis/app I did the following steps: pnpm install @capacitor/app npx cap sync added the code below inside the activity section of the ...
Weylon Santana's user avatar
0 votes
1 answer
910 views

Ionic 6 capacitor `pushNotificationActionPerformed ` event is not getting triggered on clicking push notification

I am implementing push notification in my Ionic 6 App. I am using @capacitor/push-notifications plugin to manage push notification in my Ionic App. import { Injectable } from '@angular/core'; import { ...
Ninja Turtle's user avatar
  • 1,293
0 votes
1 answer
35 views

ng-model seemingly not working in angularjs and ionic date picker

I'm trying to set a default value in my ionic date picker but it just seems to be ignored. The versions are; Ionic "1.3.2" Node v14.15.4 AngularJS v1.8.0 ion-datetime-picker.min.js (not sure ...
Mark's user avatar
  • 3
0 votes
1 answer
358 views

White screen while opening my ionic app in some devices

In few mobiles,my ionic app shows white screen only, when apk build with --prod mode. But the same apk works on other mobiles. If i build without --prod , it is working in all mobiles. i don't have ...
Raja Sekaran's user avatar
0 votes
0 answers
48 views

Ionic External URL

I managed to grab the external script by importing it to my index.html header <head> <script src="<url to the external>" data-error="errorCallback" data-cancel="...
Shukri Damit's user avatar
0 votes
1 answer
233 views

Getting error when trying to upload IONIC app on Google Play Store

When i try to updload the ionic app on google play store i get this error from play store: You uploaded an APK or Android App Bundle which has an activity, activity alias, service or broadcast ...
Nasyx Nadeem's user avatar
0 votes
1 answer
26 views

Running ionic project from mac to windows

I want to run one of the ionic project from mac to windows but I have error while doing npm install it does not generate node_modules too. Can someone help me or have any idea with this? I already ...
christine jane bag-ao's user avatar
1 vote
0 answers
84 views

How do I handle file change event in Ionic

I am creating a form where I need to attach a file. I am using the IonInput component: <IonList> <IonItem> <IonLabel position="stacked">Select application cover ...
no_modules's user avatar
0 votes
1 answer
623 views

How to prevent ion-router-outlet override ion-grid and expand to whole page

This is an UI question on angular-ionic project. There are 1 component login. Inside app.component.html, there are an ion-content container containing ion-grid element. Inside it there are 2 row. ...
AkiZukiLenn's user avatar
-1 votes
1 answer
53 views

Import Custom Fonts in Ionic 2

I have used custom fonts in Ionic 2. When I do ionic serve, the fonts are visible in the browser. But, after building apk (ionic build android), the fonts are not reflected in the android app. Don't ...
unlimit's user avatar
  • 21
0 votes
0 answers
110 views

ion-input type number becomes unresponsive when holding down the delete key on device

I'm having an issue with an ion-input, which drops this error below when holding down the delete key. "Error: Invalid argument '' for pipe 't' at new Error (native) at Error.v (file:///...
Jose Ricardo Citerio Alcala's user avatar
2 votes
0 answers
540 views

Google SignIn Using Firebase In Capacitor Generating Error "auth/argumement-error"

Getting this error when trying to login. I have set the auth initialization as recommend. Works fine in the browser // initializing auth if (Capacitor.isNativePlatform()) { auth = initializeAuth(...
Aaron Saunders's user avatar
0 votes
1 answer
337 views

An error occurred while running subprocess cordova just because of version problem

Checking Java JDK and Android SDK versions ANDROID_SDK_ROOT=undefined (recommended setting) ANDROID_HOME=c:\Users\krishna kale\AppData\Local\Android\Sdk (DEPRECATED) Requirements check failed for JDK ...
KRISHNA KALE's user avatar
0 votes
1 answer
181 views

Write json file from Excel in IONIC Angular

I pass Excel file to json and I need to put the information from the object in one json file placed in assets folder. I try using FILE component but I can not find the solution any Help please. The ...
User1738's user avatar
0 votes
0 answers
2k views

ng.cmd run app:ionic-cordova-build:production --platform=android exited with exit code 127

I am about to build my first mobile app and then build it to android studio and turn it into apk. but every time I build it, it sets just like this. I've reinstalled everything. I am using nvs. for ...
Flakes Monster's user avatar
0 votes
1 answer
347 views

Memory leaks sensitive information - Ionic

In our application, during the security testing, they were able to get the request and response details from the memory dump. Please find the following details they were able to get from the dump, is ...
Vinu V's user avatar
  • 1
0 votes
1 answer
172 views

Error while setting-up Ionic environment in Ubuntu 20 ec2 instance

I am trying to generate the Android and IOS platform folders on the ubuntu server, so that I can transfer the same to a machine that is capable of building a .apk and .ipa for the same. I was ...
Suvel Rathneswar's user avatar
1 vote
2 answers
1k views

Migrating a bunch of old Ionic Framework V2 Apps over to a new Flutter App

I have a bunch of old Ionic Framework V2 apps made for android and now I want to migrate these apps over to a Flutter app. The thing is that my Ionic app uses many JS libraries which I'm not sure if ...
Patoshi パトシ's user avatar
2 votes
1 answer
57 views

OpenTok Web SDK on iOs: session.publish reloads page

I have set up a video-call app using the Vonage Video API and Ionic. I am using the web SDK. Everything works perfectly on browser and android devices, but I have one problem on iOs devices: after ...
Thomas Cafaro's user avatar
-1 votes
1 answer
1k views

Capacitor splash screen animation

I have an Angular 2+ app wrapped with Capacitor. I want to add a splash screen animation to it. After researching this issue I understood that animating the splash screen is not possible, but we can ...
Lorraine R.'s user avatar
  • 1,593
0 votes
1 answer
1k views

RouterLink not work in Ion-Button after adding ion-tabs but work fine without tabs , How can I solve this problem?

all working fine before adding ion-tab-button, I have buttons ionic with routing to another page when i have added ion-tabs , the router link not work in button after click where is my error ?! i need ...
AspCoreStudent's user avatar
0 votes
0 answers
103 views

How to checked only one radio button dynamically using Angular

I want to check only one radio button at a time but right now I checked multiple radio buttons HTML <td class="ci-prim-para ci-txt-left ci-p-5 width40"> <p class="ci-pr-5&...
shirish lakhe's user avatar
-1 votes
1 answer
22 views

Using ionic to make an app for Androids and iPhones

I've just finished building my website and will deploy it shortly, however I want to make an app and I was hoping to find a way of taking my existing front end code and dump it into ionic and get a ...
Questions's user avatar
0 votes
1 answer
476 views

Calendar not updating angular Ionic

I have implemented a calendar on my ionic Application, but I am still encountering a problem: my calendar never displays the events on the first month. For that I always have to change the month and ...
EdMkn's user avatar
  • 11
1 vote
0 answers
210 views

How to change text color of Toast message using Angular?

self.showToast('Only two studies at a time is allowed to compare','warning');
shirish lakhe's user avatar
1 vote
1 answer
575 views

Ionic cordova - Error: EBUSY: resource busy or locked

While executing ionic cordova build android command, getting following error. (node:17852) UnhandledPromiseRejectionWarning: Error: EBUSY: resource busy or locked, open 'D:\project\xxxx\xxxx\www\...
AnKr's user avatar
  • 433
1 vote
3 answers
2k views

IONIC Push Notification - How to detect why notifications are not delivered on IOS?

I've added Push Notification to my IONIC App using this tutorial: Using Push Notifications with Firebase in an Ionic + Angular App. For Android all works fine, but on IOS notifications are not ...
SigGP's user avatar
  • 726
0 votes
2 answers
106 views

Issue showing data of 2 users being pulled from the same page in ionic/angular

So I am currently working with ionic and angular. I am displaying 2 different types of users on a single page using ion-segment (artist and venue). The information for both users is being displayed on ...
mcadam4000's user avatar
0 votes
1 answer
144 views

How to use multiple autofocus for<ion-input> on different forms of same component using Angular

I try out below one code but its not working for me. HTML for login page <ion-input [autofocus]="inputOneAutofocusEnabled" type="text" required></ion-input> HTML for ...
shirish lakhe's user avatar
0 votes
1 answer
306 views

How to remove caret icon from ion-select tag in ionic 2

<ion-select [interfaceOptions]="{ cssClass: 'popover-wide' }" interface="popover" class="dropdownIcon ci-sec-head ci-mr-15" id="month" [(ngModel)]="...
shirish lakhe's user avatar
0 votes
1 answer
173 views

Does Ionic Community version support Live update aka 'New version available' notifications?

Does Ionic Community version support Live update aka 'New version available' notifications? On their side by side comparison page, Community version doesn't support Live Updates. Ionic Plans Regards
Manav Sharma's user avatar
  • 1,053
1 vote
1 answer
187 views

Ionic Rest API login

I have checked the API is working in Postman and Login Credentials are working but it always shows that "Enter valid email and password" this toast message always pops up login() { ...
Arpit Jai's user avatar
  • 211
0 votes
0 answers
182 views

How to fix height of select option in angular

I have 100 options in select tag but the height of select option is very large I want to reduce the height of select option. I used size=10 but its not working for me. HTML <ion-col size-md="6&...
shirish lakhe's user avatar
0 votes
1 answer
496 views

I want to show suggestion tooltip on focus of ion-input using ionic angular

In below code, Password suggestion tooltip is open when keydown event is fire.But i want show suggestion tooltip on focus of ion-input element. HTML <label class="ci-ter-head ci-opc-50 ci-...
shirish lakhe's user avatar
2 votes
1 answer
364 views

Property 'level' does not exist on type 'never[]'.ts(2339) but it does log

I'm unsure why this is giving me an error I know there's something I'm meant to do but I can't figure out what to tell it not to give me an error. If I run it, it gives me an error BUT it does ...
Jordz2203's user avatar
0 votes
0 answers
132 views

Ionic 4 App installed on multiple devices, Makes duplicate on same screen

I made an app in ionic 4. It work fine on single device. But when same app installed on 3 devices then it behaves like below: When all devices has opened same screen and one device tried to delete ...
Chess Master's user avatar
0 votes
0 answers
170 views

Need to the ion-card over the ion-header

I'm just trying to show the ion-card above the ion-header but its not works. I have added my html code as well css code. Can anyone help me I'm stuck from 2 days Actual Image ion-toolbar{ --...
Gautam's user avatar
  • 31
1 vote
0 answers
118 views

using Ionic all of a sudden all my icons and images not working on all projects

I have three projects which had images and icons now none work. I am not quite sure what happened but my files are referenced in HTML and in TS files none work. The files are located under src/assetts ...
NoviceDeveloper's user avatar
2 votes
0 answers
225 views

This expression is not constructable.Type 'typeof import("../node_modules/spotify-web-api-js/src/typings/spotify-web-api") has no construct signatures

This expression is not constructable. Type 'typeof import("c:/Users/Acer/Downloads/ionicspotify4/node_modules/spotify-web-api-js/src/typings/spotify-web-api")' has no construct signatures ...
aashish's user avatar
  • 41
0 votes
2 answers
669 views

When running 'ionic build ios' on macOS with node 7 I get stuck on this message: stdout maxBuffer exceeded. How could I solve it?

Suddenly I started having this problem when trying to build my iOS app with ionic build ios . I don't understand what could be causing it, because it was running just fine, then in the next day I get ...
Araújo Filho's user avatar
1 vote
1 answer
1k views

NullInjectorError: No provider for translate service

I'm developing an app in Cordova + angular 8 and want add different idioms in the app , so I decided to install this library , I follow the instructions that I see in a video , but when I try to ...
vicent sargues's user avatar

1
2 3 4 5
243