Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • DanBaDo/ginkgo
  • flodef/ginkgo
  • zicmama/ginkgo
  • vjrj/ginkgo
  • pokapow/ginkgo
  • weblate/ginkgo
6 results
Show changes
Commits on Source (526)
Showing
with 247 additions and 429 deletions
...@@ -47,4 +47,4 @@ app.*.map.json ...@@ -47,4 +47,4 @@ app.*.map.json
/android/app/profile /android/app/profile
/android/app/release /android/app/release
build.sh build.sh
linux/ lib/env.g.dart
...@@ -81,6 +81,10 @@ flutter test ...@@ -81,6 +81,10 @@ flutter test
### Build & deploy ### Build & deploy
#### Prerequisites
Create a `.env` configuration file (and `.env-dev` for development) in the root of the project. Use the `dot.env.sample` file as template.
#### Build for web #### Build for web
Use first this command to enable web support: Use first this command to enable web support:
...@@ -211,12 +215,13 @@ DropdownMenuItem<Locale>( ...@@ -211,12 +215,13 @@ DropdownMenuItem<Locale>(
- ast: dixebral - ast: dixebral
- ca: calbasi - ca: calbasi
- da: Gerhard Pischinger
- de: Andreas Wahlen and FW - de: Andreas Wahlen and FW
- eo: flodef - eo: flodef
- eu: Anna Ayala Alcalá - eu: Anna Ayala Alcalá
- fr: flodef, Hugo, Maaltir, poka and vincentux - fr: flodef, Hugo, Maaltir, Michel du 64, italpaola, poka and vincentux
- gl: Vijitâtman - gl: Vijitâtman
- it: Anna Ayala Alcalá - it: Anna Ayala Alcalá, italpaola
- nl: Maria Rosa Costa i Alandi - nl: Maria Rosa Costa i Alandi
- pt: Carlos Neto - pt: Carlos Neto
...@@ -229,6 +234,14 @@ Thanks! ...@@ -229,6 +234,14 @@ Thanks!
- Chipcard https://commons.wikimedia.org/wiki/File:Chipcard.svg under the Creative Commons - Chipcard https://commons.wikimedia.org/wiki/File:Chipcard.svg under the Creative Commons
Attribution-Share Alike 3.0 Unported license. Attribution-Share Alike 3.0 Unported license.
- [POS svg from wikimedia](https://commons.wikimedia.org/wiki/File:Card_Terminal_POS_Flat_Icon_Vector.svg) CC-BY-SA 4.0 - [POS svg from wikimedia](https://commons.wikimedia.org/wiki/File:Card_Terminal_POS_Flat_Icon_Vector.svg) CC-BY-SA 4.0
- Open Sans: Copyright 2020 The Open Sans Project Authors (https://github.com/googlefonts/opensans) under the SIL Open Font License, Version 1.1.
- NotoEmoji: Copyright 2013 Google LLC under the SIL Open Font License, Version 1.1.
- Dejavu are (c) Bitstream DejaVu changes are in public domain.
-----------------------------------------------------------
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
-----------------------------------------------------------
### Pub packages used ### Pub packages used
......
...@@ -36,6 +36,7 @@ analyzer: ...@@ -36,6 +36,7 @@ analyzer:
# Ignore protoc generated files # Ignore protoc generated files
- "dev/conductor/lib/proto/*" - "dev/conductor/lib/proto/*"
- "lib/data/models/*g.dart" - "lib/data/models/*g.dart"
- "lib/generated/**"
linter: linter:
rules: rules:
...@@ -44,7 +45,6 @@ linter: ...@@ -44,7 +45,6 @@ linter:
- always_declare_return_types - always_declare_return_types
- always_put_control_body_on_new_line - always_put_control_body_on_new_line
# - always_put_required_named_parameters_first # we prefer having parameters in the same order as fields https://github.com/flutter/flutter/issues/10219 # - always_put_required_named_parameters_first # we prefer having parameters in the same order as fields https://github.com/flutter/flutter/issues/10219
- always_require_non_null_named_parameters
- always_specify_types - always_specify_types
# - always_use_package_imports # we do this commonly # - always_use_package_imports # we do this commonly
- annotate_overrides - annotate_overrides
...@@ -74,7 +74,6 @@ linter: ...@@ -74,7 +74,6 @@ linter:
- avoid_renaming_method_parameters - avoid_renaming_method_parameters
- avoid_return_types_on_setters - avoid_return_types_on_setters
# - avoid_returning_null # still violated by some pre-nnbd code that we haven't yet migrated # - avoid_returning_null # still violated by some pre-nnbd code that we haven't yet migrated
- avoid_returning_null_for_future
- avoid_returning_null_for_void - avoid_returning_null_for_void
# - avoid_returning_this # there are enough valid reasons to return `this` that this lint ends up with too many false positives # - avoid_returning_this # there are enough valid reasons to return `this` that this lint ends up with too many false positives
- avoid_setters_without_getters - avoid_setters_without_getters
......
plugins { plugins {
id "com.android.application" id "com.android.application"
id "kotlin-android" id "kotlin-android"
// The Flutter Gradle Plugin must be applied after the Android and Kotlin Gradle plugins.
id "dev.flutter.flutter-gradle-plugin" id "dev.flutter.flutter-gradle-plugin"
} }
def localProperties = new Properties()
def localPropertiesFile = rootProject.file('local.properties')
if (localPropertiesFile.exists()) {
localPropertiesFile.withReader('UTF-8') { reader ->
localProperties.load(reader)
}
}
def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
if (flutterVersionCode == null) {
flutterVersionCode = '1'
}
def flutterVersionName = localProperties.getProperty('flutter.versionName')
if (flutterVersionName == null) {
flutterVersionName = '1.0'
}
android { android {
compileSdkVersion 34 namespace = "org.comunes.ginkgo"
compileSdk = flutter.compileSdkVersion
ndkVersion = flutter.ndkVersion
sourceSets { compileOptions {
main.java.srcDirs += 'src/main/kotlin' sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = JavaVersion.VERSION_1_8
} }
defaultConfig { defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "org.comunes.ginkgo" applicationId "org.comunes.ginkgo"
minSdkVersion 23 // You can update the following values to match your application needs.
targetSdkVersion 33 // For more information, see: https://flutter.dev/to/review-gradle-config.
versionCode flutterVersionCode.toInteger() minSdk = 23
versionName flutterVersionName targetSdk = 33
versionCode = flutter.versionCode
versionName = flutter.versionName
} }
buildTypes { buildTypes {
release { release {
// TODO: Add your own signing config for the release build. // TODO: Add your own signing config for the release build.
// Signing with the debug keys for now, so `flutter run --release` works. // Signing with the debug keys for now, so `flutter run --release` works.
signingConfig signingConfigs.debug signingConfig = signingConfigs.debug
} }
} }
} }
flutter { flutter {
source '../..' source = "../.."
} }
...@@ -2,19 +2,29 @@ ...@@ -2,19 +2,29 @@
package="org.comunes.ginkgo"> package="org.comunes.ginkgo">
<uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/> <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission
android:name="android.permission.MANAGE_EXTERNAL_STORAGE"
android:maxSdkVersion="34" />.
<uses-permission android:name="android.permission.CAMERA" /> <uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.NFC" /> <uses-permission android:name="android.permission.NFC" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_INTERNAL_STORAGE" /> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<!-- By awesome notifications -->
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.SCHEDULE_EXACT_ALARM" />
<uses-permission android:name="android.permission.USE_FULL_SCREEN_INTENT" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<application <application
android:requestLegacyExternalStorage="true"
android:icon="@mipmap/ic_launcher" android:icon="@mipmap/ic_launcher"
android:label="Ginkgo"> android:label="Ginkgo"
android:requestLegacyExternalStorage="true">
<activity <activity
android:name=".MainActivity" android:name=".MainActivity"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode" android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
...@@ -23,6 +33,7 @@ ...@@ -23,6 +33,7 @@
android:launchMode="singleTop" android:launchMode="singleTop"
android:theme="@style/LaunchTheme" android:theme="@style/LaunchTheme"
android:windowSoftInputMode="adjustResize"> android:windowSoftInputMode="adjustResize">
<meta-data android:name="flutter_deeplinking_enabled" android:value="false" />
<!-- Specifies an Android theme to apply to this Activity as soon as <!-- Specifies an Android theme to apply to this Activity as soon as
the Android process has started. This theme is visible to the user the Android process has started. This theme is visible to the user
while the Flutter UI initializes. After that, this theme continues while the Flutter UI initializes. After that, this theme continues
...@@ -41,9 +52,11 @@ ...@@ -41,9 +52,11 @@
</intent-filter> </intent-filter>
<intent-filter> <intent-filter>
<action android:name="android.intent.action.VIEW" /> <action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" /> <category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="june" />
<data android:scheme="june" android:host="org.comunes.ginkgo" />
</intent-filter> </intent-filter>
</activity> </activity>
<!-- Don't delete the meta-data below. <!-- Don't delete the meta-data below.
......
...@@ -5,12 +5,12 @@ allprojects { ...@@ -5,12 +5,12 @@ allprojects {
} }
} }
rootProject.buildDir = '../build' rootProject.buildDir = "../build"
subprojects { subprojects {
project.buildDir = "${rootProject.buildDir}/${project.name}" project.buildDir = "${rootProject.buildDir}/${project.name}"
} }
subprojects { subprojects {
project.evaluationDependsOn(':app') project.evaluationDependsOn(":app")
} }
tasks.register("clean", Delete) { tasks.register("clean", Delete) {
......
org.gradle.jvmargs=-Xmx1536M org.gradle.jvmargs=-Xmx4G -XX:MaxMetaspaceSize=2G -XX:+HeapDumpOnOutOfMemoryError
android.useAndroidX=true android.useAndroidX=true
android.enableJetifier=true android.enableJetifier=true
#Fri Jun 23 08:50:38 CEST 2017
distributionBase=GRADLE_USER_HOME distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-all.zip distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-all.zip
...@@ -18,8 +18,8 @@ pluginManagement { ...@@ -18,8 +18,8 @@ pluginManagement {
plugins { plugins {
id "dev.flutter.flutter-plugin-loader" version "1.0.0" id "dev.flutter.flutter-plugin-loader" version "1.0.0"
id "com.android.application" version "7.2.2" apply false id "com.android.application" version "8.1.0" apply false
id "org.jetbrains.kotlin.android" version "1.8.20" apply false id "org.jetbrains.kotlin.android" version "1.8.22" apply false
} }
include ":app" include ":app"
File added
File added
File added
File added
File added
File added
File added
CURRENCY=g1-test
#SENTRY_DSN=https://306345cb87ee4e1cbbe9023fb4afc5fc@sentry.comunes.org/6
# Card customization
CARD_COLOR_LEFT="0xFFCE002D"
CARD_COLOR_RIGHT="0xFF673F1E"
# Empty for default
CARD_TEXT=Wallet in Ğ1-Test
# Nodes space-separated
# The duniter nodes are only used at boot time, later it tries to calculate periodically the nodes
# that are available with the less latency
DUNITER_NODES=https://g1-test.duniter.org
CESIUM_PLUS_NODES=https://g1.data.le-sou.org https://g1.data.e-is.pro https://g1.data.presles.fr https://g1.data.mithril.re
GVA_NODES=https://g1-test-dev.pini.fr:443/gva
assets/img/undraw_intro_5.png

53.1 KiB | W: | H:

assets/img/undraw_intro_5.png

30.8 KiB | W: | H:

assets/img/undraw_intro_5.png
assets/img/undraw_intro_5.png
assets/img/undraw_intro_5.png
assets/img/undraw_intro_5.png
  • 2-up
  • Swipe
  • Onion skin
This diff is collapsed.
...@@ -22,5 +22,6 @@ ...@@ -22,5 +22,6 @@
"intro_1_description": "Con esta cartera, tú podrás guardar, mandar, y recibir moneda Ğ1 (conocía como 'june').", "intro_1_description": "Con esta cartera, tú podrás guardar, mandar, y recibir moneda Ğ1 (conocía como 'june').",
"intro_2_title": "Una moneda dixital libre creada pa la gente y por la xente", "intro_2_title": "Una moneda dixital libre creada pa la gente y por la xente",
"g1_amount_hint": "Cantidad a mandai en {currency}", "g1_amount_hint": "Cantidad a mandai en {currency}",
"intro_2_description": "Ğ1 nun depende de nengun gobierno o corporación y ye eco-responsable( baxu consumu de enerxía), transparente y buena con too." "intro_2_description": "Ğ1 nun depende de nengun gobierno o corporación y ye eco-responsable( baxu consumu de enerxía), transparente y buena con too.",
"search_user_title_in_contacts": "Guetar persones usuaries"
} }