Closed NicadoX closed 3 years ago
Have you changed the url to point to your site?
My advice would be to check the http response you are getting for the common get requests like getting products and categories.
Most probably you can get a hint of what's going wrong there.
Have you changed the url to point to your site? Yes
url: 'url',
consumerKey: '*******************************************************',
consumerSecret: '*******************************************************',
"Failed to load data. Please Check your Internet Connection"
In main.dart file find the loadData() function. Inside it there is a section where I check if the site is in maintenance mode. Comment out that section or remove it because that was a custom implementation and won't work in your case.
You can find it in the first try...catch block. Remove it and see if it works.
I tried to remove however it generated this error
error https://pastebin.com/rb1UiKBN
my main.dart https://pastebin.com/g363RuwA
You have removed the line Function loadData.... along with the try...catch block. That's a syntax error.
Solved, thank you very much
Great. Closing this then.
how do I set up the app? I change the woocommerce key but it doesn't work. could you inform me simple tutorial