Quantcast
Channel: Ionic Forum - Latest posts
Viewing all 230426 articles
Browse latest View live

Why npm install doesnt install angular/dev-kit


CSS keyframe animation on ion-item is not transitioning smoothly

$
0
0

@Daveshirman I think you are right. Even if I use the Angular animations API I believe it still uses the same CSS and I would need to animate the color of the --background variable if I was to use an ion-item.
It’s a pain as it will take a bit of work to develop a pure html replacement for ion-item as its comes with some nice features such as a sliding item etc

HTTPS API calls fail using iOS 13 SDK (HTTP load failed)

$
0
0

Thanks, everything seems fine using the HttpClient in the browser, however I’m stuck using the native HTTP plugin on a device. Using the HttpClient on the device results in numerous CORS related issues instead.

I’m doing some more testing with some other public APIs to determine if it’s an issue with every https request or just with our AWS backend.

Amount validation

$
0
0

hi i want to validate amount like this 23.56 in ionic 4 for input type number and i dont want dash(-) symbol to accept this input… please let me know how to achive this from past one month i am having this issue

Ionic react lifecycles not working

Ionic 4 slow performance on user interaction

Amount validation

$
0
0

you can simply check input data in keyboard event such as keyup,keydown,keypress or you can use input event like this

<ion-input (keypress)="isNumberKey($event)"></ion-input>
isNumberKey(evt)
{
     var charCode = (evt.which) ? evt.which : evt.keyCode;
     if (charCode != 46 && charCode > 31 && (charCode < 48 || charCode > 57))
             return false;
     return true;
}

@ionic/storage tables/multiple databases? unclear

$
0
0

I am using the @ionic/storage package in Ionic 5, in retrospect I wish I would have used the SQLite plugin, but, anyways… here we are.

So I don’t really know what is going on under-the-hood that well as the docs don’t really provide that information. Is there a way to create tables? So my application has many separated sections, for example I have peerMessages, groupMessages, contacts, notifications, etc. And, currently in each of their respective service I am creating a new database(I think? once again docs not too clear) by doing

private messageStorage: Storage;
private groupMessageStorage: Storage;
public contructor() {
  this.messageStorage = new Storage({
    name: 'messageStorage',
    storeName: '_messageStorage',
  });
  this.groupMessageStorage = new Storage({
    name: 'groupMessage',
    store: '_groupMessage',
  });
}

now from the localforge docs I am creating multiple instances. Which I am assuming that this is not the same as a table, but, instead a whole other database??

I guess what my question is, if this option that I have done above is ok and will it scale when I create more of these instances? because as it is now when the application is started and I am inspecting through google chrome I see 6 instances of waiting for the Storage being opened, which as I add more instances is only going to slow down the start of the application. What I would like to do is create one db and then just access the table messages or groupMessages and save data/etc.


Amount validation

$
0
0

Thanks its working but i have one more requirement i want to accept single dot with two decimal digit like this 23.45 can you show for this also…

Ionic 3 add accessibility aria-labelledby

$
0
0

Hi, I’m only new here. I just need some help on my company accessibility requirements.
I’m using ion-spinner component for our loading application. We want to add element such as
role=“img” aria-labelledby=“idloading” to its auto generated SVG.

For example:
svg role=“img” aria-labelledby=“idloading” viewBox=“0 0 64 64” style=“animation-duration: 750ms;”></svg

image

Anyone know how to access the svg to add this elements? Thanks in advance!

Facebook login iOS (native)

MediaPlugin does not save audio recording into file [ionic-native]

$
0
0

Hi,could you please tell me how to record conversation over phone calls in ionic 4.

Ionic native share plugin not working for whatsapp

$
0
0

Please help. Stuck with same problem. Unable to send dataURI image nor file

Ion content

$
0
0

Hey I have a question is it ok to add elements between the ion-content and ion-footer:
< ion-content >…</ ion-content>
< div>Some static content< /div>
< ion-footer>< /ion-footer>.

Where sqlite store database file on Android

$
0
0

Good day! I am use Cordova SQLite Plugin for offline database. it work normally but i have know where the db file is located and share file with other person. Could anyone help please to find it on android devices.

I use…

      const DB_NAME: string = '__ionicstorage';
     const win: any = window;

    this._db = win.sqlitePlugin.openDatabase({
      name: DB_NAME,
      location: 2,
      createFromLocation: 0
    });

How can i load media files like instagram and facebook

$
0
0

Hi all,
I’m creating a social application where users can upload their images, videos and audio. And i’ll load the media files from s3 through URL. Now i want to make the user experience better so I’m thinking of making it like instagram and facebook. When the media file is big or network is down to show a loader.
Can any one help me, Thanks in advance.

iOS code signing not working anymore

$
0
0

Hello,

I’ve recently tried to install the cordova-plugin-wifiwizard2 plugin but it failed on the Mac I’m using for iOS builds. I’ve then replaced the plugin folder with the one from another PC where I could successfully install the update.

But since this change the code signing doesn#T work anymore, giving me following error message: “App name” requires a provisioning profile with the Hotspot Configuration, Access WiFi Information, and Network Extensions features.

I’ve then tried different settings for automatic signing, but nothing did work. So I’ve created a new provisioning profile for manual signing but this also did not work even though that features wherer listed at the Enabled Capabilities.

Since nothing did work, I’ve removed the iOS platform, updated cordova and re-added the platform. Then I’ve created new certificates and provisioning profiles for the app to use with the new platform. Now I’m getting a different error when trying to select the profile for manual signing: Provisioning profile “profile name” doesn’t include signing certificate “certificate name”
But the new certificates are included and the old ones has been revoked.

Can anybody help me? It already took me many hours.

Cordova: 8.0.0
Xcode: 10.1

Thanks in advance

Thilo

Amount validation

$
0
0
isNumberKey(evt)
{
     var charCode = (evt.which) ? evt.which : evt.keyCode;
     if (charCode != 46 && charCode > 31 && (charCode < 48 || charCode > 57))
             return false;
     var pattern = /^[0-9]+.[0-9]{2}/g;
     return pattern.test(this.yourvariable); // just use your ngModal variable directly or you can pass in function
}

Embedding a component on an external web site

$
0
0

Hi, we have a pwa (ionic4+angular8) and we would like to be able to embed a single component on external sites. The component uses parts of the whole application to produce a card. We would like that card to be shown on any external website and when clicking on it take the user to our app.

What is the best way to embed a component inside an external webpage?

Thanks!

Angular Element + cordova

$
0
0

Hello guys,

I am testing from an android device.

when I add to my IONIC application a WebComponent generated with Angular Elements and proceed to check if the platform is cordova, it doesn’t work.

This is because if I add a webcomponent it no longer recognizes cordova as a platform. But if I remove the webcomponent, if cordova recognizes me

Viewing all 230426 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>