Upgrading Pay Money Mobile App from v1.7 to v1.9

Note: The following upgrade procedure is for Pay Money mobile and web applications(which have not been customized)

Applying the following steps to your customized web and mobile applications might break both applications. So, handle with care

Make sure that you do have a back up of your files and and database before upgrade

 

Mobile Application
==============

1) Delete the old “www” folder  and paste the new “www” folder from the latest Pay Money Mobile Application v1.9

 

 

2) Go to “www/js/common/app.js” and replace SITE_URL with your installed Pay Money web application domain/sub-domain.

Example – var SITE_URL = ‘https://paymoney.techvill.org/api/’;

 

Note: be careful with “http” and “https”; else your mobile application will NOT work.

3) Go to Project root folder, open config.xml in a editor and add this line <plugin name=”phonegap-plugin-barcodescanner” /> (Take care for the inverted comma, while pasting that is in correct format)

4) Go to Project root folder, and then plugins folder. 

Delete all the files and folders inside the plugins folder, make it empty.

 

4) Now run the following commands in the project root

cordova platform remove android

cordova platform add android

 

Categories

© Copyright, Techvillage