12,115 questions
0
votes
0
answers
13
views
plugin is not being registered in Ionic 5.4.16
Problem registering a plugin in Ionic 5.4.16
Hi! So i need to make my own plugin in this very old legacy ionic's code but it is no registering it in anyway. I've literraly tried everything i could, ...
0
votes
0
answers
40
views
"ChunkLoadError" in Ionic Application When Offline, Causing Modules to Stop Working
I'm facing a "ChunkLoadError" in my Ionic Angular application when using it in offline mode.
Scenario:
My application works fine when online.
When I go offline and navigate within the app, ...
0
votes
0
answers
50
views
I need to list api calls in ionic app form source code, has anyone done this before?
I have implemented some changes in the backend part of the application, some ionic apps perform various api calls with different payloads to this application. We don't have any document containing ...
0
votes
1
answer
328
views
Ionic angular running issue in android?
I need to run an old ionic project and the node version used is given below.
# README #
This README would normally document whatever steps are necessary to get your application up and running.
##...
0
votes
1
answer
126
views
How to just return a defined variable from an observable synchronously [duplicate]
So I inherited and angular/ionic app that I am trying to do some testing on, the app is having a bunch of issues, I am currently in the process of changing the functions that store/return the data it ...
0
votes
0
answers
115
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 ...
0
votes
1
answer
656
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 ...
2
votes
0
answers
160
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 "@...
0
votes
1
answer
477
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....
1
vote
1
answer
1k
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 ...
1
vote
2
answers
2k
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 { ...
0
votes
1
answer
53
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 ...
0
votes
1
answer
722
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 ...
0
votes
1
answer
278
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 ...
0
votes
1
answer
29
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 ...
1
vote
0
answers
117
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 ...
0
votes
1
answer
1k
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. ...
-1
votes
1
answer
69
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 ...
0
votes
0
answers
124
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:///...
2
votes
0
answers
599
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(...
0
votes
1
answer
559
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 ...
0
votes
1
answer
236
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 ...
0
votes
1
answer
434
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 ...
0
votes
1
answer
209
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 ...
1
vote
2
answers
2k
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 ...
2
votes
1
answer
81
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 ...
-1
votes
1
answer
2k
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 ...
0
votes
1
answer
2k
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 ...
0
votes
0
answers
123
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&...
-1
votes
1
answer
34
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 ...
0
votes
1
answer
650
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 ...
1
vote
0
answers
259
views
How to change text color of Toast message using Angular?
self.showToast('Only two studies at a time is allowed to compare','warning');
1
vote
1
answer
844
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\...
1
vote
3
answers
3k
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 ...
0
votes
2
answers
142
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 ...
0
votes
1
answer
177
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 ...
0
votes
1
answer
355
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)]="...
0
votes
1
answer
199
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
1
vote
1
answer
277
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() {
...
0
votes
0
answers
205
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&...
0
votes
1
answer
651
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-...
2
votes
1
answer
393
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 ...
0
votes
0
answers
153
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 ...
0
votes
0
answers
229
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{
--...
1
vote
0
answers
133
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 ...
2
votes
0
answers
246
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
...
0
votes
2
answers
810
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 ...
1
vote
1
answer
3k
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 ...
1
vote
0
answers
737
views
WebSocket Server configuration with Ionic 5
I'm trying to configure the WebSocket Server for my chat application. But the first thing that I faced is the error when I tried to run my project:
Uncaught Error: Type WebSocketServer does not have '...
0
votes
1
answer
998
views
Not able to create database with SQLite in Ionic
I am trying to create a database with the SQLite plugin in ionic.I want to create a table and store some registration detail in the table. here is my code. I have checked the official documentation ...