In this guide we will configure some required changes in the mobile application files to connect it to our wordpress website.
We will also look at how to change app icon, app colors and other application settings to modify the application to our liking.
There are some required modifications that you need to make in order to connect the application to your wordpress website. Follow the steps below to make the changes:
Open the file
wooConfig.dart in android studio. It is located in
woostore_pro / lib / services / woocommerce / wooConfig.dart and change the following variables to your specific values.
wordPressUrl- This should be the url of your wordpress site, where you installed the wordpress software
consumerKey- Your WooCommerce Consumer Key which you created while setting up WooCommerce. Make sure that is has only READ PERMISSION
consumerSecret- Your WooCommerce Secret Key which you created while setting up WooCommerce. Make sure that is has only READ PERMISSION
Open the file
config.dart in android studio. It is located in
woostore_pro / lib / constants / config.dart and change the following variables to your specific values.
currencySymbol( If the symbol is “ $ ” then it must have a “ \ ” before it as flutter uses dollar symbol internally for other uses as well. For example "\$" to use a ($) symbol )
Please make sure that there are on errors as it might break your application.