Skip to content

Conversation

@jd-alexander
Copy link
Contributor

@jd-alexander jd-alexander commented Dec 25, 2019

Fixes #10843

Findings

This crash is occurring because, in API 29, they depreciated the latitude column.
So the query is currently calling for all columns including the depreciated column even though it isn't used.

Solution

To specify the column that is needed by the query so that the depreciated columns are no longer accessed.

Testing

  1. Use this PR and then share a video with the WordPress app.
  2. Add it to a new post.
  3. Thumbnail should appear and there should be no crash.

Note: I haven't reproduced the fix as yet. I am resolving an API error so this hasn't been tested.

Reviewing

Only 1 reviewer is needed but anyone can review.

Submitter Checklist

  • I have considered if this change warrants user-facing release notes and have added them to RELEASE-NOTES.txt if necessary.
  • If it's feasible, I have added unit tests.

usamahamid and others added 30 commits July 30, 2018 22:27
Introduced UI to list domain suggestions.
…ng toast after back-dating a scheduled post on top anchor now
…id into issue/9452-domain-suggestions

# Conflicts:
#	WordPress/src/main/res/values/colors.xml
…id into issue/9815-email-verification-reminder

# Conflicts:
#	WordPress/src/main/java/org/wordpress/android/ui/domains/DomainRegistrationDetailsFragment.kt
#	WordPress/src/main/java/org/wordpress/android/ui/domains/DomainRegistrationResultFragment.kt
#	WordPress/src/main/java/org/wordpress/android/ui/main/MySiteFragment.java
@jd-alexander jd-alexander marked this pull request as ready for review December 27, 2019 17:39
@oguzkocer oguzkocer deleted the issue/latitude_fix_api_29 branch May 27, 2021 18:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Crash when sharing a video with the app