Upgrading version from v12.1 to v2.3
Version Upgrade
Note: The following upgrade procedure is for Pay Money mobile v2.1 to version 2.3(which haven't 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 before upgrade
Mobile Application
1) Delete the old “www”
folder and paste the latest “www”
folder from the latest Pay Money Mobile Application v2.1
2) Delete the node_modules, platform, plugins folders
and package-lock.json
file.
3) Go to “www/js/common/app.js” and replace SITE_URL with your installed Pay Money web application domain/sub-domain.(https://example.com/api/)
Example – var SITE_URL = ‘https://paymoney-new.techvill.org/api/’;
Note: be careful with “http” and “https”; else your mobile application will NOT work.
4) Go to Project root folder, delete your old config.xml
file replace it from the newer version. Now open the config.xml
file in a editor and replace the red marked information according to your preferences.
5) Now run the following commands in the project root
cordova platform remove android
cordova platform add android
Cordova build android