I m trying to use the client action IsCordovaDefined from common plugin forge component for ApplePay , On CheckPlugin client action of ApplePay module , I m checking for Cordova defined but I m getting plugin not available error ,
Hi,
Did you test this on the browser desktop or on the mobile device ?
On browser, plugin will always not available because browser cannot run cordova.
Yes I tested in browser with device as mobile and tab .Also can you explain me in brief about cordova . I did get proper documentation for that
Cordova plugin is native capability that cannot be emulated via browser, so if you want to test this, create native mobile apps, then test it there.
Also information : https://success.outsystems.com/Documentation/11/Extensibility_and_Integration/Mobile_Plugins/Using_Cordova_Plugins
Ok sure , I will go through that.
Hi @Toto
I even tested with mobile still getting same error. And the below attached image is the Js code written in common plugin module which i used to check the plugin availability.
Can you provide screenshot of the error on mobile ?
Is this android ? Can you provide logcat log for this app ? or can I get the apk to check ?
This is using applepay with applepay plugin. This cannot run on android.
"window.ApplePay" will result false in android device.
It will work only in IOS?
yes, it's "Apple"Pay
Thanks