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.
ionic3
10,369
questions
0
votes
0
answers
70
views
How to achieve ssl pinning or ssl certificate pinning in ionic 3 angular 5 application for both IOS and ANDROID
I have found 2 solution for achieving the above one
1] for ANDROID
Pining SHA-256 Public key in network_security_confile.xml file
<?xml version="1.0" encoding="utf-...
0
votes
0
answers
16
views
FadeSplashScreenDuration delay not working
Increasing/decreasing the FadeSplashScreenDuration in config.xml for an ionic project doesn't impact the duration in which the splash screen is displayed for
Splash screen related code
<...
0
votes
0
answers
23
views
Ionic 3 app not installing on Android 12/13 after adding ionic-native Push plugin
Description:
I am developing an Ionic 3 app and recently added the ionic-native Push plugin. After making this change,it work on Android version less than 12 But I encounter an issue when trying to ...
0
votes
0
answers
16
views
Ionic 3 issue while generating AAB file
I am trying to create AAB file to upload into play store using Ionic 3 using below 2 commands. This was working fine before, but now it is showing attached issue. Don’t know what has been changed ...
0
votes
0
answers
18
views
ionic 5 - error ionic-orm3 Property 'filter' in type 'EntityMetadataCollection'
I am in the process of migrate application ionic from ionic 3 to ionic 5 , I use angular 12, node 16, typescript 4.2.3, and "ionic-orm3": "0.1.3", now I found this error
[ng] ...
0
votes
1
answer
198
views
Ionic storage-angular error: Can't resolve '@angular/common' in storage-angular/fesm
I'm trying to use ionic/storage-angular in my ionic application. I was following the documentation: https://github.com/ionic-team/ionic-storage.
I installed storage-angular (npm install @ionic/storage-...
0
votes
0
answers
52
views
Last Update for old ionic 3 App with angular 5
I've an old ionic 3 project, which I want to update a last time to make some changes to prepare the users and the data for the big update when going to ionic 7 some day.
I've cloned my repository and ...
0
votes
1
answer
178
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
0
answers
57
views
Issue with SonarQube showing ChromeHeadless error
When executing command "npm run test-coverage", getting below errors.
TOTAL: 373 FAILED, 514 SUCCESS
12 12 2023 15:18:35.549:WARN [launcher]: ChromeHeadless was not killed in 2000 ms, ...
0
votes
1
answer
118
views
Use of config.xml in ionic project with capacitor
As you can see in the screenshot below, the content of the file config.xml mentions Cordova but my Ionic project is configured using capacitor.
What is the use of config.xml?
0
votes
0
answers
17
views
Ionic 3.9.5 Reactive Forms not working when virtual keyboard is displayed
I am trying to create a simple login form like the example here https://jasonwatmore.com/post/2018/05/10/angular-6-reactive-forms-validation-example in Ionic 3.9.5. Then I've noticed an issue I have ...
0
votes
0
answers
16
views
How to build AAB file for Google play from an ionic 3 project
I've been trying to build an AAB file from my ionic 3 project but it keeps failing. I've tried Buildtools and it requested for APKs zip file which i have no idea what it is. how do i do this please
0
votes
2
answers
307
views
IONIC v3 with API 33 Android
In my company they left me an app made in ionic v3, and Google asks to use version 33 of the Android API, for different reasons, the company cannot afford to update from version 3 of ionic to 5, is it ...
1
vote
2
answers
1k
views
Ionic 3 and Android SDK 33 - Opening Camera not working
I have an app that uses Ionic version 3 and Cordova to open the camera.
However, the Google Play Store required me to update the android-targetSdkVersion from 31 to 33. As a result, the camera opening ...
0
votes
2
answers
58
views
How to set "search" icon in the navigation tab bar in Ionic?
I'm working on an Ionic project and I want to set the "search" icon in the tab bar of my navigation. Here's what I've tried so far:
<ion-tabs>
<ion-tab [root]="tab1Root"...
0
votes
3
answers
2k
views
-Ionic Project Requesting For Notification Permission
After updating the minimumTargetSDK from 31 to 33 in the config.xml file, notifications are no longer being sent to the mobile device.
I have noticed that this is because of an update in how Android ...
0
votes
1
answer
457
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 ...
0
votes
0
answers
25
views
ionic 3 'ion-item' is not a known element: 1. If 'ion-item' is an Angular component,
'ion-item' is not a known element:
If 'ion-item' is an Angular component, then verify that it is part of this module.
If 'ion-item' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@...
0
votes
0
answers
41
views
Allow location android permission prompt not coming in ionic3 while using navigator.geolocation.getCurrentPosition()
I want the location prompt while opening the app having options to Allow location while using the app etc.
Android permissions also applied in config.xml.I have applied the ACCESS_COARSE_LOCATION &...
0
votes
1
answer
3k
views
Android build error after change compileSdkVersion from 33 to 34
I'm getting the following error after change compileSdkVersion from 33 to 34.
The project itself forced me to make this update and I can't build the project anymore
0
votes
0
answers
33
views
Getting error "sqlite3_step failure: datatype mismatch"
Query:
"SELECT * FROM INVENTORY_ORG_LIST WHERE InventoryOrgName LIKE ? OR InventoryOrgCode LIKE ? LIMIT 50 OFFSET ?";
params = [`${this.searchText}%`, `${this.searchText}%`, (this.page - 1) *...
0
votes
0
answers
55
views
Ionic 5 App Image download for external URL, Need a working Code repository
I was trying in different ways but nothing worked so far. Need an ionic 5 Angular app code that runs in Android and downloads an image from any of the external URLs.
Thanks in advance
0
votes
1
answer
90
views
[email protected] added to Ionic3+Angular5 app: "Module Parse Failed" due to spread operator "..."
It's a legacy project on life support that I don't have the luxury of upgrading to Ionic7/Angular14+. Works fine other than needing to add Sentry. Upon adding sentry-cordova (1.1.5), building now ...
0
votes
1
answer
83
views
Missing form parameter: grant_type IONIC CAPACITOR
I'm trying to call Keycloak, but the console gives me this error:
MISSING FORM PARAMETER: GRANT_TYPE
This is my code:
post() {
debugger;
let url = "http://172.20.10.3:8080/realms/myrealm/...
0
votes
1
answer
130
views
Ion-header with mode
i am getting error Failed to execute 'setAttribute' on 'Element': 'mode' is not a valid attribute name. while setting mode attribute to ion-header. could you tell me the right way to use it. Actually ...
1
vote
1
answer
625
views
Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE for FireBaseMessaging
In my attempt to upload the latest build of my mobile application (Ionic framework) to playstore, I am forced to updated the targetSDKVersion from 30 to 31 which results in plenty of issues with ...
10
votes
4
answers
15k
views
xcode firebase message error OSAtomicCompareAndSwapPtrBarrier
I have an application in ionic 3 (legacy) when building it I get the error in the Firebase Messaging library in this part of the file "GtalkExtensions.pbobjc"
if (!...
2
votes
2
answers
2k
views
Can no longer build Ionic 3 (angular) app using node 12 as of May 2023
I have to maintain a legacy Ionic3 App. (Yes I know it's out of date, we are in the process of porting it to Ionic7)
Ionic3 requires node-sass which isn't supported > Node12
It was building fine ...
0
votes
1
answer
2k
views
Bad project type: ionic-angular when building Ionic3 project
Building an ionic 3 project using Ionic CLI 7.0.1 and above fails with the error message
Bad project type: ionic-angular
when running the build command
ionic cordova build ios
or running the ...
1
vote
0
answers
54
views
Unable to use Facebook SignIn from Capacitor.js for Web
Good day,
I'm trying to implement Facebook SignIn to my Capacitor JS web app - But FB App Settings require that all calls be made from a secure HTTPS connection. However, Capacitor JS connect to http:/...
0
votes
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 { ...
1
vote
0
answers
431
views
How to config Firebase Crashlytics in Ionic 3 and [email protected]?
I work on a project which needs the implementation of Firebase Crashlytics in Ionic 3.
We studied all the documentation but we faced some issues about the integration of cordova-ios.
Due to the ...
0
votes
0
answers
22
views
Task :app:processDebugMainManifest FAILED is showing error in npm console
Apps targeting Android 12 and higher are required to specify an explicit value for `android:exported` when the corresponding component has an intent filter defined. See https://developer.android.com/...
0
votes
0
answers
734
views
ion-select multiple select with popover interface, disable last option on change if it's only one remaining
Requirement
there should be an ion select with multiple selection
default all should be selected
when interacting with it, if there is one selected left, that option should get disabled.
and if in ...
-1
votes
1
answer
421
views
Required cordova.js file not found. Cordova plugins will not function! Capacitor: FATAL ERROR
I updated my Ionic 2.5 App to Ionic 4.
The app was building on iOS as expected but when I ran it, it was throwing me this error: "Required cordova.js file not found. Cordova plugins will not ...
0
votes
1
answer
925
views
Ionic - How to request permission again after user rejected once?
Currently, I can request permission for microphone with the following code if the user has not rejected granting permissions:
permission = await this.diagnostic.isMicrophoneAuthorized();
...
1
vote
1
answer
250
views
Ionic 3 - Cordova 10: Android Exported
I have a problem with Ionic 3 and Cordova 10/11. I'm trying to build an application with SDK API 32, but when I built it, I got this message:
When I search about the problem of "android:exported&...
0
votes
1
answer
555
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
5k
views
how to change my app's target API level from 29 to 31 in ionic android
I have updated my config.xml
<preference name="android-minSdkVersion" value="22" />
<preference name="android-targetSdkVersion" value="32" />...
0
votes
1
answer
441
views
plugin is not installed error even after plugins installed
I have upgraded my ionic mobile APP. Post update, my app is showing "plugin is not installed". But i have installed all required plugins. But still am getting "plugin is not installed&...
0
votes
1
answer
91
views
after ionic v3 to ionic v5 migration - ionic build command not working
We have migrated from ionic v3 to ionic v5 ... ionic serve command working but showing blank page when launched.
ionic build command throwing following error..
[11:57:17] ionic-app-script task: "...
0
votes
1
answer
289
views
Want to disable Camera features in iOS device : It is an IONIC App
I Want to disable Camera features in iOS device, as in android it won’t display the camera option when I use input type file HTML tag : It is an IONIC App
I have used this below HTML code in my ionic ...
1
vote
3
answers
2k
views
IONIC Cordova app is giving android exported error
We have an app developed using IONIC CORDOVA. When I am trying to upload app on the play store then it gives an error
"Apps targeting Android 12 and higher are required to specify an explicit ...
3
votes
6
answers
4k
views
Cannot read property 'find' of null with cordova-android 11 in ionic 3
I have upgraded cordova-android to version 11 to support API Level 31 or above but when I'm creating build its giving error Cannot read property 'find' of null
I have done changes as suggested here ...
2
votes
1
answer
336
views
Not able to create prod build on ionic with API Level 31 in ionic 3
I have changed targetSdk to 31 which giving error with cordova-android 10.1.1 Apps targeting Android 12 and higher are required to specify an explicit value for android:exported when the corresponding ...
0
votes
1
answer
28
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
2
answers
12k
views
Android Studio showing Duplicate class found
When generating release build android studio throwing below errors. Which i am not able to resolve. I tried many way which related issue mentioned but didn't succeed.
Duplicate class com.google....
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. ...
0
votes
1
answer
2k
views
Change targetSdkVersion 30 to 31 error ionic cordova
after changing targetSdkVersion to 31 I'm getting this error:
Task :app:processReleaseMainManifest FAILED
Apps targeting Android 12 and higher are required to specify an explicit value for `...
0
votes
1
answer
507
views
Unable to create ionic 3 project with ionic 6 cli
I have old ionic 3 project which i want into in my machine but its not working here i am creating simple ionic 3 project using below command
ionic start Ionic3Project blank --type=ionic-angular
It ...