Issue
Issue with the UNSPLASH_API being optional is, as of the dio interceptors we have, on error such as 401 status code will navigate us back to onboarding screen. An we get this 401 from unsplash api with this endpoint https://api.unsplash.com/photos/?client_id=&page=1&per_page=18 where the client ID is empty.
Fix
In the readme docs Line 46
|
2. Define the variables BASE_API (required) and UNSPLASH_API_KEY (optional) in the `.env` file and initialize them. |
Should be updated to make it mandatory (recommended) or providing some free API KEY will also solve this.
Issue
Issue with the
UNSPLASH_APIbeing optional is, as of the dio interceptors we have, on error such as401status code will navigate us back to onboarding screen. An we get this401from unsplash api with this endpointhttps://api.unsplash.com/photos/?client_id=&page=1&per_page=18where the client ID is empty.Fix
In the readme docs Line 46
plane-mobile/README.md
Line 46 in e0b8c53
Should be updated to make it mandatory (recommended) or providing some free API KEY will also solve this.