How ionic uses the cordova plug-in

can the cordova plug-in be introduced directly with the script tag instead of cordova plugin add com.phonegap.plugins.barcodescanner?

Mar.04,2021

No, because this directive not only adds some js files needed in the web page, but also adds some native implementation libraries under Android, IOS and other target systems. It is not possible to add js manually.


No, this plug-in is native code, and the corresponding js code should be installed through npm install

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1beead2-39fc4.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1beead2-39fc4.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?