A
Anil Kumar
Guest
Hi Bal, There seem to be problem with the generation of binaries when we use third party plug-ins as part of the mobile app in the Rollbase Mobil environment. i.e., the generated config.xml file has few wrong entries. This issue got fixed and will be available in production environment during 3.1 release (scheduled in early December). As a workaround please follow below instructions: Please take a backup of the complete project (either from Rollbase through ‘Generate XML or from Mobile App Builder) before modifying the files below 1) Open the config.xml and remove following code #list pluginsData as pluginsData ${pluginsData} /#list 2) Place the custom code which is required for the third party plug-in to work (example as below) feature name="Toast" param name="android-package" value="nl.xservices.plugins.Toast" / /feature 3) Open cordova_plugin.js file (Source - App name - assets - www - Files - resources - lib) and remove following code #list pluginsData as pluginsData $ { pluginsData } /#list #list pluginsMetadata as pluginsMetadata ${pluginsMetadata} /#list Note : I tried adding Toast phonegap plug-in ( https://github.com/EddyVerbruggen/Toast-PhoneGap-Plugin ) and doing above steps solved the problem and was able to generate .apk file. However, there is some problem with the given java code (toast.java) which do not as expected from the device. Hope this helps. Thanks and Regards, Anil Kumar. From: bal [mailto:bounce-bal@community.progress.com] Sent: Saturday, November 29, 2014 4:56 PM To: TU.Mobile@community.progress.com Subject: RE: [Technical Users - Mobile] Anyone tried NFC plugin with rollbase mobile RE: Anyone tried NFC plugin with rollbase mobile Reply by bal Hi Bal, I got the same error. I want to attach other Cordova plugins and get the same error on config.xml. Is it possible to attach external plugins into rollbase mobile? @Lthrees: Have you solved the issue? Stop receiving emails on this subject. Flag this post as spam/abuse.
Continue reading...
Continue reading...