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

How to access .jar file in .ts file


How to access .jar file in .ts file

$
0
0

But I want create plugin in Cordova.

How to post json to url and recieve json resonse using ionic4 angular?

Not able to create app in ionic version 3.20.1 after uninstalling latest ionic 4 version

FCM: notification not received if app is killed [Android]

$
0
0

Hi, It’s been a long back I had faced this issue. The root cause of this issue is some Chinese mobile manufacturers have customised Android OS and they will not allow debug app to run in background to receive the notifications. But when the app is downloaded from the store, there will not be any problem in receiving the notifications.
So do a beta release in Android and Test Flight in iOS to confirm this. It had solved my problem. All the best.

ReferenceError: RazorpayCheckout is not defined

$
0
0

Hi
ionic4 razorpay cordova plugin i used. but iam getting following error RazorpayCheckout is not defined

Thanks in advance

Ionic 4 Modal Controller

$
0
0

Ionic 4- Creating Modal with ShowBackDrop:true, creates backdrop on modal iteself

Code:
async naviagte(){
const myModal = await this.modalCtrl.create({
component: TestModalPage,
componentProps: {
},
showBackdrop:true,
backdropDismiss:true,
cssClass: ‘healthMeasurementModal’

});

It is creating Modal, but on backdrop on component itself like below
I want backdrop effect outside of modal and clicking outside should dismiss the modal.

Please help.

Using TFTP in Ionic App

$
0
0

Hi all,

I’m searching for a solution to upload a file to a server using TFTP. I know that there’s a FTP plugin but I have to use TFTP.

Thanks in advance.

Thilo


FCM: notification not received if app is killed [Android]

$
0
0

Oh, Thankyou soo much. actually am struggling for this.

FCM: notification not received if app is killed [Android]

$
0
0

Just I need to use fcm plugin for push notification, in fcm.onNotification will fire automatically if app was killed also. Is my guess is correct?

Ion-footer-bar and bar-footer stay at the top

Ion-select multiple value issues

Ionic 4 unable to display data inside ngFor

$
0
0

I am trying to fetch payment methods from razorpay payment gateway. But unable to display it. The problem is there is no data available at the time of display. How do I wait for data to load? Thank you in advance
.ts


ngOnInit() {

    this.razorpay = new Razorpay({

      key : 'XXXXXXX',

      key_secret: 'XXXXXXXXX'

    })

    this.razorpay.once('ready', function(response) {

      this.banks = response.methods.netbanking
      console.log(this.banks)
      this.display= true
      console.log(this.display)


    })

  }

html

<ul *ngIf="display"> 

  <li *ngFor="let hero of banks | keyvalue | async ">

    {{ hero.key }}: {{ hero.value }}

  </li>

</ul>

Here is the image of my console.logs. It consists of values of variable “bank” and variable “display”

Loud-rejection

$
0
0

comando che vorrei eseguire ==> cordova plugin add cordova-call

ERROR:
internal/modules/cjs/loader.js:638
throw err;
^

Error: Cannot find module ‘loud-rejection’
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object. (…AppData\Roaming\npm\node_modules\cordova\bin\cordova:26:23)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions…js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)

consigli? tips?

Error after installation 'call number plugin'

$
0
0

After install ‘call number plugin’
ionic cordova plugin add call-number
npm install @ionic-native/call-number
i have this error when try to use ionic or cordova commands
any idea?
Thanks in advance
internal/modules/cjs/loader.js:976
throw err;
^

Error: Cannot find module ‘projectname\node_modules\ionic\bin\ionic’
e[90m at Function.Module._resolveFilename (internal/modules/cjs/loader.js:973:15)e[39m
e[90m at Function.Module._load (internal/modules/cjs/loader.js:855:27)e[39m
e[90m at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)e[39m
e[90m at internal/main/run_main_module.js:17:47e[39m {
code: e[32m’MODULE_NOT_FOUND’e[39m,
requireStack:
}


How to load popover in lazy loaded component?

$
0
0

have you find solution ? please.

Ionic 4 unable to display data inside ngFor

$
0
0

test without <ul *ngIf=“display”>, I think it is not necessary because ngFor will update the corresponding content when value will become not null.

Ionic 4 unable to display data inside ngFor

$
0
0

Don’t use function but only fat arrow as a call back, as you will not be able to link to the object’s data. So binding is likely to fail too.

this.razorpay.once('ready', (response) => {

      this.banks = response.methods.netbanking
      console.log(this.ban

Ionic 4 unable to display data inside ngFor

Ionic 4 unable to display data inside ngFor

$
0
0

welcome. Never use function. Until you know when you can.

Viewing all 228535 articles
Browse latest View live


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