Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ class CurrentWidgetConfigurationActivity : ComponentActivity() {
Log.i("LastKnownLocation", lastKnownLocation)
Log.i("selectedBackground", selectedBackgroundOnStartup)

val providers : List<String> = listOf("open-meteo", "weatherapi", "met-norway")
val providers : List<String> = listOf("open-meteo", "weatherapi", "met-norway", "meteo-france")
val backColors : List<String> = listOf("secondary container", "primary container", "tertiary container", "surface", "transparent")
val frontColors : List<String> = listOf("primary", "secondary", "tertiary", "transparent")

Expand Down
8 changes: 8 additions & 0 deletions android/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,14 @@ subprojects {
subprojects {
project.evaluationDependsOn(":app")
}
subprojects {
configurations.all {
resolutionStrategy {
force("androidx.glance:glance-appwidget:1.1.1")
force("androidx.glance:glance-material3:1.1.1")
}
}
}

tasks.register<Delete>("clean") {
delete(rootProject.layout.buildDirectory)
Expand Down
4 changes: 4 additions & 0 deletions android/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,7 @@ android.useAndroidX=true
android.enableJetifier=true
#I added this to fix a lint crash, can be removed afterwards
android.experimental.lint.version=8.13.2
# This builtInKotlin flag was added automatically by Flutter migrator
android.builtInKotlin=false
# This newDsl flag was added automatically by Flutter migrator
android.newDsl=false
12 changes: 4 additions & 8 deletions lib/api_key_example.dart
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,11 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
//To test this project with your own api key, first rename this file to api_key.dart.
//Then add your own api keys below:

//IMPORTANT: Overmorrow has 3 weather providers (open-meteo and weatherapi and met-norway)
//but only weatherapi requires an api key. You don't need an api key for open-meteo or met-norway.
//IMPORTANT: Overmorrow has 4 weather providers (open-meteo, weatherapi, met-norway and meteo-france)
//but only weatherapi requires an api key. You don't need an api key for open-meteo, met-norway or meteo-france.

const String wapi_key = "YourWeatherApiKey"; //your api key from weatherapi.com
//the app works without this if you only use the open-meteo or met-norway providers
const String wapi_Key = "YourWeatherApiKey"; //your api key from weatherapi.com
//the app works without this if you only use the open-meteo, met-norway or meteo-france providers

const String access_key = "YourUnsplashApiKey"; //your api key from unsplash.com
//the app works without this if you set the image source to asset

const String timezonedbKey = "YourTimezonedbKey"; //your api key from timezonedb.com
//the app works without this if you use open-meteo as weather provider
//both the others don't return local times so they need this instead
Loading