-
Couldn't load subscription status.
- Fork 554
feat: Verify email with app #2037
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
Conversation
| .nonNull() | ||
| .observe(viewLifecycleOwner, Observer { | ||
| rootView.snackbar(it) | ||
| profileViewModel.syncProfile() |
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.
Why this line?
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.
Okay, it's duplicate. Removing.
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.
Updated
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.
Rest is good I think
app/build.gradle
Outdated
| debug { | ||
| buildConfigField "String", "DEFAULT_BASE_URL", '"https://open-event-api-dev.herokuapp.com/v1/"' | ||
| buildConfigField "String", "FRONTEND_URL", '"https://fossasia.github.io/open-event-frontend/"' | ||
| buildConfigField "String", "FRONTEND_URL", '"https://open-event-fe.netlify/"' |
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.
Duplicate, just use FRONTEND_HOST
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.
Updated
a9ea082
| buildConfigField "String", "MAPBOX_KEY", '"'+MAPBOX_KEY+'"' | ||
| buildConfigField "String", "STRIPE_API_KEY", '"'+STRIPE_API_TOKEN+'"' | ||
| resValue "string", "FRONTEND_HOST", "fossasia.github.io/open-event-frontend" | ||
| resValue "string", "FRONTEND_HOST", "open-event-fe.netlify.com" |
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.
Why not buildConfigField? It's static, it's constant, requires no context
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.
Cannot use in the manifest file for handle app link data.
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.
OK
Fixes #1926