Closed iMohamedSamir closed 4 years ago
Hi @iMohamedSamir,
The error on your screenshot isn't related to the admin token in your config file. It's related to the customer token you get after login. But I don't think it somehow breaks your home screen.
Hi @iMohamedSamir
By default, customer token generated when user login is valid for 1 hour. You can change these values from Admin by selecting Stores > Settings > Configuration > Services > OAuth > Access Token Expiration.
There, increase the customer token expiry time to 168hours(7 days) or according to your need
@troublediehard I would suggest you to add this steps in setup guide.
Thanks, @alexakasanjeev, good point. But I want to note it doesn't relate to the reported issue
Describe the bug
The app failed to load categories in the homepage.
Expected behavior
load categories in the homepage.
Yeah, my bad, I had completely two separate issues and I thought they were related And thanks @troublediehard @alexakasanjeev
Describe the bug The app failed to load categories in the homepage.
Expected behavior load categories in the homepage.
Current Behavior The app failed to load categories in the homepage.
Steps to Reproduce Please provide detailed steps for reproducing the issue.
Screenshots
Smartphone (please complete the following information):
Additional context I think this issue is not related to magento-react-native specifically, but I am still digging. Also it is not permission related issue, I sure I gave all access to the access token account.