Automattic / simplenote-android

Simplenote for Android
https://simplenote.com
GNU General Public License v2.0
1.77k stars 299 forks source link

Add query in AndroidManifest to support resolving browsers #1553

Closed danilo04 closed 2 years ago

danilo04 commented 2 years ago

Fixes #1551.

Fix

With the upgrade to targetSdkVersion 30, we can't longer use Intent.resolveActivity(...) without some queries declarations in the AndroidManifest.xml. This PR adds queries to support resolving browsers.

Test

  1. Go to a note
  2. Add link, raw link and markdown links
  3. Tap on the link and try to open it in a browser (use the button on the top bar)
  4. The link should be opened in the browser.

Review

Only one developer is required to review these changes, but anyone can perform the review.

Release

RELEASE-NOTES.txt was updated in a4f623e8be8c536c707b4b911fc174b98a8a1977 with:

Fixed links not opening in browser

peril-automattic[bot] commented 2 years ago

You can test the changes on this Pull Request by downloading the APK here.