Fix geo intent handling #110

Merged
Starfish merged 6 commits from maximilianovermeyer/TinyWeatherForecastGermany:master into master 2021-12-04 11:24:21 +00:00

fixes #61
Hi @starfish,

this pull request fixes the handling of geo intents. I added a missing filter in the manifest and changed the detection to regex matching, so it's less likely to fail now.
It now detects the following patterns:
geo:x.xxx,y.yyy
geo:x.xxx,y.yyy?somefurtheroptions
geo:x.xxx,y.yyy;somefurtheroptions

But I did not pay attention to the fact my pull request will contain all changesets, so there are changes in the app/build.gradle to make debugging easier when using Android studio. Furthermore, I changed build.gradle to update the Gradle plugin and replace the deprecated jcenter repository with MavenCentral.

Can you discard the unwanted changes in the gradle files when merging? Otherwise, I can try to make a clean branch. Just tell me if you need so.

Thanks for the app

Max

fixes #61 Hi @starfish, this pull request fixes the handling of geo intents. I added a missing filter in the manifest and changed the detection to regex matching, so it's less likely to fail now. It now detects the following patterns: geo:x.xxx,y.yyy geo:x.xxx,y.yyy?somefurtheroptions geo:x.xxx,y.yyy;somefurtheroptions But I did not pay attention to the fact my pull request will contain all changesets, so there are changes in the *app/build.gradle* to make debugging easier when using Android studio. Furthermore, I changed *build.gradle* to update the Gradle plugin and replace the deprecated jcenter repository with MavenCentral. Can you discard the unwanted changes in the gradle files when merging? Otherwise, I can try to make a clean branch. Just tell me if you need so. Thanks for the app Max
maximilianovermeyer added 5 commits 2021-11-27 17:51:47 +00:00

looks promising to me 👍

@arwagner what are your thoughts on this one?

@maximilianovermeyer a javadoc comment for getLocationForGeoIntent() might be helpful.

Please also see the javadoc here (updated daily).

looks promising to me 👍 @arwagner what are your thoughts on this one? @maximilianovermeyer a javadoc comment for `getLocationForGeoIntent()` might be helpful. Please also see the javadoc [here](https://tinyweatherforecastgermanygroup.gitlab.io/twfg-javadoc/) (updated daily).
maximilianovermeyer added 1 commit 2021-12-01 10:40:51 +00:00
Starfish approved these changes 2021-12-04 11:12:23 +00:00
Starfish closed this pull request 2021-12-04 11:22:31 +00:00
Starfish reopened this pull request 2021-12-04 11:22:38 +00:00
Starfish changed title from WIP: Fix geo intent handling to Fix geo intent handling 2021-12-04 11:24:10 +00:00
Starfish merged commit 13077915cd into master 2021-12-04 11:24:21 +00:00

Thanks for the improvements!

However, I will put the debug-variants back in, because

a) some debug features (e.g. optional logging to logcat) depend on them,
b) if android studio is too stupid to handle debug variants, this is not my problem :-) Btw. I do not use android studio but intelliJIdea....

Thanks for the improvements! However, I will put the debug-variants back in, because a) some debug features (e.g. optional logging to logcat) depend on them, b) if android studio is too stupid to handle debug variants, this is not my problem :-) Btw. I do *not* use android studio but intelliJIdea....

Have to revert to gradle 3.5.3, because the new version requires api 30, and the app now still targets api 29.

Have to revert to gradle 3.5.3, because the new version requires api 30, and the app now still targets api 29.
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Starfish/TinyWeatherForecastGermany#110
There is no content yet.