makeplane / plane-mobile

📱 🛫 🔥 Mobile App of Plane. Open Source JIRA, Linear and Height Alternative. Plane helps you track your issues, epics, and product roadmaps in the simplest way possible.
GNU Affero General Public License v3.0
171 stars 52 forks source link

[📚 Docs]: UNSPLASH_API should not be Optional #77

Open yahu1031 opened 1 year ago

yahu1031 commented 1 year ago

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

https://github.com/makeplane/plane-mobile/blob/e0b8c53af45759ce2551a88b1de57ce11f018b7a/README.md?plain=1#L46

Should be updated to make it mandatory (recommended) or providing some free API KEY will also solve this.