450
questions
0
votes
3
answers
989
views
I Cannot set background image in ionic 4 div from template
I am building a mobile app with ionic and I am trying to change the background image of the div but its not working
Here is the code
<div style="background-image: url(./assets/IMG/set3.jpg);">
...
2
votes
1
answer
2k
views
Ionic 4 custom styling Shadow DOM
Been trying to change footer background but I cant get it right. I have a color for each tag but only the last tag is changed (blue - #0000ff) . How does one do styling in Ionic 4?
<template>
...
0
votes
0
answers
265
views
Can we convert the apps made in Ionic to iOS
I am a newbie in ios developement. Please help can we convert ionic sdk app to iOS apps.
Thanks
0
votes
1
answer
923
views
Predefined CSS Classes not working ionic3
I have add
<button ion-button color="light">Light</button>
in home.page.html but its not working
button ion-button is not looks like button, it doesn't look like as button or as per the ...
1
vote
2
answers
830
views
Ionic View is not Updating with Two way Data Binding
I am creating very basic ionic app. I want to show splash, then admob interstitial and on close of interstitial, i want to redirect to home page.
The only problem which I am facing here is updating ...
0
votes
1
answer
984
views
Ionic Google Map Not Working In Device or -l Lab view but working prefect in Browser
i'm creating a nearby resturant using google map place api but when it fire on browser view it work prefect but not working in device or lab view i'm trying all thing searching all over the google ...
0
votes
4
answers
2k
views
ionic serve with wifi hotspot to test on mobile
I'm trying to test our app in the mobile browser.
I started a wifi hotspot
Ran ionic serve on our project root
Connected to wifi on mobile device
On mobile browser went to http://localhost:8100
but ...
0
votes
1
answer
54
views
Pass page parameter from view to controller
I am quite new to ionic and I am quite lost at this point:
I have the following html:
<ion-menu [content]="mainContent">
<ion-header>
<ion-toolbar>
<ion-title>
...
0
votes
1
answer
195
views
How to dynamic quantity + and - in ionic 2?
<p><b>Qty :</b>
<ion-icon name="remove-circle" (click)="decrement()"></ion-icon>
{{cart.qty}}
<ion-icon name="add-circle" (click)="increment()"></...
0
votes
1
answer
483
views
ionic app url found localhost instead file folder
After generating Android build and inspect within Google chrome.
The url in app should be file:///android_asset/www/index.html (Image2)
But always getting localhost.
Why its showing localhost:8080 …...
9
votes
4
answers
1k
views
File not uploading in server ionic3
I have a scenario where I am uploading a image file from my local drive (type jpeg or png) to an API endpoint using ionic. Here is my code below :
fileupload.html -->
//------------------------------...
-1
votes
2
answers
836
views
Ionic run app in browser with different devices
How do I run my ionic application within the browser where I can select the 3 different devices?
2
votes
0
answers
772
views
How to create scrollable ion-tab in ionic 3
How to create scrollable ion-tab in ionic 3.
I need horizontal scroll ion-tab options and indicator.I tried below links for implementation this feature but still not found any solution :
How can i ...
-2
votes
2
answers
931
views
Ionic 4 app not working in android Lollipop
I created an Ionic 4 android app which is working fine in Android 8. But when I test it in Android 5 (As an app and in the browser both), getting the below error.
Uncaught SyntaxError: Use of const ...
9
votes
2
answers
19k
views
How can I remove border in ion-card in ionic?
I've try many way to remove the border in my ion-card, but it not successfully. Please help me.
Here is my css file:
page-home {
ion-card, .card-ios, .card-md {
border: 0 !important;
...
0
votes
0
answers
61
views
Error while building android apk in ionic 3
(node:7592) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejec
tion id: 1): [object Object]
(node:7592) [DEP0018] DeprecationWarning: Unhandled promise rejections are depre
cated. ...
0
votes
3
answers
123
views
Ionic 2 serve error
I got the following errors after ionic serve --lab:
Any Idea why the error above is occurred?
Ionic cli version 3.9.0
App scripts version 1.4.1
Typescript 2.3.9
Thanks.
0
votes
0
answers
397
views
Error: Template parse errors: in Ionic 3
When I run ionic serve i'm getting the following error below. Why I'm I getting the error? Does it have to do with IonicModule.forRoot(MyApp)?
This is my .html component:
<ion-header>
<...
3
votes
2
answers
5k
views
Ionic application shows localhost:8080 in chrome inspect
beginner in ionic technology. Facing issue after creating project
ionic start Myapp blank
ionic cordova run android
@ionic/cli-utils : 1.19.2
ionic (Ionic CLI) : 3.20.0
global packages:
...
25
votes
12
answers
139k
views
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\...
0
votes
2
answers
302
views
ionic2+ how to cache page so that i can navigate to certain page with the page cached
BG: I got 2 page and want to switch to each other every 60 seconds.
now i am using push/pop to do the job. when i push the second page it will create a new one and the page would flicker which had a ...
1
vote
1
answer
2k
views
ERROR Error: Error trying to diff '[object Object]'. Only arrays and iterables are allowed in ionic
how do i order it to display this array in the dropdown??
my.html
<ion-item>
<img src="assets/img/travel/city.png" width="25" height="30" item-start>
<ion-label stacked>...
-1
votes
1
answer
662
views
Conditioan Appearance of Ionic Icons
can you please describe me how to change Ionic icon on conditioanal basis I want 'man' icon if gender is Male and 'woman' icon if gender is femal for example:
0
votes
1
answer
842
views
Show cancel button until ion-searchbar has value
In Ionic 3 application, I want to show the cancel button of ion-searchbar until the search bar has value.
Mine is a tab based application and on moving to other tab and coming back to the tab, the ...
0
votes
1
answer
1k
views
Ionic 2: Menu Toogle not working
I have 2 pages, login and home, when the user successfully logins, it will be directed to the home page and I set this as the root page. I've confirmed this by using navCtrl.canGoBackFunction and it ...
0
votes
1
answer
37
views
Can i have more than one key for TouchId?
I have an ionic app, and my user wants to login with using different users but with the same FaceId, for example. My question is, can i have more than one key for my app on IOS? What's the best way to ...
1
vote
1
answer
328
views
Can I use TestFlight with Ionic 3 without one MacOS?
So I'm developing one application with Ionic 3 and we had some problems to test push notifications and generate one test version for iOS users.
Recently Ionic View was removed from Apple store, and ...
0
votes
1
answer
294
views
ion-textarea push the ion-header all the way to the top and hide it
I am currently working with the latest version of ionic, I am using a textarea in data entry page. after the user clicks on the textarea the keyboard shows up and whole page goes up. The issue is it ...
1
vote
1
answer
819
views
Nested loop JSON array ionic 3
I have an issue to display data, currently my view is like this .
and my database in table 'jadual' is like this The orange box is a name from pelajar_id column, and the time at below is timestamp ...
0
votes
1
answer
503
views
send QR code to email in ionic 3
It's that possible send QR code to email in ionic 3? I can't send my QR code to email and it's show 'unable attach file'.
here's my code in html
<ion-card *ngIf="createdCode">
<ngx-...
1
vote
0
answers
90
views
How to test ionic app on Ionic View
I'm using ionic app and try test on ionic view at this link:
https://dashboard.ionicframework.com/app
I have created a account and push my source from GIT to ionic view.. and then I have downloaded ...
2
votes
2
answers
3k
views
How could I load video files from my library? Ionic 3
I observed that the Native File has not been supported by the Ionic View anymore see list here.
I am trying to get a video from my library by using Native Camera to access the videos. It can return ...
-1
votes
2
answers
836
views
Ionic 2 StatusBar Color Text
my problem is: is there a trick for change the StatusBar text color in Ionic 2 or 3? I have installed "cordova-plugin-statusbar" , I can change the background color but is not possible to change the ...
1
vote
0
answers
1k
views
Ionic content scrolling up issue when keyboard is open
When we open keyboard, the all content scrolling up in app screen.
We are already added this code, but still not working.
if(window.cordova && window.cordova.plugins.Keyboard) {
window....
1
vote
2
answers
948
views
POST data ionic 3 and backend API restful laravel
I have an issue about POST data at add student page. I'm using ionic 3 and backend API restful laravel, I tried this POST in postman and it's works, but I got an error message "invalid token or token ...
1
vote
1
answer
1k
views
How to make an Ionic grid item, editable on double click
I want to make an Ionic table that fetches the data from MongoDB.On double-clicking a row, it should be editable. I tried implementing getElementById(). But it's not supported in Ionic.
0
votes
1
answer
136
views
Ionic View app doesn't appear for install in portugal app store for iOS device
I'm building an app using Ionic 3 and would like to share it with my client to test them through "Ionic View" app using the "Ionic Pro Cloud Service", but when I find for this "Ionic View" at Portugal'...
0
votes
1
answer
938
views
Ionic Runtime Error: _v.context.$implicit.image is null
I'm creating an Android app to view details about TV Series'. I'm new Ionic and I did that crash course at Ionic Academy.
Some of the values recieved by the API calls are null.
I want to show "image ...
1
vote
2
answers
2k
views
Ionic view - Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header
I have seen this question being asked before but the answers haven't helped me.
I have ionic mobile app that makes use of a Rails 5.2 api that i built myself.
I'm having trouble geting a PUT request ...
4
votes
1
answer
2k
views
Anyway to remove white screen after splash screen
When on a slow connection, my Ionic app shows a white screen briefly on a slow connection. I am not importing any providers and the page does not have cordova plugins so it should not be an issue.
...
0
votes
1
answer
1k
views
Tabs Not Showing in Ionic 2
I have a tab inside a modal. I need to show the 3 tabs inside the modal. However, it doesn't show up. It just appear a blank.
<ion-header>
<ion-navbar>
<ion-buttons left>
...
2
votes
1
answer
79
views
Same Data if Close Modal in Ionic/Angular
I have this filter modal in which i can choose a country to show. Now, when i already have a selected country then i open the modal and close it without making a new selection, i still want that ...
2
votes
2
answers
1k
views
Ionic 3 NavController does not pop the view instead creates a new one
The ionViewDidLoad function seem to get called twice, which is causing multiple views being created of AddressPage. I have debugged this and it looks like whenever data is updated the new instance of ...
0
votes
0
answers
271
views
View is scrolling with white background in Ionic 3
I have set ScrollEnabled false in config.xml but my application is scrolling in mobile device, I haven't added any scrolling properties but I have this issue. Anyone facing this issue on Iocic or am I ...
0
votes
1
answer
158
views
Upload ionic 2 app in ionic view
I am trying to upload my ionic tabs application to ionic view, it's get uploaded but the problem is manually created pages are gives error. And it can not detect the changes from that manually created ...
2
votes
0
answers
139
views
Ionic Pro Montoring not working with Ionic DevApp
I am working on an ionic app, and I would like to use ionic pro monitoring for that, which works perfect if I open my app in a browser (ionic serve --lab) but it does not work for me if I open it with ...
0
votes
2
answers
63
views
verify of ionic code structure
Can anybody please verify this code in pure ionic-2 format.
Since I am bit confuse to check properly.
If This is not good format then What it could be?
`<ion-content padding>
<...
1
vote
1
answer
177
views
Ionicview and ionic serve CORS
My ionic app is connecting to asp.net web api on azure. The API already allow all origin to access and the API_KEY header. However I am still getting Message
"The origin 'http://localhost:8100' is not ...
1
vote
1
answer
1k
views
Ionic2 - Add global class to whole application page, depending on detected device name
I am detecting a platform in my app.component.ts file, where I want to add a several different scss to the ion-header, ion-content, ion-title etc. tags in my whole app.
I want to add a global prefix (...
1
vote
2
answers
358
views
How to use ionic model to view and edit data? is it good approach?
I have saved data in sqlite. Now i want to edit data. I want to create a model and give list of saved records in it. when user click on any row display on model it will go into edit mode . Is it good ...