Skip to content

Commit

Permalink
feat: added license header
Browse files Browse the repository at this point in the history
  • Loading branch information
marlonlom committed Sep 12, 2023
1 parent 0c3443d commit 5b07bc7
Show file tree
Hide file tree
Showing 56 changed files with 505 additions and 151 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Glucoreo


## License

**Glucoreo** is distributed under the terms of the Apache License (Version 2.0). See the [license](LICENSE) for more
Expand Down
5 changes: 5 additions & 0 deletions apps/mobile_app/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Copyright 2023 Marlonlom
* SPDX-License-Identifier: Apache-2.0
*/

@file:Suppress("DSL_SCOPE_VIOLATION")

import com.android.build.gradle.internal.cxx.configure.gradleLocalProperties
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Copyright 2023 Marlonlom
* SPDX-License-Identifier: Apache-2.0
*/

package dev.marlonlom.apps.glucoreo

import androidx.test.ext.junit.runners.AndroidJUnit4
Expand Down
5 changes: 5 additions & 0 deletions apps/mobile_app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright 2023 Marlonlom
~ SPDX-License-Identifier: Apache-2.0
-->

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools">

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Copyright 2023 Marlonlom
* SPDX-License-Identifier: Apache-2.0
*/

package dev.marlonlom.apps.glucoreo

import android.app.Application
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Copyright 2023 Marlonlom
* SPDX-License-Identifier: Apache-2.0
*/

package dev.marlonlom.apps.glucoreo

import android.os.Bundle
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Copyright 2023 Marlonlom
* SPDX-License-Identifier: Apache-2.0
*/

package dev.marlonlom.apps.glucoreo.home

import androidx.compose.foundation.background
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Copyright 2023 Marlonlom
* SPDX-License-Identifier: Apache-2.0
*/

package dev.marlonlom.apps.glucoreo.home

import androidx.compose.foundation.layout.Arrangement
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Copyright 2023 Marlonlom
* SPDX-License-Identifier: Apache-2.0
*/

package dev.marlonlom.apps.glucoreo.home

import androidx.compose.foundation.layout.Arrangement
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Copyright 2023 Marlonlom
* SPDX-License-Identifier: Apache-2.0
*/

package dev.marlonlom.apps.glucoreo.home

import androidx.compose.foundation.background
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Copyright 2023 Marlonlom
* SPDX-License-Identifier: Apache-2.0
*/

package dev.marlonlom.apps.glucoreo.onboarding

import androidx.annotation.StringRes
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Copyright 2023 Marlonlom
* SPDX-License-Identifier: Apache-2.0
*/

package dev.marlonlom.apps.glucoreo.onboarding

import androidx.compose.foundation.layout.Arrangement
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Copyright 2023 Marlonlom
* SPDX-License-Identifier: Apache-2.0
*/

package dev.marlonlom.apps.glucoreo.onboarding

import androidx.compose.foundation.background
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Copyright 2023 Marlonlom
* SPDX-License-Identifier: Apache-2.0
*/

package dev.marlonlom.apps.glucoreo.onboarding

import androidx.compose.foundation.background
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Copyright 2023 Marlonlom
* SPDX-License-Identifier: Apache-2.0
*/

package dev.marlonlom.apps.glucoreo.onboarding

import androidx.compose.runtime.Composable
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Copyright 2023 Marlonlom
* SPDX-License-Identifier: Apache-2.0
*/

package dev.marlonlom.apps.glucoreo.onboarding

import androidx.annotation.DrawableRes
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Copyright 2023 Marlonlom
* SPDX-License-Identifier: Apache-2.0
*/

package dev.marlonlom.apps.glucoreo.ui.main

import androidx.compose.foundation.background
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Copyright 2023 Marlonlom
* SPDX-License-Identifier: Apache-2.0
*/

package dev.marlonlom.apps.glucoreo.ui.main

import androidx.compose.foundation.shape.RoundedCornerShape
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Copyright 2023 Marlonlom
* SPDX-License-Identifier: Apache-2.0
*/

package dev.marlonlom.apps.glucoreo.ui.navigation

import androidx.navigation.NavHostController
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Copyright 2023 Marlonlom
* SPDX-License-Identifier: Apache-2.0
*/

package dev.marlonlom.apps.glucoreo.ui.navigation

import androidx.compose.material3.ExperimentalMaterial3Api
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Copyright 2023 Marlonlom
* SPDX-License-Identifier: Apache-2.0
*/

package dev.marlonlom.apps.glucoreo.ui.navigation.routes

import androidx.compose.ui.Modifier
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Copyright 2023 Marlonlom
* SPDX-License-Identifier: Apache-2.0
*/

package dev.marlonlom.apps.glucoreo.ui.navigation.routes

import androidx.compose.material3.ExperimentalMaterial3Api
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
/*
* Copyright 2023 Marlonlom
* SPDX-License-Identifier: Apache-2.0
*/

package dev.marlonlom.apps.glucoreo.ui.navigation.routes

import android.app.Activity
import androidx.compose.runtime.rememberCoroutineScope
import androidx.compose.ui.platform.LocalContext
import androidx.compose.ui.res.stringResource
import androidx.navigation.NavGraphBuilder
import androidx.navigation.compose.composable
import dev.marlonlom.apps.glucoreo.R
import dev.marlonlom.apps.glucoreo.ui.navigation.Destination
import dev.marlonlom.apps.glucoreo.ui.navigation.NavigationActions
import dev.marlonlom.apps.glucoreo.ui.signin.doSignIn
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Copyright 2023 Marlonlom
* SPDX-License-Identifier: Apache-2.0
*/

package dev.marlonlom.apps.glucoreo.ui.signin

import android.app.Activity
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Copyright 2023 Marlonlom
* SPDX-License-Identifier: Apache-2.0
*/

package dev.marlonlom.apps.glucoreo.ui.theme

import androidx.compose.ui.graphics.Color
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Copyright 2023 Marlonlom
* SPDX-License-Identifier: Apache-2.0
*/

package dev.marlonlom.apps.glucoreo.ui.theme

import android.app.Activity
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Copyright 2023 Marlonlom
* SPDX-License-Identifier: Apache-2.0
*/

package dev.marlonlom.apps.glucoreo.ui.theme

import androidx.compose.material3.ExperimentalMaterial3Api
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Copyright 2023 Marlonlom
* SPDX-License-Identifier: Apache-2.0
*/

package dev.marlonlom.apps.glucoreo.ui.timber

import android.util.Log
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Copyright 2023 Marlonlom
* SPDX-License-Identifier: Apache-2.0
*/

package dev.marlonlom.apps.glucoreo.ui.window_sizes

import androidx.compose.material3.windowsizeclass.WindowHeightSizeClass
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Copyright 2023 Marlonlom
* SPDX-License-Identifier: Apache-2.0
*/

package dev.marlonlom.apps.glucoreo.welcome

import androidx.compose.foundation.layout.Arrangement
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Copyright 2023 Marlonlom
* SPDX-License-Identifier: Apache-2.0
*/

package dev.marlonlom.apps.glucoreo.welcome

import androidx.compose.foundation.BorderStroke
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright 2023 Marlonlom
~ SPDX-License-Identifier: Apache-2.0
-->

<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="108dp"
android:height="108dp"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
<!--
~ Copyright 2023 Marlonlom
~ SPDX-License-Identifier: Apache-2.0
-->

<vector xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:aapt="http://schemas.android.com/aapt"
android:width="108dp"
Expand Down
11 changes: 8 additions & 3 deletions apps/mobile_app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright 2023 Marlonlom
~ SPDX-License-Identifier: Apache-2.0
-->

<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/ic_launcher_background"/>
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
</adaptive-icon>
<background android:drawable="@color/ic_launcher_background" />
<foreground android:drawable="@mipmap/ic_launcher_foreground" />
</adaptive-icon>
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright 2023 Marlonlom
~ SPDX-License-Identifier: Apache-2.0
-->

<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/ic_launcher_background"/>
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
</adaptive-icon>
<background android:drawable="@color/ic_launcher_background" />
<foreground android:drawable="@mipmap/ic_launcher_foreground" />
</adaptive-icon>
5 changes: 5 additions & 0 deletions apps/mobile_app/src/main/res/values-es/strings.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright 2023 Marlonlom
~ SPDX-License-Identifier: Apache-2.0
-->

<resources>
<string name="text_units_mmoll">Milimoles por litro (mmol/L)</string>
<string name="text_units_mgdl">Miligramos por decilitro (mg/dl)</string>
Expand Down
5 changes: 5 additions & 0 deletions apps/mobile_app/src/main/res/values/colors.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright 2023 Marlonlom
~ SPDX-License-Identifier: Apache-2.0
-->

<resources>
<color name="brand_alabaster">#FFF3F1E8</color>
<color name="brand_black_white">#FFE4E2DA</color>
Expand Down
5 changes: 5 additions & 0 deletions apps/mobile_app/src/main/res/values/fonts_certs.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>

<!--
~ Copyright 2023 Marlonlom
~ SPDX-License-Identifier: Apache-2.0
-->

<resources>
<array name="com_google_android_gms_fonts_certs">
<item>@array/com_google_android_gms_fonts_certs_dev</item>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright 2023 Marlonlom
~ SPDX-License-Identifier: Apache-2.0
-->

<resources>
<color name="ic_launcher_background">#FFFCF4</color>
</resources>
<color name="ic_launcher_background">#FFFCF4</color>
</resources>
5 changes: 5 additions & 0 deletions apps/mobile_app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
<!--
~ Copyright 2023 Marlonlom
~ SPDX-License-Identifier: Apache-2.0
-->

<resources>
<string name="app_name" translatable="false">Glucoreo</string>
<string name="web_client_id" translatable="false">857951100148-b32gpaidihr596r95l9qjk08dbbebe49.apps.googleusercontent.com</string>
Expand Down
5 changes: 5 additions & 0 deletions apps/mobile_app/src/main/res/values/themes.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright 2023 Marlonlom
~ SPDX-License-Identifier: Apache-2.0
-->

<resources>

<style name="Theme.Glucoreo" parent="android:Theme.Material.Light.NoActionBar" />
Expand Down
Loading

0 comments on commit 5b07bc7

Please sign in to comment.