Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
e5dfb50
gradle: targetSdk v35
thewizrd Jun 15, 2025
a5e80e3
SimpleWeather: edge to edge fixes
thewizrd Jun 15, 2025
4f1b4d0
workers: add retry weather retrieval cause
thewizrd Jun 15, 2025
a23ac3e
SimpleWeather: v5.12.0-build0
thewizrd Jun 15, 2025
08ff932
gradle: update dependencies + compileSdk v36
thewizrd Jun 15, 2025
7686037
GoogleLocationProvider: update mapping
thewizrd Jun 15, 2025
8e64bf2
WeatherNowFragment: fix issue with detail panel not loading on startup
thewizrd Jun 16, 2025
410278f
PoPChanceNotificationHelper: make notification text clearer
thewizrd Jun 17, 2025
8b5b8fb
Import translations
thewizrd Jun 17, 2025
4e39ce5
SimpleWeather: v5.12.0-build1
thewizrd Jun 17, 2025
21f439e
LocationSearchActivity: hide keyboard when showing error snackbar
thewizrd Jun 19, 2025
7a46c0a
PoPChanceNotificationHelper: schedule an update once rain event ends
thewizrd Jun 19, 2025
610864c
WeatherWidget4x2Tomorrow: schedule an update once rain event ends
thewizrd Jun 19, 2025
6c25a65
SimpleWeather: fallback to default provider if location is not supported
thewizrd Jun 19, 2025
2c30fad
SimpleWeather: v5.12.0-build2
thewizrd Jun 19, 2025
aa7f085
PoPChanceNotificationHelper: update forecast date filter
thewizrd Jun 21, 2025
0a98b34
SimpleWeather: v5.12.0-build3
thewizrd Jun 21, 2025
9790dde
gradle: update dependencies
thewizrd Jun 28, 2025
a3c23d9
SimpleWeather: v5.12.0-build4
thewizrd Jun 28, 2025
227495d
RemoteConfigService: add additional location specific providers as de…
thewizrd Jun 29, 2025
cf2423a
[Setup]SettingsFragment: notify user if permission is denied
thewizrd Jun 29, 2025
343ba63
[TEMP] gradle: update R8 version
thewizrd Jun 29, 2025
773f0c4
SimpleWeather: v5.12.0-build5
thewizrd Jun 29, 2025
49e411b
gradle: remove r8 override + rollback gradle version
thewizrd Jun 30, 2025
6bcba03
SimpleWeather: v5.12.0-build6
thewizrd Jun 30, 2025
c9a7dfe
SimpleWeather: v5.12.0-build7
thewizrd Jun 30, 2025
a15dd12
SimpleWeather: v5.12.0-build8
thewizrd Jul 1, 2025
8283b67
HEREWeatherProvider: adjust ttl
thewizrd Jul 20, 2025
c33e901
Settings: add links and Firebase settings
thewizrd Jul 20, 2025
4248e43
Worker: keep widgets intact if retryable
thewizrd Jul 20, 2025
44f90a0
WeatherDataLoader: remove usage of loadWeatherData
thewizrd Jul 20, 2025
f943de3
minor bug fixes
thewizrd Jul 20, 2025
dababca
SimpleWeather: v5.12.0-build9
thewizrd Jul 20, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions .aiexclude
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
*.iml
*.bak
*.orig
.gradle
/local.properties
/.idea/assetWizardSettings.xml
/.idea/workspace.xml
/.idea/libraries
/.idea/caches
/.idea
.DS_Store
/build
/captures
.externalNativeBuild
API_KEY.txt
.cxx
/weather-api/src/main/jni/fullgms
/weather-api/src/fullgms/java/com/thewizrd/weather_api/keys/Keys.java
/weather-api/src/fullgms/java/com/thewizrd/weather_api/keys/WeatherKitConfig.kt
/app/debug
/app/release
/app/fullgms
/app/nongms
/wearapp/debug
/wearapp/release
/wearapp/fullgms
/wearapp/nongms
/keycheck.bat
/keycheck.ps1
/ImportTranslations.bat
/secure.properties
/weathericons/
/extras/
*.7z
google-services.json
/.privado/
/.detekt
/.kotlin
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ android {
targetSdkVersion rootProject.targetSdkVersion
// NOTE: Version Code Format (TargetSDK, Version Name, Build Number, Variant Code (Android: 0, WearOS: 1)
// ex) 345100131 = (34, 5.10, 013, 0)
versionCode 345110040
versionName "5.11.1"
versionCode 355120090
versionName "5.12.0"

vectorDrawables {
useSupportLibrary true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,9 @@ class UnitTests {
val queryVM = locations.firstOrNull()
assertNotNull(queryVM)

val locModel = if (locationProvider.needsLocationFromName()) {
val locModel = if (locationProvider.needsLocationFromID()) {
locationProvider.getLocationFromID(queryVM!!)
} else if (locationProvider.needsLocationFromName()) {
locationProvider.getLocationFromName(queryVM!!)
} else if (locationProvider.needsLocationFromGeocoder()) {
locationProvider.getLocation(
Expand All @@ -387,8 +389,6 @@ class UnitTests {
queryVM.locationLong
), WeatherAPI.GOOGLE
)
} else if (locationProvider.needsLocationFromID()) {
locationProvider.getLocationFromID(queryVM!!)
} else {
queryVM
}
Expand Down
15 changes: 15 additions & 0 deletions app/src/fullgms/java/com/thewizrd/simpleweather/extras/Extras.kt
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,14 @@ package com.thewizrd.simpleweather.extras
import android.content.ActivityNotFoundException
import android.content.Context
import android.content.Intent
import androidx.lifecycle.lifecycleScope
import androidx.navigation.findNavController
import androidx.preference.Preference
import com.google.android.gms.maps.MapsInitializer
import com.google.android.gms.maps.MapsInitializer.Renderer
import com.google.android.play.core.splitcompat.SplitCompat
import com.google.firebase.installations.ktx.installations
import com.google.firebase.ktx.Firebase
import com.thewizrd.extras.extrasModule
import com.thewizrd.shared_resources.appLib
import com.thewizrd.shared_resources.store.PlayStoreUtils
Expand All @@ -21,10 +24,13 @@ import com.thewizrd.simpleweather.NavGraphDirections
import com.thewizrd.simpleweather.R
import com.thewizrd.simpleweather.locale.UserLocaleActivity
import com.thewizrd.simpleweather.preferences.BaseSettingsFragment
import com.thewizrd.simpleweather.preferences.DevSettingsFragment
import com.thewizrd.simpleweather.preferences.SettingsFragment
import com.thewizrd.simpleweather.preferences.`SettingsFragment$IconsFragmentDirections`
import com.thewizrd.simpleweather.snackbar.Snackbar
import com.thewizrd.simpleweather.utils.NavigationUtils.safeNavigate
import kotlinx.coroutines.launch
import kotlinx.coroutines.tasks.await
import timber.log.Timber

fun initializeExtras() {
Expand Down Expand Up @@ -179,4 +185,13 @@ fun SettingsFragment.AboutAppFragment.setupReviewPreference(preference: Preferen
}
}
}
}

fun DevSettingsFragment.updateFirebaseIdPreference(preference: Preference) {
runCatching {
lifecycleScope.launch {
val firebaseId = Firebase.installations.id.await()
preference.summary = firebaseId
}
}
}
1 change: 1 addition & 0 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
android:allowBackup="${allowBackup}"
android:enableOnBackInvokedCallback="true"
android:fullBackupContent="@xml/backup_rules"
android:dataExtractionRules="@xml/data_extraction_rules"
android:hardwareAccelerated="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
Expand Down
Loading