-
Notifications
You must be signed in to change notification settings - Fork 114
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
Rk unsw end survey inapp browser #629
Rk unsw end survey inapp browser #629
Conversation
Can one of the admins verify this patch? |
@shankari We are removing the logout button to make sure our users won't accidentally logout which might cause confusion. We will advice them to delete the app once they fill the post-experience survey. |
@shankari Can you approve this as well? |
const uuid = profile && profile.user_id && profile.user_id['$uuid'] ? profile.user_id['$uuid'] : 'undefined'; | ||
const fieldPath = '/aDHunALXzzHXAUMrvkvRT9/_user_id'; | ||
const returnURL = 'https://reward.amarin.dev'; | ||
$cordovaInAppBrowser.open(`https://ee.kobotoolbox.org/single/::T9bEosso?d[${fieldPath}]=${uuid}&returnURL=${returnURL}`, '_blank'); |
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.
so for the end survey you decided to just use the online kobotoolbox and not embed it into the app?
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.
I have no problems with this; just wanted to check
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.
Yes, due to the time constraint that we are facing.
@shankari press build? 😬 |
wait, you want me to deploy this? I though you were only deploying to the |
It is for testing. If works on rk-unsw then we gonna deploy to all other branches. |
ok gimme 10 mins |
Thank you :) |
deployed, should be live in ~10 mins |
Screenshots: