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

Just finished migration of my app to v.4


How to display image(taking with camera) on canvas (signature pad)

Cannot find type definition file for '@types'

$
0
0

it worked for me.
the problems i spent days on, solved! thank you

Cannot find type definition file for '@types'

$
0
0

just editing the package.json didn’t change anything.
i ran npm i @ionic/app-scripts@3.2.3 command and it solved.
thanks to @luciojb

Issue when build using CocoaPods

$
0
0

Hi,
I’m using cocoapods to install plugin dependencies, but when i try to build the following error is displayed:

I’m using cordova-ios 5.0.1. Any suggestion?

`npm run test` hangs on brand new project

Just finished migration of my app to v.4

$
0
0

Thanks for sharing. Seems like a good blueprint to follow.

Few issues with capacitor ios guide


Ionic v4 alertController input type date and placholder

$
0
0

Hi,

i’m trying to set default value Or placholder in alertCtrl ? Is it possible ?

this code is not working :

let today = new Date().toLocaleDateString();

....
inputs: [
          ....
            
          {
            name: "date",
            type: "date",
            value: today,
            placeholder: today
          },

Thanks,
n

Getting an issue while creating a build in ionic 3

$
0
0

getting an issue while creating a build in ionic 3 . before two days were working fine with the code but got update that 4.1 version is not support please update to 4.6 minimum support version is 4.6.

Capacitor ios live reload?

$
0
0

The capacitor ios guide has commands for cordova and capacitor all the way down to “Running with the Ionic CLI” where there is just a cordova command.

How do we launch a live-reload server with capacitor?

Capacitor ios live reload?

$
0
0

It seems that ionic capacitor run ios -l works - should that be part of the guide?

How to display contacts photos

$
0
0

I try that code.But i am getting this error Not allowed to load local resource:…
How to try in Ionic4.Thanks for your help.

Creating alarm clock app

$
0
0

Hey Guys.
How to create my app forever running like alarm in ionic4.
Please Help me.

Could 'ionic generate' create a more consistent folder structure?

$
0
0

I ran generate for all available types:

ionic g page foopage
ionic g component foocomponent
ionic g service fooservice
ionic g module foomodule
ionic g class fooclass
ionic g directive foodirective
ionic g guard fooguard
ionic g pipe foopipe
ionic g interface foointerface
ionic g enum fooenum

and ended up with these new files:

        src/app/fooclass.spec.ts
        src/app/fooclass.ts
        src/app/foocomponent/
        src/app/foodirective.directive.spec.ts
        src/app/foodirective.directive.ts
        src/app/fooenum.enum.ts
        src/app/fooguard.guard.spec.ts
        src/app/fooguard.guard.ts
        src/app/foointerface.ts
        src/app/foomodule/
        src/app/foopage/
        src/app/foopipe.pipe.spec.ts
        src/app/foopipe.pipe.ts
        src/app/fooservice.service.spec.ts
        src/app/fooservice.service.ts

So, class, directive, enum, guard, interface, pipe and service all create files that are in the root of src/app while page, component and module al create their own folders.

Why the inconsistency?

Are page/component/module special somehow? If not, would it be better that things get created in a directory structure like src/app/<type>s/<name>/ ?


How to send notifications to devices?

$
0
0

Hi,
I’d like to send notifications (text messages) to the customers that use my Ionic4 app.
This messages will be shown on the app.
The messages should be sent to all customers or selectively to a specific customer.

Is it possible to implement this feature with Ionic4?
Should I use push notifications, MQTT client or there are other ways?

Thank you for your suggestions

cld

Secugen- External Bio-metric device for Finger Print Scanning how i intgrate in Ionic 2

$
0
0

Hi. Were you able to integrate the Secugen external fingerprint scanner with Ionic2?

Split-pane layout for iPad

$
0
0

Hey there!

We’ve been creating an ionic 4 app with multiple (6) layers and it works great on mobile devices. You can click on each entry, which opens a new page and displays the next layer in the hierarchy.

Now we want to adapt it for tablets (iPad). The idea was to make use of the larger screen and display multiple pages on it at the same time.

One idea was to use ion-split-pane but instead of a menu+page we wanted to have two pages side by side. This didn’t quite work out as it’s not intended for this purpose.

The question now is: is there a way to make this work with split-pane or do any of you have another idea how we could accomplish this “multiple pages per screen” view?

As a backup plan we would use a responsive grid layout where each column would substitute for one of our pages.

Thanks in advance :slight_smile:

fcm.onNotification() how to make it synchronous?

$
0
0

I have to show some content based on fcm data what i fetch but the problem is it’s taking time to fetch data from notification mean while it’s navigating to some other page.I have to wait until fcm data fetched properly.

this.fcm.onNotification().subscribe(data => {
                 if(data.data){
                   //show offers according to notification data
                 }
               else{
               //no fcm data go to offers page show old offers which are in nativestorage
                }

}
});

now the problem is above method triggers when there is notification data other wise it’s not gonna trigger at all.

how should i handle this case??

Trouble to get contacts from the device

Viewing all 228535 articles
Browse latest View live


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