Skip to content
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

Fixed GD 403 error #3469

Merged
merged 1 commit into from
Nov 26, 2019
Merged

Fixed GD 403 error #3469

merged 1 commit into from
Nov 26, 2019

Conversation

grzesiek2010
Copy link
Member

@grzesiek2010 grzesiek2010 commented Nov 25, 2019

Closes #3468

What has been done to verify that this works as intended?

I tested downloading forms from GD using odkCollectRelease build.

Why is this the best possible solution? Were any other approaches considered?

It's a bug in gradle https://issuetracker.google.com/issues/131072620
We updated gradle https://github.com/opendatakit/collect/pull/3423/files#diff-c197962302397baf3a4cc36463dce5eaR9 and it caused the problem.

How does this change affect users? Describe intentional changes to behavior and behavior that could have accidentally been affected by code changes. In other words, what are the regression risks?

It just requires testing GD using odkCollectRelease, that's all.

Do we need any specific form for testing your changes? If so, please attach one.

No.

Does this change require updates to documentation? If so, please file an issue here and include the link below.

No.

Before submitting this PR, please make sure you have:

  • run ./gradlew checkAll and confirmed all checks still pass OR confirm CircleCI build passes and run ./gradlew connectedDebugAndroidTest locally.
  • verified that any code or assets from external sources are properly credited in comments and/or in the about file.
  • verified that any new UI elements use theme colors. UI Components Style guidelines

Copy link
Member

@lognaturel lognaturel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Soooo frustrating. Thank you @grzesiek2010 for doing that detective work.

@yanokwa
Copy link
Member

yanokwa commented Nov 25, 2019

Nice job, @grzesiek2010!

To verify this worked, I used a google-services.json file that has an identical structure to the ones we have in release and debug. I used the values from the Firebase JSON, but pulled the oauth_client.client_id information from what we have in Google Console and have been using in previous releases. I then did the odkCollectRelease build and confirmed the following.

  • Google Drive download works
  • All Widgets placement-map shows the Mapbox tiles
  • My device running this branch shows up in the Firebase StreamView.

@opendatakit/testers No need to verify this change since I have done that.

@grzesiek2010 grzesiek2010 merged commit b9a4b59 into getodk:master Nov 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Downloading forms from Google Drive fails
3 participants