All Questions
Tagged with ionic3 javascript
929
questions
1
vote
1
answer
551
views
How to scale a svg component to fit different screen size?
I add below svg component into my html file. It's size fit my tablet well, however it is too large for my smartphone. How can we automatically scale the svg's size to fit different screen?
<svg ...
0
votes
1
answer
38
views
Find corresponding product combination according to user's selection
This corresponds to an ecommerce site.
I have the following JSON corresponding to a list of combinations (sizes, colors, etc) valid for a certain product:
[
{
"id": 7,
"price&...
1
vote
0
answers
73
views
Ionic 3 - Register new element is formBuilder
I have added a custom slider element in the formBuilder. The code is as below:
var fields = [{
label: 'Rating',
attrs: {
type: 'slider'
},
icon: '🌟'
}];
var templates = {
...
0
votes
1
answer
330
views
ionic cordova build android --prod gets a JavaScript heap out of memory
I am building an Ionic 3 app. My --prod build was working fine. Suddenly I am getting the JavaScript heap out of memory now with the --prod flag. I have tried alot of things from the web but still I ...
0
votes
1
answer
2k
views
Ionic Please provide a valid ISO 8601 datetime format datetime issue
I am trying to bind my Ionic DateTime component through ngModel. I get a value from backend which looks like this
"30-07-2021 12:00:00 AM"
Then I process it into -
var date = "30-07-...
2
votes
1
answer
2k
views
How can i reload the current page in Ionic 3 when i refresh the browser?
I´ve the following problem. I´m working on an App written with Ionic 3 and I need that when I refresh the browser it renders the current page and does not redirect me to the home page.
It's possible?
...
1
vote
0
answers
105
views
Network onchange event is not getting triggered in case of wifi with exclamation mark in ionic3/5
We have a usecase where in we are using the socket for the Live data to display it in our mobile app. We are using Microsoft signalR(https://www.npmjs.com/package/@microsoft/signalr)
When ever network ...
0
votes
1
answer
300
views
When I try to submit the login form the page is reloading , not getting the values of form group -Ionic ,Angular
When I try to submit the login form the page is reloading , not getting the values of form group -Ionic ,Angular
I am using angular reactive forms and form builder with ionic framework
Help me , I ...
-1
votes
1
answer
161
views
ANGULAR/IONIC ERROR Error: Error trying to diff '[object Object]'. Only arrays and iterables are allowed
I have this error when I want to receive data from the server with a REST API and display it in an HTML component through a modal. In console if I get the data but in my HTML view not.
ERROR Error: ...
0
votes
1
answer
271
views
Icon resize and align left
In a page I have to show a list of items with icons. These icons vary in size as you can see in the picture (first one is larger for example. To have the same icon size everywhere in css I put the ...
0
votes
0
answers
91
views
getting LC is not defined in literallycanvas
literallyCanvas works fine with ionic 3 in (browser and android) but gives Can't find variable: LC error while building ionic 3 ios app with xcode.
In my index.html i have added
<script src="//...
0
votes
1
answer
624
views
How to do Receipt Validation in InAppPurchase Ionic 3
I am using InAppPurchase in our ionic 3 application. I am using the InAppPurchase2 plugin. I am also using Receipt Validator Fovea for subscription receipt validation. Purchase is working fine if I ...
1
vote
1
answer
388
views
There is any way to validate app signature in ionic?
It's been 2 days. I was searching for some clue on app certificate validation library/function in ionic. Like in android I found SignatureCheck.java enter link description here So can we also ...
0
votes
1
answer
366
views
Password RegEx - Minimum 12 char, Should contain 1 Uppercase & Lowercase & Number & Special Char and should not contain more than 2 repeated char
I am looking for an password regEx. which should cover the following conditions
1 Uppercase
1 Lowercase
1 Number
1 Special Char
should not contain more than 2 repeated char (Eg: SaaC - allowed, Saaac ...