Questions tagged [ionic5]
1,075
questions
0
votes
0
answers
16
views
How to Hide Dial pad or key board in ion-datetime (ionic capacitor)
I am using ionic7 (ionic capacitor) As per my client's requirement I would like to hide the dial-pad/keyboard when the user clicks on the time (preferWheel).
<ion-modal [keepContentsMounted]=&...
0
votes
0
answers
21
views
Search event stopped firing in iOS 17.2 beta versions
search event is not fired in iOS 17.2 beta versions. This is working fine in iOS17.1 versions
https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/search_event
HTML
<input type="...
0
votes
0
answers
31
views
Error: Schema validation failed with the following errors: [ng] Data path "" must have required property 'browserTarget'
[ng] Error: Schema validation failed with the following errors:
[ng] Data path "" must have required property 'browserTarget'.
[ERROR] ng has unexpectedly closed (exit code 1).
The ...
0
votes
0
answers
57
views
Issue with permissions to access specific file types on Android 13
I am facing a specific issue with permissions in my Android app, which is targeted for Android 13 and compatible with earlier versions such as Android 12, 11, 10, 9, 8, etc. Currently, I am using the ...
2
votes
0
answers
26
views
New Ionic 7 Cordova project with - livereload does not work and give an error as “ERR_EMPTY_RESPONSE”
Steps to Reproduce:
I create a new angular based starter - blank - Ionic 7 project via
ionic start testapp
I then added the cordova android platform with the following command:
ionic cordova platform ...
-1
votes
0
answers
20
views
Error to run and debug Capacitor in Ionic on Android Emulator
build && npx cap copy android && npx ionic cap run android --target=Pixel_5_API_29 --livereload --external --public-host=172.28.128.1 Failed
I have checked the Android emulator logs, ...
0
votes
0
answers
8
views
Removing "textview" voiceover in Ionic App with TalkBack
I am working on my app and want to remove the 'textview' feature for VoiceOver when TalkBack is enabled on Android.
However, it doesn't seem to be working as expected. Has anyone encountered this ...
0
votes
0
answers
62
views
Ionic capacitor passkey WebAuthn on iOS
I am building an app using Ionic framework and I'm trying to use passkey for user to be able to register and use the app passwordless. I have been able to make passkey works on browser and Android, ...
1
vote
1
answer
24
views
ion-menu dynamically change direction
I am using ionic 6.
I have ion-menu that don't change his direction with the app direction.
I changed the direction of the app with document.documentElement.setAttribute('dir', 'rtl') and the ion-menu ...
0
votes
0
answers
131
views
Integrating react-router-dom v6 into my Ionic project
I have created an Ionic project and have decided that I would like to use react-router-dom v6 instead of having to upgrade to it in the future. I can run the project fine, but when I try to add ...
0
votes
0
answers
21
views
Cordova 10.0.0 and Ionic 5.6 version is running on web, but not generate apk
Full log when generating the apk,
Java version is jdk8
android platform version is 8.1.0 using [email protected]
The following dependencies are project dependencies that are direct or have transitive ...
0
votes
0
answers
9
views
Unity integration with Ionic distorting model on iOS devices
We have recently developed a Unity app and integrated this with an existing Ionic app. We load models into Unity via URLs and we are facing an issue with the model being distorted on iOS devices. This ...
0
votes
0
answers
31
views
Capacitor google maps with Angular stay black on android
I'm using the google-maps capacitor plugin.
I have follow the step to create the map and this is working on my browser running ionic s but is black on android.
Does somebody have the same problem ?
...
0
votes
0
answers
26
views
Ionic Cordova in IOS Library not loaded: OneSignal.framwork i already added OneSignal.framwork in Frameworks Libraries and Embedded Content
I have using ionic cordova my app build successfully but when app run on device it crash with error dyld[56415]: Library not loaded: @rpath/OneSignal.framework/OneSignal. i have already tried adding ...
0
votes
0
answers
55
views
Addlistener for network status is not working in Ionic 7.1.1
ionic 7.1.1 - Capacitor 5.2.3
The problem I have is that it detects the network connection type and status the first time, but the listener doesn't update the variables due to its asynchrony. I have ...
0
votes
1
answer
123
views
Route back from in App Browser into my ionic app
I have a problem with my Ionic app that I'm developing using Angular. I am developing a banking app. I've imported a component that I'm using in this app. When I click on a button associated with this ...
1
vote
0
answers
82
views
How to generate Custom Url Scheme in IONIC 5 (cordova) for android
I want a link which on Click should open a specific page of my Ionic Cordova App(Android),
For which i need to create and implement "Custom URL Scheme"
0
votes
0
answers
41
views
Ionic Fab button position
using ionic 7.1.1
When i add a fab button in ionic i have it at the bottom of the screen and i want it floating just over the tabs at the bottom of the page. when i run it in the browser its exactly ...
0
votes
0
answers
59
views
Ionic Cordova BuildConfig is defined multiple times
I have an Ionic 5 project with a Cordova configuration. I built the Android APK in debug mode successfully in Android Studio. But whenever I started building the APK in release mode. It shows the ...
0
votes
0
answers
11
views
Ionic Cordova Android update config.xml to allow https://login.microsoftonline.com/ only
I want to allow open https://login.microsoftonline.com/ in same app browser, and any other urls need to be opened in the mobile default browser
I added
<allow-navigation href="*" />
...
0
votes
1
answer
35
views
Unable to access css global variables from within Ion-Content
I may be missing some understanding of how Ion-Content component works, but I am unable to access css global variables from within children of my Ion-Content component. Whenever I try assign a global ...
0
votes
0
answers
33
views
What is the return URL for Azure AD B2C Mobile Flow for my Ionic Cordova App?
Ok, so I am wiring up my Ionic Cordova mobile app to use Azure AD B2C. Doing a simple window.location.href = "https://xxx.b2clogin.com/xxx.onmicrosoft.com/oauth2/v2.0/authorize?p=xxx&...
0
votes
0
answers
67
views
Ionic Video Player Plugin Causing App Crash on Android 10 and Above
I am attempting to integrate the Capacitor Video Player plugin into my project.
The plugin documentation can be found here: https://ionicframework.com/docs/v4/native/video-player.
However, I've ...
0
votes
0
answers
4
views
how to get data in other ionic app sent via com.lampa.startapp
I have 2 ionic app both installed in same device, I'm opening other app via "com.lampa.startapp" and sending some data(parameter), now I want to receive that data in other app after getting ...
0
votes
0
answers
71
views
How to connect Moodle App running in Chrome Browser to locally hosted Moodle?
I want to debug Javascript code while writing Mobile Support for Moodle Plugins. So I want to write console.log statement and see the output in browser console while running the app in Chrome.
The app ...
0
votes
0
answers
51
views
Cant get tabs to display on every page. Ionic 7
I have a tabs project and the pages in the tabs are working fine.
I have tab1, tab2, tab3
my problem is I also have a side menu and when I click on one the menu items called page1 it routes fine to ...
0
votes
0
answers
23
views
NullInjectorError: No provider for D
community, We have a problem with an ionic project, the error is this:
NullInjectorError: No provider for D!
This is the project information:
Ionic:
Ionic CLI : 7.1.1 (/usr/...
0
votes
3
answers
63
views
*ngFor executes many times in Angular
Why *ngFor is executing many times?
And why in the AfterViewInit the offsetTop of the div is zero?
<ul *ngFor="let chat of chats">
<div id="chat{{chat.id}}">{{...
1
vote
1
answer
342
views
Issue with CapacitorHttp on iOS
I recently switched HTTP calls from the Cordova plugin to CapacitorHttp, and having sporadic issues with IOS (only).
Using the latest Ionic 7.2.2 and Capacitor 5.2.2. Running against a back-end web ...
0
votes
0
answers
75
views
Alternative for displayFormat property for ion-datetime in Ionic 7
In Ionic 5 it was possible to customise time formats of ion-datetime using the property displayFormat. eg. <ion-datetime displayFormat="HH:mm" ....
In Ionic 7 this does not seem to be ...
0
votes
0
answers
17
views
Ionic Spinner | Spinner Not Dismissing After Switching between Multiple window tabs in Ionic cap
I am facing an issue with the spinner in my Ionic capacitor application. The problem occurs when I switch between multiple apps and tabs on my device or in Web application. The spinner, which is ...
0
votes
0
answers
24
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
58
views
Stenciljs: Won't parse JSON data in an API fetch request
For context I am pretty new to stencil and Ionic. However I am getting an error when attempting to parse the JSON data and console.log it.
ERROR
-card01.tsx:34 Uncaught (in promise) SyntaxError: ...
0
votes
0
answers
42
views
ionic 5 login with google is not working while in android production app
I am working on ionic5 in my project login with google is working on build apk but same apk file upload on play store. This app downloaded on play store that time login with google is not working.
...
0
votes
0
answers
19
views
how to make text in ion-label in single line
The is my code:
<ion-card>
<ion-card-header><ion-card-title style="font-size: 16px;">Transfer Money</ion-card-title></ion-card-header>
<ion-card-content ...
0
votes
0
answers
82
views
How to extract referral code from installation URL in an Ionic app?
I have an Ionic (Angular) Capacitor app. I have links to my app in the Google Play Store and Apple App Store, and I need to retrieve a referral code for each user's app installation.
For example, when ...
0
votes
0
answers
42
views
socket.io websocket client sends but does not receive Angular
I implemented a Node server and an Angular client (actually Ionic). What I do is send a message from Ionic to Node, and it receives it correctly, but afterwards the server should respond to me but I ...
0
votes
0
answers
361
views
Ionic 6 - Google Sign In React - "code":"10"
I am using this plugin in my Ionic app (react) to use Sign In With Google Functionality.
https://github.com/CodetrixStudio/CapacitorGoogleAuth
D/Capacitor: Unable to find a Capacitor plugin to handle ...
0
votes
2
answers
357
views
Github Actions: Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0
I have the following errors since 2 days whereas no change has done on configuration of CI/CD of Github Actions.
Anyone can help me please ?
The following behavior is strange:
Gradle 7.0.2 seems to be ...
0
votes
0
answers
85
views
Ionic 5: scroll horizontally with infinite scroll not work
In ionic 5, angular and capacitor, I want scroll horizontally with infinite scroll who call loadMore function and loadMore is called only one time.
This is my HTML code :
<ion-row class="...
0
votes
1
answer
333
views
Ion-select with interface 'popover' doesn't open or populate any values
I am trying to use ion-select in my ionic application, and user iterface='popover'
This is my ionic version -5.4.16
Ionic:
Ionic CLI : 5.4.16
Ionic Framework : @ionic/...
0
votes
0
answers
256
views
Open all hyperlinks in ionic capacitor app, inside the app itself, instead of opening in browser
There are some hyperlinks in my ionic capacitor app which come from backend. If hyperlinks belong to www.example.com, I want them to open them inside the App using InAppBrowser or may be route it ...
3
votes
0
answers
270
views
Integrating Play Integrity API in Ionic 5 Cordova app to detect rooted devices
I am developing an Ionic 5 app with Cordova and Angular 11, and I am currently using the SafetyNet Google API to detect rooted devices. However, I encountered an issue where the security check was ...
0
votes
3
answers
402
views
[ios][Cocoapods] Podfile platform version is not updated on cordova prepare
I've an ionic cordova hybrid project. I try to update the ios version platform in Podfile but i cannot change version. By default cordova set 'platform :ios, '11.0', but i've got a dependency needing ...
1
vote
0
answers
36
views
ionic + angular 12 dynamic meta tags not visible on page source, but sometimes it does appear in page source
I've this websites build with ionic 5 + Angular 12. Am trying to add meta tags which are fetched from API. So it's dynamic. It was all good until now. It was appear in page source without any issues. ...
0
votes
0
answers
76
views
How can I center an ion-fab button within an ion-tabs component in Ionic?
How can I center a floating button with a label exactly in the center of an ion-tabs component? I'm facing an issue where the display gets shifted to the right on certain mobile devices, as shown in ...
0
votes
0
answers
18
views
Problem running Android Studio from VSCode
Trying to learn Ionic and when I try to open the generated android app from vs code with the command
npx cap open android
but when I use the npx cap run android everything works
Is my problem in ...
0
votes
1
answer
363
views
Ionic5 npm ERR whith ionic cordova platform add android command
Summary of the problem
I have a mobile application project in Ionic5. I have successfully run the command npm install, but when I run ionic cordova platform add android I have this error :
sudo ionic ...
0
votes
0
answers
14
views
Unable to access Ionic application ts files in browser
I'm working on ionic angular project and i cannot debug the code on web browser cause all am seeing is compiled js files and webpack is not available.
I'm using ionic Cordova run browser as I'm using ...
1
vote
0
answers
227
views
How can I fix the error 'unable to open configuration settings file' when deploying an Ionic 5 hybrid mobile app on iOS with Cocoapods?
I have been trying to deploy an angular ionic but I have been experiencing the error below:
Issue file:///Volumes/workspace/repository/ios/App/Pods/Target Support Files/Pods-App/Pods-App.release....