consistently EnCrateia (no k)

master
Stefan Haslinger 2020-03-11 12:41:29 +01:00
parent 8386fd6558
commit 6a5a6f029f
5 changed files with 23 additions and 11 deletions

View File

@ -24,6 +24,12 @@ if (flutterVersionName == null) {
apply plugin: 'com.android.application'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
def keystoreProperties = new Properties()
def keystorePropertiesFile = rootProject.file('key.properties')
if (keystorePropertiesFile.exists()) {
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
}
android {
compileSdkVersion 28
@ -40,6 +46,15 @@ android {
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
signingConfigs {
release {
keyAlias keystoreProperties['keyAlias']
keyPassword keystoreProperties['keyPassword']
storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null
storePassword keystoreProperties['storePassword']
}
}
buildTypes {
release {
// TODO: Add your own signing config for the release build.

View File

@ -1,11 +1,8 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.informatom.encrateia">
<!-- io.flutter.app.FlutterApplication is an android.app.Application that
calls FlutterMain.startInitialization(this); in its onCreate method.
In most cases you can leave this as-is, but you if you want to provide
additional functionality it is fine to subclass or reimplement
FlutterApplication and put your custom class here. -->
<uses-permission android:name="android.permission.INTERNET" />
<application
android:name="io.flutter.app.FlutterApplication"
android:usesCleartextTraffic="true"
@ -18,10 +15,6 @@
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
android:hardwareAccelerated="true"
android:windowSoftInputMode="adjustResize">
<!-- This keeps the window background of the activity showing
until Flutter renders its first frame. It can be removed if
there is no splash screen (such as the default splash screen
defined in @style/LaunchTheme). -->
<meta-data
android:name="io.flutter.app.android.SplashScreenUntilFirstFrame"
android:value="true" />

4
android/key.properties Normal file
View File

@ -0,0 +1,4 @@
storePassword=Wd/d1^(dAul=fQv
keyPassword=Wd/d1^(dAul=fQv
keyAlias=key
storeFile=/home/stefan/key.jks

View File

@ -29,7 +29,7 @@ That makes later analysis a lot quicker and it has only to be done once.
No data is leaving your device, neither to the developer of Encrateia, nor to any third party service. We believe, your activity data should be stricty yours.
Encrateia is, while not for free, an open source application. The source code can be retrieved from GitHub at: https://github.com/3schweinehunde/enkrateia
Encrateia is, while not for free, an open source application. The source code can be retrieved from GitHub at: https://github.com/3schweinehunde/encrateia
The .fit-file parser is a seperate library, you can find it at: https://github.com/3schweinehunde/fit_parser
If you have any questions regarding Encrateia, feel free to write an email to the main developer Stefan Haslinger using <stefan@3-schweinehun.de>

View File

@ -1,7 +1,7 @@
name: encrateia
description: Activity tracker data analysis for Android and iOS
version: 0.0.1
version: 0.1.0
environment:
sdk: ">=2.6.0 <3.0.0"