-
Notifications
You must be signed in to change notification settings - Fork 942
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update JS SDK to 1.2 #963
Update JS SDK to 1.2 #963
Conversation
| REACT_APP_GOOGLE_ANALYTICS_ID | See: [Google Analytics](./analytics.md) | | ||
| REACT_APP_AVAILABILITY_ENABLED | Enables availability calendar for listings. | | ||
| REACT_APP_DEFAULT_SEARCHES_ENABLED | Enables default search suggestions in location autocomplete search input. | | ||
| REACT_APP_SHARETRIBE_SDK_BASE_URL | The base url to access the Sharetribe Flex Marketplace API. FTW uses the correct one by default so no need to set this. | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this line be removed from here altogether? It just confuses FTW users and can be communicated in some other manner to FTW developers.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IRL: lets keep for now
@@ -32,6 +31,7 @@ REACT_APP_ENV=production | |||
# BASIC_AUTH_USERNAME=sharetribe | |||
# BASIC_AUTH_PASSWORD=secret | |||
# REACT_APP_GOOGLE_ANALYTICS_ID=change-me | |||
# REACT_APP_SHARETRIBE_SDK_BASE_URL=change-me |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe this could be removed also from the .env template.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IRL: lets keep for now
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Update the SDK dependency to 1.2. The new version uses the Flex prod API base URL by default so remove the need of setting it in the template.