diff --git a/.gitignore b/.gitignore
index eb2131f..0042435 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,29 +1,29 @@
-filcnaplo/.flutter-plugins
-filcnaplo/.flutter-plugins-dependencies
-filcnaplo/pubspec.lock
-filcnaplo/.dart_tool/
-filcnaplo/android/
-filcnaplo/ios/
-filcnaplo/windows/
-filcnaplo/linux/
-filcnaplo/macos/
-filcnaplo/build/
+refilc/.flutter-plugins
+refilc/.flutter-plugins-dependencies
+refilc/pubspec.lock
+refilc/.dart_tool/
+refilc/android/
+refilc/ios/
+refilc/windows/
+refilc/linux/
+refilc/macos/
+refilc/build/
-filcnaplo_desktop_ui/.flutter-plugins
-filcnaplo_desktop_ui/.flutter-plugins-dependencies
-filcnaplo_desktop_ui/pubspec.lock
-filcnaplo_desktop_ui/.dart_tool/
+refilc_desktop_ui/.flutter-plugins
+refilc_desktop_ui/.flutter-plugins-dependencies
+refilc_desktop_ui/pubspec.lock
+refilc_desktop_ui/.dart_tool/
-filcnaplo_kreta_api/.flutter-plugins
-filcnaplo_kreta_api/.flutter-plugins-dependencies
-filcnaplo_kreta_api/pubspec.lock
-filcnaplo_kreta_api/.dart_tool/
+refilc_kreta_api/.flutter-plugins
+refilc_kreta_api/.flutter-plugins-dependencies
+refilc_kreta_api/pubspec.lock
+refilc_kreta_api/.dart_tool/
-filcnaplo_mobile_ui/.flutter-plugins
-filcnaplo_mobile_ui/.flutter-plugins-dependencies
-filcnaplo_mobile_ui/pubspec.lock
-filcnaplo_mobile_ui/.dart_tool/
+refilc_mobile_ui/.flutter-plugins
+refilc_mobile_ui/.flutter-plugins-dependencies
+refilc_mobile_ui/pubspec.lock
+refilc_mobile_ui/.dart_tool/
filcnaplo_premium/.flutter-plugins
filcnaplo_premium/.flutter-plugins-dependencies
@@ -35,5 +35,5 @@ filcnaplo_premium/.dart_tool/
.idea
.gitmodules
-filcnaplo/.DS_Store
+refilc/.DS_Store
.DS_Store
diff --git a/README.md b/README.md
index 80b6022..badf856 100644
--- a/README.md
+++ b/README.md
@@ -23,7 +23,7 @@ Run `fix-pub.sh`
### Run the app
```sh
-cd filcnaplo
+cd refilc
flutter run
```
diff --git a/filcnaplo/android/app/build.gradle b/filcnaplo/android/app/build.gradle
deleted file mode 100644
index e1fddd7..0000000
--- a/filcnaplo/android/app/build.gradle
+++ /dev/null
@@ -1,110 +0,0 @@
-def localProperties = new Properties()
-def localPropertiesFile = rootProject.file('local.properties')
-if (localPropertiesFile.exists()) {
- localPropertiesFile.withReader('UTF-8') { reader ->
- localProperties.load(reader)
- }
-}
-
-def flutterRoot = localProperties.getProperty('flutter.sdk')
-if (flutterRoot == null) {
- throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
-}
-
-def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
-if (flutterVersionCode == null) {
- throw new GradleException("Undefined VersionCode")
-}
-
-def flutterVersionName = localProperties.getProperty('flutter.versionName')
-if (flutterVersionName == null) {
- throw new GradleException("Undefined VersionName")
-}
-
-apply plugin: 'com.android.application'
-apply plugin: 'kotlin-android'
-apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
-
-def keystoreProperties = new Properties()
-def keystorePropertiesFile = rootProject.file("key.properties")
-keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
-
-android {
- compileSdkVersion rootProject.ext.compileSdkVersion
-
- sourceSets {
- main.java.srcDirs += 'src/main/kotlin'
- }
-
- lintOptions {
- disable 'InvalidPackage'
- disable "Instantiatable"
- checkReleaseBuilds false
- abortOnError false
- }
-
- defaultConfig {
- applicationId "hu.refilc.naplo"
- minSdkVersion 21
- targetSdkVersion rootProject.ext.targetSdkVersion
- versionCode flutterVersionCode.toInteger()
- versionName flutterVersionName
- testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
- multiDexEnabled true
- }
-
- compileOptions {
- // Flag to enable support for the new language APIs
- coreLibraryDesugaringEnabled true
- // Sets Java compatibility to Java 8
- sourceCompatibility JavaVersion.VERSION_1_8
- targetCompatibility JavaVersion.VERSION_1_8
- }
-
- signingConfigs {
- debug {
- keyAlias "androiddebugkey"
- keyPassword "Jelszo123"
- storeFile file("C:/Users/kima/debugkeystore.jks")
- storePassword "Jelszo123"
- }
-
- release {
- keyAlias keystoreProperties['keyAlias']
- keyPassword keystoreProperties['keyPassword']
- storeFile file(keystoreProperties['storeFile'])
- storePassword keystoreProperties['storePassword']
- }
- }
-
- buildTypes {
- debug {
- signingConfig signingConfigs.debug
- }
-
- release {
- signingConfig signingConfigs.release
- shrinkResources false
- proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
- }
- }
-
- buildFeatures {
- viewBinding true
- }
-}
-
-flutter {
- source '../..'
-}
-
-dependencies {
- implementation 'com.android.support:multidex:2.0.1'
- implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
- implementation 'joda-time:joda-time:2.9.4'
- androidTestImplementation 'androidx.test:runner:1.1.1'
- androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'
- coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.5'
- implementation 'androidx.window:window:1.0.0'
- implementation 'androidx.window:window-java:1.0.0'
-}
diff --git a/filcnaplo/android/app/proguard-rules.pro b/filcnaplo/android/app/proguard-rules.pro
deleted file mode 100644
index 56fe627..0000000
--- a/filcnaplo/android/app/proguard-rules.pro
+++ /dev/null
@@ -1,5 +0,0 @@
--keep class io.flutter.plugin.editing.** { *; }
--keep class androidx.lifecycle.DefaultLifecycleObserver
--keep class com.pauldemarco.flutter_blue.** { *; }
--keep class com.mr.flutter.plugin.filepicker.** { *; }
--keep class com.shockwave.**
\ No newline at end of file
diff --git a/filcnaplo/android/app/src/debug/AndroidManifest.xml b/filcnaplo/android/app/src/debug/AndroidManifest.xml
deleted file mode 100644
index 826ca84..0000000
--- a/filcnaplo/android/app/src/debug/AndroidManifest.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
-
-
-
-
diff --git a/filcnaplo/android/app/src/main/AndroidManifest.xml b/filcnaplo/android/app/src/main/AndroidManifest.xml
deleted file mode 100644
index ffb15bb..0000000
--- a/filcnaplo/android/app/src/main/AndroidManifest.xml
+++ /dev/null
@@ -1,161 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/filcnaplo/android/app/src/main/java/hu/refilc/naplo/MainActivity.java b/filcnaplo/android/app/src/main/java/hu/refilc/naplo/MainActivity.java
deleted file mode 100644
index ff22fb7..0000000
--- a/filcnaplo/android/app/src/main/java/hu/refilc/naplo/MainActivity.java
+++ /dev/null
@@ -1,7 +0,0 @@
-package hu.refilc.naplo;
-
-import io.flutter.embedding.android.FlutterActivity;
-
-public class MainActivity extends FlutterActivity {
-
-}
diff --git a/filcnaplo/android/app/src/main/java/hu/refilc/naplo/database/DBManager.java b/filcnaplo/android/app/src/main/java/hu/refilc/naplo/database/DBManager.java
deleted file mode 100644
index b39409d..0000000
--- a/filcnaplo/android/app/src/main/java/hu/refilc/naplo/database/DBManager.java
+++ /dev/null
@@ -1,119 +0,0 @@
-package hu.refilc.naplo.database;
-
-import android.content.ContentValues;
-import android.content.Context;
-import android.database.Cursor;
-import android.database.sqlite.SQLiteDatabase;
-
-import java.sql.SQLException;
-
-import hu.refilc.naplo.database.SQLiteHelper;
-
-public class DBManager {
- private Context context;
- private SQLiteDatabase database;
- private SQLiteHelper dbHelper;
-
- public DBManager(Context c) {
- this.context = c;
- }
-
- public DBManager open() throws SQLException {
- this.dbHelper = new SQLiteHelper(this.context);
- this.database = this.dbHelper.getWritableDatabase();
- return this;
- }
-
- public void close() {
- this.dbHelper.close();
- }
-
- public Cursor fetchWidget(int wid) {
- Cursor cursor = this.database.query(SQLiteHelper.TABLE_NAME_WIDGETS, new String[]{SQLiteHelper._ID, SQLiteHelper.DAY_SEL}, SQLiteHelper._ID + " = " + wid, null, null, null, null);
- if (cursor != null) {
- cursor.moveToFirst();
- }
- return cursor;
- }
-
- public Cursor fetchTimetable() {
- Cursor cursor = this.database.query(SQLiteHelper.TABLE_NAME_USER_DATA, new String[]{SQLiteHelper.TIMETABLE}, null, null, null, null, null);
- if (cursor != null) {
- cursor.moveToFirst();
- }
- return cursor;
- }
-
- public Cursor fetchLastUser() {
- Cursor cursor = this.database.query(SQLiteHelper.TABLE_NAME_SETTINGS, new String[]{SQLiteHelper.LAST_ACCOUNT_ID}, null, null, null, null, null);
- if (cursor != null) {
- cursor.moveToFirst();
- }
- return cursor;
- }
-
- public Cursor fetchTheme() {
- Cursor cursor = this.database.query(SQLiteHelper.TABLE_NAME_SETTINGS, new String[]{SQLiteHelper.THEME, SQLiteHelper.ACCENT_COLOR}, null, null, null, null, null);
- if (cursor != null) {
- cursor.moveToFirst();
- }
- return cursor;
- }
-
- public Cursor fetchPremiumToken() {
- Cursor cursor = this.database.query(SQLiteHelper.TABLE_NAME_SETTINGS, new String[]{SQLiteHelper.PREMIUM_TOKEN}, null, null, null, null, null);
- if (cursor != null) {
- cursor.moveToFirst();
- }
- return cursor;
- }
-
- public Cursor fetchPremiumScopes() {
- Cursor cursor = this.database.query(SQLiteHelper.TABLE_NAME_SETTINGS, new String[]{SQLiteHelper.PREMIUM_SCOPES}, null, null, null, null, null);
- if (cursor != null) {
- cursor.moveToFirst();
- }
- return cursor;
- }
-
- public Cursor fetchLocale() {
- Cursor cursor = this.database.query(SQLiteHelper.TABLE_NAME_SETTINGS, new String[]{SQLiteHelper.LOCALE}, null, null, null, null, null);
- if (cursor != null) {
- cursor.moveToFirst();
- }
- return cursor;
- }
-
- public void deleteWidget(int _id) {
- this.database.delete(SQLiteHelper.TABLE_NAME_WIDGETS, "_id=" + _id, null);
- }
-
- /*public void changeSettings(int _id, Map map) {
- ContentValues con = new ContentValues();
- for(Map.Entry e: map.entrySet()){
- con.put(e.getKey(), e.getValue());
- }
- this.database.update(SQLiteHelper.TABLE_NAME_WIDGETS, con, "_id = " + _id, null);
- }
- public void insertSettings(int _id, Map map) {
- ContentValues con = new ContentValues();
- for(Map.Entry e: map.entrySet()){
- con.put(e.getKey(), e.getValue());
- //Log.d("Settings added", e.getKey() + " - " + e.getValue());
- }
- this.database.insert(SQLiteHelper.TABLE_NAME_WIDGETS, null, con);
- }*/
-
- public void insertSelDay(int _id, int day_sel) {
- ContentValues con = new ContentValues();
- con.put(SQLiteHelper._ID, _id);
- con.put(SQLiteHelper.DAY_SEL, day_sel);
- this.database.insert(SQLiteHelper.TABLE_NAME_WIDGETS, null, con);
- }
-
- public int update(int _id, int day_sel) {
- ContentValues con = new ContentValues();
- con.put(SQLiteHelper.DAY_SEL, day_sel);
- return this.database.update(SQLiteHelper.TABLE_NAME_WIDGETS, con, SQLiteHelper._ID + " = " + _id, null);
- }
-}
\ No newline at end of file
diff --git a/filcnaplo/android/app/src/main/java/hu/refilc/naplo/database/SQLiteHelper.java b/filcnaplo/android/app/src/main/java/hu/refilc/naplo/database/SQLiteHelper.java
deleted file mode 100644
index 5944408..0000000
--- a/filcnaplo/android/app/src/main/java/hu/refilc/naplo/database/SQLiteHelper.java
+++ /dev/null
@@ -1,36 +0,0 @@
-package hu.refilc.naplo.database;
-
-import android.content.Context;
-import android.database.sqlite.SQLiteDatabase;
-import android.database.sqlite.SQLiteOpenHelper;
-
-public class SQLiteHelper extends SQLiteOpenHelper {
- private static final String CREATE_TABLE_WIDGET = " create table widgets ( _id INTEGER NOT NULL, day_sel INTEGER NOT NULL);";
- private static final String DB_NAME = "app.db";
- private static final int DB_VERSION = 1;
- public static final String _ID = "_id";
- public static final String DAY_SEL = "day_sel";
- public static final String TIMETABLE = "timetable";
- public static final String LAST_ACCOUNT_ID = "last_account_id";
- public static final String THEME = "theme";
- public static final String PREMIUM_TOKEN = "premium_token";
- public static final String PREMIUM_SCOPES = "premium_scopes";
- public static final String LOCALE = "language";
- public static final String ACCENT_COLOR = "accent_color";
- public static final String TABLE_NAME_WIDGETS = "widgets";
- public static final String TABLE_NAME_USER_DATA = "user_data";
- public static final String TABLE_NAME_SETTINGS = "settings";
-
- public SQLiteHelper(Context context) {
- super(context, DB_NAME, null, 7);
- }
-
- public void onCreate(SQLiteDatabase db) {
- db.execSQL(CREATE_TABLE_WIDGET);
- }
-
- public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
- db.execSQL("DROP TABLE IF EXISTS widgets");
- onCreate(db);
- }
-}
\ No newline at end of file
diff --git a/filcnaplo/android/app/src/main/java/hu/refilc/naplo/utils/Utils.java b/filcnaplo/android/app/src/main/java/hu/refilc/naplo/utils/Utils.java
deleted file mode 100644
index 30f2a62..0000000
--- a/filcnaplo/android/app/src/main/java/hu/refilc/naplo/utils/Utils.java
+++ /dev/null
@@ -1,36 +0,0 @@
-package hu.refilc.naplo.utils;
-
-import android.content.Context;
-import android.net.ConnectivityManager;
-import android.net.NetworkInfo;
-
-import java.util.Calendar;
-import java.util.Date;
-
-public class Utils {
- public static boolean hasNetwork(Context context) {
- ConnectivityManager cm = (ConnectivityManager) context.getSystemService(Context.CONNECTIVITY_SERVICE);
- NetworkInfo netInfo = cm.getActiveNetworkInfo();
- if (netInfo != null && netInfo.isConnectedOrConnecting()) {
- return true;
- }
- return false;
- }
-
- public static Date getWeekStartDate() {
- Calendar calendar = Calendar.getInstance();
- while (calendar.get(Calendar.DAY_OF_WEEK) != Calendar.MONDAY) {
- calendar.add(Calendar.DATE, -1);
- }
- return calendar.getTime();
- }
-
- public static Date getWeekEndDate() {
- Calendar calendar = Calendar.getInstance();
- while (calendar.get(Calendar.DAY_OF_WEEK) != Calendar.MONDAY) {
- calendar.add(Calendar.DATE, 1);
- }
- calendar.add(Calendar.DATE, -1);
- return calendar.getTime();
- }
-}
\ No newline at end of file
diff --git a/filcnaplo/android/app/src/main/java/hu/refilc/naplo/utils/Week.java b/filcnaplo/android/app/src/main/java/hu/refilc/naplo/utils/Week.java
deleted file mode 100644
index 9f62c3e..0000000
--- a/filcnaplo/android/app/src/main/java/hu/refilc/naplo/utils/Week.java
+++ /dev/null
@@ -1,65 +0,0 @@
-package hu.refilc.naplo.utils;
-
-import java.time.DayOfWeek;
-import java.time.Duration;
-import java.time.LocalDate;
-
-public class Week {
- private final LocalDate start;
- private final LocalDate end;
-
- private Week(LocalDate start, LocalDate end) {
- this.start = start;
- this.end = end;
- }
-
- public static Week current() {
- return fromDate(LocalDate.now());
- }
-
- public static Week fromId(int id) {
- LocalDate _now = getYearStart().plusDays(id * 7L);
- return new Week(_now.minusDays(_now.getDayOfWeek().getValue() - 1), _now.plusDays(7 - _now.getDayOfWeek().getValue()));
- }
-
- public static Week fromDate(LocalDate date) {
-
- return new Week(date.minusDays(date.getDayOfWeek().getValue() - 1), date.plusDays(7 - date.getDayOfWeek().getValue()));
- }
-
- public Week next() {
- return Week.fromDate(start.plusDays(8));
- }
-
- public int id() {
- return (int) Math.ceil(Duration.between(getYearStart().atStartOfDay(), start.atStartOfDay()).toDays() / 7f);
- }
-
- private static LocalDate getYearStart() {
- LocalDate now = LocalDate.now();
- LocalDate start = getYearStart(now.getYear());
- return start.isBefore(now) ? start : getYearStart(now.getYear() -1);
- }
-
- private static LocalDate getYearStart(int year) {
- LocalDate time = LocalDate.of(year, 9, 1);
- if (time.getDayOfWeek() == DayOfWeek.SATURDAY)
- return time.plusDays(2);
- else if (time.getDayOfWeek() == DayOfWeek.SUNDAY)
- return time.plusDays(1);
- return time;
- }
-
- @Override
- public boolean equals(Object o) {
- if (this == o) return true;
- if (o == null || getClass() != o.getClass()) return false;
- Week week = (Week) o;
- return this.id() == week.id();
- }
-
- @Override
- public int hashCode() {
- return id();
- }
-}
\ No newline at end of file
diff --git a/filcnaplo/android/app/src/main/java/hu/refilc/naplo/widget_timetable/WidgetTimetable.java b/filcnaplo/android/app/src/main/java/hu/refilc/naplo/widget_timetable/WidgetTimetable.java
deleted file mode 100644
index b433ec7..0000000
--- a/filcnaplo/android/app/src/main/java/hu/refilc/naplo/widget_timetable/WidgetTimetable.java
+++ /dev/null
@@ -1,392 +0,0 @@
-package hu.refilc.naplo.widget_timetable;
-
-import android.app.PendingIntent;
-import android.appwidget.AppWidgetManager;
-import android.appwidget.AppWidgetProvider;
-import android.content.Context;
-import android.content.Intent;
-import android.content.SharedPreferences;
-import android.database.Cursor;
-import android.net.Uri;
-import android.os.Build;
-import android.util.Log;
-import android.view.View;
-import android.widget.RemoteViews;
-import android.widget.Toast;
-
-import org.joda.time.DateTime;
-import org.json.JSONArray;
-import org.json.JSONException;
-import org.json.JSONObject;
-
-import java.time.DayOfWeek;
-import java.time.format.TextStyle;
-import java.util.ArrayList;
-import java.util.Collections;
-import java.util.Comparator;
-import java.util.List;
-import java.util.Locale;
-import java.util.Map;
-import java.util.HashMap;
-import java.text.ParseException;
-import java.text.SimpleDateFormat;
-import java.util.Date;
-
-import hu.refilc.naplo.database.DBManager;
-import hu.refilc.naplo.MainActivity;
-import hu.refilc.naplo.R;
-
-import hu.refilc.naplo.utils.Week;
-
-import static android.app.PendingIntent.FLAG_UPDATE_CURRENT;
-
-import es.antonborri.home_widget.HomeWidgetBackgroundIntent;
-import es.antonborri.home_widget.HomeWidgetLaunchIntent;
-import es.antonborri.home_widget.HomeWidgetProvider;
-
-public class WidgetTimetable extends HomeWidgetProvider {
-
- private static final String ACTION_WIDGET_CLICK_NAV_LEFT = "list_widget.ACTION_WIDGET_CLICK_NAV_LEFT";
- private static final String ACTION_WIDGET_CLICK_NAV_RIGHT = "list_widget.ACTION_WIDGET_CLICK_NAV_RIGHT";
- private static final String ACTION_WIDGET_CLICK_NAV_TODAY = "list_widget.ACTION_WIDGET_CLICK_NAV_TODAY";
- private static final String ACTION_WIDGET_CLICK_NAV_REFRESH = "list_widget.ACTION_WIDGET_CLICK_NAV_REFRESH";
- private static final String ACTION_WIDGET_CLICK_BUY_PREMIUM = "list_widget.ACTION_WIDGET_CLICK_BUY_PREMIUM";
-
- @Override
- public void onUpdate(Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds, SharedPreferences widgetData) {
- for (int i = 0; i < appWidgetIds.length; i++) {
- RemoteViews views = generateView(context, appWidgetIds[i]);
-
- if(premiumEnabled(context) && userLoggedIn(context)) {
- int rday = selectDay(context, appWidgetIds[i], 0, true);
- views.setTextViewText(R.id.nav_current, convertDayOfWeek(context, rday));
- }
-
- pushUpdate(context, views, appWidgetIds[i]);
- }
- }
-
- public static void pushUpdate(Context context, RemoteViews remoteViews, int appWidgetSingleId) {
- AppWidgetManager manager = AppWidgetManager.getInstance(context);
-
- manager.updateAppWidget(appWidgetSingleId, remoteViews);
- manager.notifyAppWidgetViewDataChanged(appWidgetSingleId, R.id.widget_list);
- }
-
- public static RemoteViews generateView(Context context, int appId) {
- Intent serviceIntent = new Intent(context, WidgetTimetableService.class);
- serviceIntent.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, appId);
- serviceIntent.setData(Uri.parse(serviceIntent.toUri(Intent.URI_INTENT_SCHEME)));
-
- RemoteViews views = new RemoteViews(context.getPackageName(), R.layout.widget_timetable);
-
- views.setViewVisibility(R.id.need_premium, View.GONE);
- views.setViewVisibility(R.id.need_login, View.GONE);
- views.setViewVisibility(R.id.tt_grid_cont, View.GONE);
-
- if(!userLoggedIn(context)) {
- views.setViewVisibility(R.id.need_login, View.VISIBLE);
- views.setOnClickPendingIntent(R.id.open_login, makePending(context, ACTION_WIDGET_CLICK_BUY_PREMIUM, appId));
- } else if(premiumEnabled(context)) {
- views.setViewVisibility(R.id.tt_grid_cont, View.VISIBLE);
- views.setOnClickPendingIntent(R.id.nav_to_left, makePending(context, ACTION_WIDGET_CLICK_NAV_LEFT, appId));
- views.setOnClickPendingIntent(R.id.nav_to_right, makePending(context, ACTION_WIDGET_CLICK_NAV_RIGHT, appId));
- views.setOnClickPendingIntent(R.id.nav_current, makePending(context, ACTION_WIDGET_CLICK_NAV_TODAY, appId));
- views.setOnClickPendingIntent(R.id.nav_refresh, makePending(context, ACTION_WIDGET_CLICK_NAV_REFRESH, appId));
- views.setRemoteAdapter(R.id.widget_list, serviceIntent);
- views.setEmptyView(R.id.widget_list, R.id.empty_view);
- } else {
- views.setViewVisibility(R.id.need_premium, View.VISIBLE);
- views.setOnClickPendingIntent(R.id.buy_premium, makePending(context, ACTION_WIDGET_CLICK_BUY_PREMIUM, appId));
- }
-
- return views;
- }
-
- static PendingIntent makePending(Context context, String action, int appWidgetId) {
- Intent activebtnnext = new Intent(context, WidgetTimetable.class);
- activebtnnext.setAction(action);
- activebtnnext.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, appWidgetId);
- return PendingIntent.getBroadcast(context, appWidgetId, activebtnnext , PendingIntent.FLAG_IMMUTABLE);
- }
-
- @Override
- public void onReceive(Context context, Intent intent) {
- super.onReceive(context, intent);
-
- if(intent.hasExtra(AppWidgetManager.EXTRA_APPWIDGET_ID)) {
- int appId = intent.getIntExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, AppWidgetManager.INVALID_APPWIDGET_ID);
- RemoteViews views = generateView(context, appId);
-
- try {
- if(premiumEnabled(context) && userLoggedIn(context)) {
- if (intent.getAction().equals(ACTION_WIDGET_CLICK_NAV_LEFT)) {
- int rday = selectDay(context, appId, -1, false);
- views.setTextViewText(R.id.nav_current, convertDayOfWeek(context, rday));
-
- pushUpdate(context, views, appId);
- } else if (intent.getAction().equals(ACTION_WIDGET_CLICK_NAV_RIGHT)) {
- int rday = selectDay(context, appId, 1, false);
- views.setTextViewText(R.id.nav_current, convertDayOfWeek(context, rday));
-
- pushUpdate(context, views, appId);
- } else if (intent.getAction().equals(ACTION_WIDGET_CLICK_NAV_TODAY)) {
- int rday = getToday(context);
- setSelectedDay(context, appId, rday);
-
- views.setTextViewText(R.id.nav_current, convertDayOfWeek(context, rday));
-
- pushUpdate(context, views, appId);
- } else if (intent.getAction().equals(ACTION_WIDGET_CLICK_NAV_REFRESH)) {
- PendingIntent pendingIntent = HomeWidgetLaunchIntent.INSTANCE.getActivity(context, MainActivity.class, Uri.parse("timetable://refresh"));
- pendingIntent.send();
- } else if (intent.getAction().equals("android.appwidget.action.APPWIDGET_DELETED")) {
- DBManager dbManager = new DBManager(context.getApplicationContext());
-
- try {
- dbManager.open();
- dbManager.deleteWidget(appId);
- dbManager.close();
- } catch (Exception e) {
- e.printStackTrace();
- }
- }
- }
-
- if(intent.getAction().equals(ACTION_WIDGET_CLICK_BUY_PREMIUM)) {
- PendingIntent pendingIntent = HomeWidgetLaunchIntent.INSTANCE.getActivity(context, MainActivity.class, Uri.parse("settings://premium"));
- pendingIntent.send();
- }
- }
- catch (Exception e) {
- e.printStackTrace();
- }
- }
- }
-
- public static String convertDayOfWeek(Context context, int rday) {
-
- /*if(rday == -1) return DayOfWeek.of(1).getDisplayName(TextStyle.FULL, new Locale("hu", "HU"));
-
- String dayOfWeek = DayOfWeek.of(rday + 1).getDisplayName(TextStyle.FULL, new Locale("hu", "HU"));*/
-
- String dayOfWeek = "Unknown";
-
- if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
- Locale loc = getLocale(context);
-
- if (rday == -1)
- return DayOfWeek.of(1).getDisplayName(TextStyle.FULL, loc);
-
- dayOfWeek = DayOfWeek.of(rday + 1).getDisplayName(TextStyle.FULL, loc);
- }
-
- return dayOfWeek.substring(0, 1).toUpperCase() + dayOfWeek.substring(1).toLowerCase();
- }
-
- public static void setSelectedDay(Context context, int wid, int day) {
- DBManager dbManager = new DBManager(context.getApplicationContext());
-
- try {
- dbManager.open();
- dbManager.update(wid, day);
- dbManager.close();
- } catch (Exception e) {
- e.printStackTrace();
- }
- }
-
- public static int getToday(Context context) {
- int rday = new DateTime().getDayOfWeek() - 1;
- List s = genJsonDays(context);
-
- try {
- if(checkIsAfter(s, rday)) rday += 1;
- } catch (Exception e) {
- e.printStackTrace();
- }
- return retDay(rday, s.size());
- }
-
- public static int selectDay(Context context, int wid, int add, Boolean afterSubjects) {
- DBManager dbManager = new DBManager(context.getApplicationContext());
-
- try {
- dbManager.open();
- Cursor cursor = dbManager.fetchWidget(wid);
-
- List s = genJsonDays(context);
- int retday = new DateTime().getDayOfWeek() - 1;
-
- if(cursor.getCount() != 0) retday = retDay(cursor.getInt(1) + add, s.size());
-
- if(afterSubjects) if(checkIsAfter(s, retday)) retday += 1;
- retday = retDay(retday, s.size());
-
- if(cursor.getCount() == 0) dbManager.insertSelDay(wid, retday);
- else dbManager.update(wid, retday);
-
- dbManager.close();
-
- return retday;
- } catch (Exception e) {
- e.printStackTrace();
- }
-
- return 0;
- }
-
- public static Boolean checkIsAfter(List s, int retday) throws Exception {
- retday = retDay(retday, s.size());
-
- String vegIdopont = s.get(retday).getJSONObject(s.get(retday).length() - 1).getString("VegIdopont");
-
- return new DateTime().isAfter(new DateTime(vegIdopont));
- }
-
- public static int retDay(int retday, int size) {
- if (retday < 0) retday = size - 1;
- else if (retday > size - 1) retday = 0;
-
- return retday;
- }
-
- public static List genJsonDays(Context context) {
- List genDays = new ArrayList<>();
- Map dayMap = new HashMap<>();
-
- DBManager dbManager = new DBManager(context.getApplicationContext());
-
- try {
- dbManager.open();
- Cursor ct = dbManager.fetchTimetable();
-
- if (ct.getCount() == 0) {
- return genDays;
- }
-
- JSONObject fetchedTimetable = new JSONObject(ct.getString(0));
- String currentWeek = String.valueOf(Week.current().id());
- JSONArray week = fetchedTimetable.getJSONArray(currentWeek);
-
- // Organize lessons into dates
- for (int i = 0; i < week.length(); i++) {
- try {
- JSONObject entry = week.getJSONObject(i);
- String date = entry.getString("Datum");
- dayMap.computeIfAbsent(date, k -> new JSONArray()).put(entry);
- } catch (JSONException e) {
- e.printStackTrace();
- }
- }
-
- genDays.addAll(dayMap.values());
-
- // Sort the 'genDays' list of JSON based on the start time of the first entry
- genDays.sort((day1, day2) -> {
- try {
- // Extract the start time of the first entry in each day's JSON
- String startTime1 = day1.getJSONObject(0).getString("KezdetIdopont");
- String startTime2 = day2.getJSONObject(0).getString("KezdetIdopont");
- // Compare the start times and return the result for sorting
- return startTime1.compareTo(startTime2);
- } catch (JSONException e) {
- e.printStackTrace();
- return 0;
- }
- });
-
- } catch (Exception e) {
- e.printStackTrace();
- } finally {
- dbManager.close();
- }
-
- return genDays;
- }
-
-
-
- public static String zeroPad(int value, int padding){
- StringBuilder b = new StringBuilder();
- b.append(value);
- while(b.length() < padding){
- b.insert(0,"0");
- }
- return b.toString();
- }
-
- public static Locale getLocale(Context context) {
- DBManager dbManager = new DBManager(context.getApplicationContext());
-
- try {
- dbManager.open();
- String loc = dbManager.fetchLocale().getString(0);
- dbManager.close();
-
- if(loc.equals("hu") || loc.equals("de")) {
- return new Locale(loc, loc.toUpperCase());
- }
- } catch (Exception e) {
- e.printStackTrace();
- }
-
- return new Locale("en", "GB");
- }
-
- public static boolean premiumEnabled(Context context) {
- DBManager dbManager = new DBManager(context.getApplicationContext());
-
- try {
- dbManager.open();
- String premium_token = dbManager.fetchPremiumToken().getString(0);
- String premium_scopes_raw = dbManager.fetchPremiumScopes().getString(0);
- dbManager.close();
-
- JSONArray arr = new JSONArray(premium_scopes_raw);
- List premium_scopes = new ArrayList<>();
- for(int i = 0; i < arr.length(); i++){
- String scope = arr.getString(i);
- premium_scopes.add(scope.substring(scope.lastIndexOf('.') + 1));
- }
-
- if(!premium_token.equals("") && (premium_scopes.contains("*") || premium_scopes.contains("TIMETALBE_WIDGET"))) {
- return true;
- }
- } catch (Exception e) {
- e.printStackTrace();
- }
-
- return false;
- }
-
- public static boolean userLoggedIn(Context context) {
- return !lastUserId(context).equals("");
- }
-
- public static String lastUserId(Context context) {
- DBManager dbManager = new DBManager(context.getApplicationContext());
- try {
- dbManager.open();
- Cursor cursor = dbManager.fetchLastUser();
- dbManager.close();
-
- if(cursor != null && !cursor.getString(0).equals("")) {
- String last_user = cursor.getString(0);
- return last_user;
- }
- } catch (Exception e) {
- e.printStackTrace();
- }
-
- return "";
- }
-
- @Override
- public void onEnabled(Context context) {
- }
-
- @Override
- public void onDisabled(Context context) {
- }
-}
\ No newline at end of file
diff --git a/filcnaplo/android/app/src/main/java/hu/refilc/naplo/widget_timetable/WidgetTimetableDataProvider.java b/filcnaplo/android/app/src/main/java/hu/refilc/naplo/widget_timetable/WidgetTimetableDataProvider.java
deleted file mode 100644
index 55eaa98..0000000
--- a/filcnaplo/android/app/src/main/java/hu/refilc/naplo/widget_timetable/WidgetTimetableDataProvider.java
+++ /dev/null
@@ -1,356 +0,0 @@
-package hu.refilc.naplo.widget_timetable;
-
-import android.appwidget.AppWidgetManager;
-import android.content.Context;
-import android.content.Intent;
-import android.database.Cursor;
-import android.os.Build;
-import android.util.Log;
-import android.view.View;
-import android.widget.RemoteViews;
-import android.widget.RemoteViewsService;
-
-import org.joda.time.DateTime;
-import org.json.JSONArray;
-import org.json.JSONException;
-import org.json.JSONObject;
-
-import java.util.ArrayList;
-import java.util.Collections;
-import java.util.Comparator;
-import java.util.List;
-
-import hu.refilc.naplo.database.DBManager;
-import hu.refilc.naplo.R;
-
-public class WidgetTimetableDataProvider implements RemoteViewsService.RemoteViewsFactory {
-
- private Context context;
- private int appWidgetId;
-
- private int rday = 0;
-
- private int theme;
-
- private Integer[] colorValues;
-
- List day_subjects = new ArrayList<>();
- List lessonIndexes = new ArrayList<>();
-
- Item witem;
-
- /* Default values */
-
- static class Item {
- int Layout;
-
- int NumVisibility;
- int NameVisibility;
- int NameNodescVisibility;
- int DescVisibility;
- int RoomVisibility;
- int TimeVisibility;
-
- int NumColor;
- int NameColor;
- int NameNodescColor;
- int DescColor;
-
- Integer[] NameNodescPadding = {0, 0, 0, 0};
-
- public Item(int Layout, int NumVisibility,int NameVisibility,int NameNodescVisibility,int DescVisibility,int RoomVisibility,int TimeVisibility,int NumColor,int NameColor,int NameNodescColor,int DescColor) {
- this.Layout = Layout;
- this.NumVisibility = NumVisibility;
- this.NameVisibility = NameVisibility;
- this.NameNodescVisibility = NameNodescVisibility;
- this.DescVisibility = DescVisibility;
- this.RoomVisibility = RoomVisibility;
- this.TimeVisibility = TimeVisibility;
-
- this.NumColor = NumColor;
- this.NameColor = NameColor;
- this.NameNodescColor = NameNodescColor;
- this.DescColor = DescColor;
- }
- }
-
- static class Lesson {
- String status;
- String lessonIndex;
- String lessonName;
- String lessonTopic;
- String lessonRoom;
- long lessonStart;
- long lessonEnd;
- String substituteTeacher;
-
- public Lesson(String status, String lessonIndex,String lessonName,String lessonTopic, String lessonRoom,long lessonStart,long lessonEnd,String substituteTeacher) {
- this.status = status;
- this.lessonIndex = lessonIndex;
- this.lessonName = lessonName;
- this.lessonTopic = lessonTopic;
- this.lessonRoom = lessonRoom;
- this.lessonStart = lessonStart;
- this.lessonEnd = lessonEnd;
- this.substituteTeacher = substituteTeacher;
- }
- }
-
- Integer[] itemNameNodescPadding = {0, 0, 0, 0};
-
- public WidgetTimetableDataProvider(Context context, Intent intent) {
- this.context = context;
- this.appWidgetId = intent.getIntExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, AppWidgetManager.INVALID_APPWIDGET_ID);
-
- this.theme = getThemeAccent(context);
-
- this.colorValues = new Integer[]{R.color.filc,
- R.color.blue_shade300,
- R.color.green_shade300,
- R.color.lime_shade300,
- R.color.yellow_shade300,
- R.color.orange_shade300,
- R.color.red_shade300,
- R.color.pink_shade300,
- R.color.purple_shade300};
-
- }
-
- @Override
- public void onCreate() {
- initData();
- }
-
- @Override
- public void onDataSetChanged() {
- initData();
- }
-
- @Override
- public void onDestroy() {
-
- }
-
- @Override
- public int getCount() {
-
- return day_subjects.size();
- }
-
- public void setLayout(final RemoteViews view) {
- /* Visibilities */
- view.setViewVisibility(R.id.tt_item_num, witem.NumVisibility);
- view.setViewVisibility(R.id.tt_item_name, witem.NameVisibility);
- view.setViewVisibility(R.id.tt_item_name_nodesc, witem.NameNodescVisibility);
- view.setViewVisibility(R.id.tt_item_desc, witem.DescVisibility);
- view.setViewVisibility(R.id.tt_item_room, witem.RoomVisibility);
- view.setViewVisibility(R.id.tt_item_time, witem.TimeVisibility);
-
- /* backgroundResources */
- view.setInt(R.id.main_lay, "setBackgroundResource", witem.Layout);
-
- /* Paddings */
- view.setViewPadding(R.id.tt_item_name_nodesc, witem.NameNodescPadding[0], witem.NameNodescPadding[1], witem.NameNodescPadding[2], witem.NameNodescPadding[3]);
-
- /* Text Colors */
- view.setInt(R.id.tt_item_num, "setTextColor", getColor(context, witem.NumColor));
- view.setInt(R.id.tt_item_name, "setTextColor", getColor(context, witem.NameColor));
- view.setInt(R.id.tt_item_name_nodesc, "setTextColor", getColor(context, witem.NameNodescColor));
- view.setInt(R.id.tt_item_desc, "setTextColor", getColor(context, witem.DescColor));
- }
-
- public int getColor(Context context, int color) {
- return context.getResources().getColor(color);
- }
-
- @Override
- public RemoteViews getViewAt(int position) {
- RemoteViews view = new RemoteViews(context.getPackageName(), R.layout.timetable_item);
-
- witem = defaultItem(theme);
-
- Lesson curr_subject = day_subjects.get(position);
-
- if (curr_subject.status.equals("empty")) {
- witem.NumColor = R.color.text_miss_num;
-
- witem.TimeVisibility = View.GONE;
- witem.RoomVisibility = View.GONE;
-
- witem.NameNodescColor = R.color.text_miss;
- }
-
- if (!curr_subject.substituteTeacher.equals("null")) {
- witem.NumColor = R.color.yellow;
- witem.Layout = R.drawable.card_layout_tile_helyetesitett;
- }
-
- if (curr_subject.status.equals("Elmaradt")) {
- witem.NumColor = R.color.red;
- witem.Layout = R.drawable.card_layout_tile_elmarad;
- } else if (curr_subject.status.equals("TanevRendjeEsemeny")) {
- witem.NumVisibility = View.GONE;
- witem.TimeVisibility = View.GONE;
- witem.RoomVisibility = View.GONE;
-
- witem.NameNodescPadding[0] = 50;
- witem.NameNodescPadding[2] = 50;
-
- witem.NameNodescColor = R.color.text_miss;
- }
-
- if (curr_subject.lessonTopic.equals("null")) {
- witem.DescVisibility = View.GONE;
- witem.NameVisibility = View.GONE;
-
- witem.NameNodescVisibility = View.VISIBLE;
- }
-
- setLayout(view);
-
- String lessonIndexTrailing = curr_subject.lessonIndex.equals("+") ? "" : ".";
-
- view.setTextViewText(R.id.tt_item_num, curr_subject.lessonIndex + lessonIndexTrailing);
- view.setTextViewText(R.id.tt_item_name, curr_subject.lessonName);
- view.setTextViewText(R.id.tt_item_name_nodesc, curr_subject.lessonName);
- view.setTextViewText(R.id.tt_item_desc, curr_subject.lessonTopic);
- view.setTextViewText(R.id.tt_item_room, curr_subject.lessonRoom);
- if(curr_subject.lessonStart != 0 && curr_subject.lessonEnd != 0)
- view.setTextViewText(R.id.tt_item_time, WidgetTimetable.zeroPad(new DateTime(curr_subject.lessonStart).getHourOfDay(), 2) + ":" + WidgetTimetable.zeroPad(new DateTime(curr_subject.lessonStart).getMinuteOfHour(), 2) +
- "\n" + WidgetTimetable.zeroPad(new DateTime(curr_subject.lessonEnd).getHourOfDay(), 2) + ":" + WidgetTimetable.zeroPad(new DateTime(curr_subject.lessonEnd).getMinuteOfHour(),2));
-
- return view;
- }
-
- @Override
- public RemoteViews getLoadingView() {
- return null;
- }
-
- @Override
- public int getViewTypeCount() {
- return 1;
- }
-
- @Override
- public long getItemId(int position) {
- return position;
- }
-
- @Override
- public boolean hasStableIds() {
- return true;
- }
-
- private void initData() {
-
- theme = getThemeAccent(context);
-
- rday = WidgetTimetable.selectDay(context, appWidgetId, 0, false);
-
- day_subjects.clear();
- lessonIndexes.clear();
-
- try {
- List arr = WidgetTimetable.genJsonDays(context);
-
- if(arr.isEmpty()) {
- return;
- }
- JSONArray arr_lessons = WidgetTimetable.genJsonDays(context).get(rday);
-
- for (int i = 0; i < arr_lessons.length(); i++) {
- JSONObject obj_lessons = arr_lessons.getJSONObject(i);
-
- day_subjects.add(jsonToLesson(obj_lessons));
- }
- } catch (JSONException e) {
- e.printStackTrace();
- }
-
- if(day_subjects.size() > 0) {
- Collections.sort(day_subjects, new Comparator() {
- public int compare(Lesson o1, Lesson o2) {
- return new DateTime(o1.lessonStart).compareTo(new DateTime(o2.lessonStart));
- }
- });
-
- for (int i = 0; i < day_subjects.size(); i++) {
- if(!day_subjects.get(i).lessonIndex.equals("+")) {
- lessonIndexes.add(Integer.valueOf(day_subjects.get(i).lessonIndex));
- }
- }
-
- if(lessonIndexes.size() > 0) {
-
- int lessonsChecked = Collections.min(lessonIndexes);
- int i = 0;
-
- while(lessonsChecked < Collections.max(lessonIndexes)) {
- if(!lessonIndexes.contains(lessonsChecked)) {
- day_subjects.add(i, emptyLesson(lessonsChecked));
- }
- lessonsChecked++;
- i++;
- }
- }
- }
- }
-
- public static Integer getThemeAccent(Context context) {
- DBManager dbManager = new DBManager(context.getApplicationContext());
-
- try {
- dbManager.open();
- Cursor cursor = dbManager.fetchTheme();
- dbManager.close();
-
- return cursor.getInt(1);
- } catch (Exception e) {
- e.printStackTrace();
- }
-
- return 0;
- }
-
- public Item defaultItem(int theme) {
- return new Item(
- R.drawable.card_layout_tile,
- View.VISIBLE,
- View.VISIBLE,
- View.INVISIBLE,
- View.VISIBLE,
- View.VISIBLE,
- View.VISIBLE,
- colorValues[theme >= colorValues.length ? 0 : theme],
- R.color.text,
- R.color.text,
- R.color.text_desc
- );
- }
-
- public Lesson emptyLesson(int lessonIndex) {
- return new Lesson("empty", String.valueOf(lessonIndex), "Lyukasóra", "null", "null", 0, 0, "null");
- }
-
- public Lesson jsonToLesson(JSONObject json) {
- try {
- String name = json.getString("Nev");
- name = name.substring(0, 1).toUpperCase() + name.substring(1); // Capitalize name
- return new Lesson(
- json.getJSONObject("Allapot").getString("Nev"),
- !json.getString("Oraszam").equals("null") ? json.getString("Oraszam") : "+",
- name,
- json.getString("Tema"),
- json.getString("TeremNeve"),
- new DateTime(json.getString("KezdetIdopont")).getMillis(),
- new DateTime(json.getString("VegIdopont")).getMillis(),
- json.getString("HelyettesTanarNeve")
- );
- }catch (Exception e) {
- Log.d("Filc", "exception: " + e);
- };
-
- return null;
- }
-}
\ No newline at end of file
diff --git a/filcnaplo/android/app/src/main/java/hu/refilc/naplo/widget_timetable/WidgetTimetableService.java b/filcnaplo/android/app/src/main/java/hu/refilc/naplo/widget_timetable/WidgetTimetableService.java
deleted file mode 100644
index 1864174..0000000
--- a/filcnaplo/android/app/src/main/java/hu/refilc/naplo/widget_timetable/WidgetTimetableService.java
+++ /dev/null
@@ -1,12 +0,0 @@
-package hu.refilc.naplo.widget_timetable;
-
-import android.content.Intent;
-import android.os.Build;
-import android.widget.RemoteViewsService;
-
-public class WidgetTimetableService extends RemoteViewsService {
- @Override
- public RemoteViewsFactory onGetViewFactory(Intent intent) {
- return new WidgetTimetableDataProvider(getApplicationContext(), intent);
- }
-}
\ No newline at end of file
diff --git a/filcnaplo/android/app/src/main/res/drawable-hdpi/android12splash.png b/filcnaplo/android/app/src/main/res/drawable-hdpi/android12splash.png
deleted file mode 100644
index 42f64fb..0000000
Binary files a/filcnaplo/android/app/src/main/res/drawable-hdpi/android12splash.png and /dev/null differ
diff --git a/filcnaplo/android/app/src/main/res/drawable-hdpi/ic_launcher_foreground.png b/filcnaplo/android/app/src/main/res/drawable-hdpi/ic_launcher_foreground.png
deleted file mode 100644
index 314c878..0000000
Binary files a/filcnaplo/android/app/src/main/res/drawable-hdpi/ic_launcher_foreground.png and /dev/null differ
diff --git a/filcnaplo/android/app/src/main/res/drawable-hdpi/ic_stat_splash_logo.png b/filcnaplo/android/app/src/main/res/drawable-hdpi/ic_stat_splash_logo.png
deleted file mode 100644
index f180cf9..0000000
Binary files a/filcnaplo/android/app/src/main/res/drawable-hdpi/ic_stat_splash_logo.png and /dev/null differ
diff --git a/filcnaplo/android/app/src/main/res/drawable-hdpi/splash.png b/filcnaplo/android/app/src/main/res/drawable-hdpi/splash.png
deleted file mode 100644
index 42f64fb..0000000
Binary files a/filcnaplo/android/app/src/main/res/drawable-hdpi/splash.png and /dev/null differ
diff --git a/filcnaplo/android/app/src/main/res/drawable-hdpi/tinta_image.png b/filcnaplo/android/app/src/main/res/drawable-hdpi/tinta_image.png
deleted file mode 100644
index 77f4ef2..0000000
Binary files a/filcnaplo/android/app/src/main/res/drawable-hdpi/tinta_image.png and /dev/null differ
diff --git a/filcnaplo/android/app/src/main/res/drawable-mdpi/android12splash.png b/filcnaplo/android/app/src/main/res/drawable-mdpi/android12splash.png
deleted file mode 100644
index 65928ee..0000000
Binary files a/filcnaplo/android/app/src/main/res/drawable-mdpi/android12splash.png and /dev/null differ
diff --git a/filcnaplo/android/app/src/main/res/drawable-mdpi/ic_launcher_foreground.png b/filcnaplo/android/app/src/main/res/drawable-mdpi/ic_launcher_foreground.png
deleted file mode 100644
index aa13b85..0000000
Binary files a/filcnaplo/android/app/src/main/res/drawable-mdpi/ic_launcher_foreground.png and /dev/null differ
diff --git a/filcnaplo/android/app/src/main/res/drawable-mdpi/ic_stat_splash_logo.png b/filcnaplo/android/app/src/main/res/drawable-mdpi/ic_stat_splash_logo.png
deleted file mode 100644
index b6b25d1..0000000
Binary files a/filcnaplo/android/app/src/main/res/drawable-mdpi/ic_stat_splash_logo.png and /dev/null differ
diff --git a/filcnaplo/android/app/src/main/res/drawable-mdpi/splash.png b/filcnaplo/android/app/src/main/res/drawable-mdpi/splash.png
deleted file mode 100644
index 65928ee..0000000
Binary files a/filcnaplo/android/app/src/main/res/drawable-mdpi/splash.png and /dev/null differ
diff --git a/filcnaplo/android/app/src/main/res/drawable-night-hdpi/android12splash.png b/filcnaplo/android/app/src/main/res/drawable-night-hdpi/android12splash.png
deleted file mode 100644
index 42f64fb..0000000
Binary files a/filcnaplo/android/app/src/main/res/drawable-night-hdpi/android12splash.png and /dev/null differ
diff --git a/filcnaplo/android/app/src/main/res/drawable-night-mdpi/android12splash.png b/filcnaplo/android/app/src/main/res/drawable-night-mdpi/android12splash.png
deleted file mode 100644
index 65928ee..0000000
Binary files a/filcnaplo/android/app/src/main/res/drawable-night-mdpi/android12splash.png and /dev/null differ
diff --git a/filcnaplo/android/app/src/main/res/drawable-night-xhdpi/android12splash.png b/filcnaplo/android/app/src/main/res/drawable-night-xhdpi/android12splash.png
deleted file mode 100644
index 8147fe6..0000000
Binary files a/filcnaplo/android/app/src/main/res/drawable-night-xhdpi/android12splash.png and /dev/null differ
diff --git a/filcnaplo/android/app/src/main/res/drawable-night-xxhdpi/android12splash.png b/filcnaplo/android/app/src/main/res/drawable-night-xxhdpi/android12splash.png
deleted file mode 100644
index 80a42fb..0000000
Binary files a/filcnaplo/android/app/src/main/res/drawable-night-xxhdpi/android12splash.png and /dev/null differ
diff --git a/filcnaplo/android/app/src/main/res/drawable-night-xxxhdpi/android12splash.png b/filcnaplo/android/app/src/main/res/drawable-night-xxxhdpi/android12splash.png
deleted file mode 100644
index 2148f7f..0000000
Binary files a/filcnaplo/android/app/src/main/res/drawable-night-xxxhdpi/android12splash.png and /dev/null differ
diff --git a/filcnaplo/android/app/src/main/res/drawable-nodpi/ic_check.xml b/filcnaplo/android/app/src/main/res/drawable-nodpi/ic_check.xml
deleted file mode 100644
index 4545224..0000000
--- a/filcnaplo/android/app/src/main/res/drawable-nodpi/ic_check.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
-
diff --git a/filcnaplo/android/app/src/main/res/drawable-nodpi/ic_chevron_left.xml b/filcnaplo/android/app/src/main/res/drawable-nodpi/ic_chevron_left.xml
deleted file mode 100644
index a7f5dd6..0000000
--- a/filcnaplo/android/app/src/main/res/drawable-nodpi/ic_chevron_left.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
-
diff --git a/filcnaplo/android/app/src/main/res/drawable-nodpi/ic_chevron_right.xml b/filcnaplo/android/app/src/main/res/drawable-nodpi/ic_chevron_right.xml
deleted file mode 100644
index 93ad67e..0000000
--- a/filcnaplo/android/app/src/main/res/drawable-nodpi/ic_chevron_right.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
-
diff --git a/filcnaplo/android/app/src/main/res/drawable-nodpi/ic_droplet.xml b/filcnaplo/android/app/src/main/res/drawable-nodpi/ic_droplet.xml
deleted file mode 100644
index 865d06c..0000000
--- a/filcnaplo/android/app/src/main/res/drawable-nodpi/ic_droplet.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
-
diff --git a/filcnaplo/android/app/src/main/res/drawable-nodpi/ic_launcher_background.xml b/filcnaplo/android/app/src/main/res/drawable-nodpi/ic_launcher_background.xml
deleted file mode 100644
index a4f78de..0000000
--- a/filcnaplo/android/app/src/main/res/drawable-nodpi/ic_launcher_background.xml
+++ /dev/null
@@ -1,170 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/filcnaplo/android/app/src/main/res/drawable-nodpi/ic_launcher_foreground.xml b/filcnaplo/android/app/src/main/res/drawable-nodpi/ic_launcher_foreground.xml
deleted file mode 100644
index cc14f03..0000000
--- a/filcnaplo/android/app/src/main/res/drawable-nodpi/ic_launcher_foreground.xml
+++ /dev/null
@@ -1,30 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/filcnaplo/android/app/src/main/res/drawable-nodpi/ic_navigation_2.xml b/filcnaplo/android/app/src/main/res/drawable-nodpi/ic_navigation_2.xml
deleted file mode 100644
index 90b35d8..0000000
--- a/filcnaplo/android/app/src/main/res/drawable-nodpi/ic_navigation_2.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
-
diff --git a/filcnaplo/android/app/src/main/res/drawable-nodpi/ic_refresh_cw.xml b/filcnaplo/android/app/src/main/res/drawable-nodpi/ic_refresh_cw.xml
deleted file mode 100644
index 289cd49..0000000
--- a/filcnaplo/android/app/src/main/res/drawable-nodpi/ic_refresh_cw.xml
+++ /dev/null
@@ -1,27 +0,0 @@
-
-
-
-
-
diff --git a/filcnaplo/android/app/src/main/res/drawable-v21/app_widget_background.xml b/filcnaplo/android/app/src/main/res/drawable-v21/app_widget_background.xml
deleted file mode 100644
index 6721d42..0000000
--- a/filcnaplo/android/app/src/main/res/drawable-v21/app_widget_background.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
\ No newline at end of file
diff --git a/filcnaplo/android/app/src/main/res/drawable-v21/app_widget_inner_view_background.xml b/filcnaplo/android/app/src/main/res/drawable-v21/app_widget_inner_view_background.xml
deleted file mode 100644
index 5ae60cf..0000000
--- a/filcnaplo/android/app/src/main/res/drawable-v21/app_widget_inner_view_background.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
\ No newline at end of file
diff --git a/filcnaplo/android/app/src/main/res/drawable-v21/background.png b/filcnaplo/android/app/src/main/res/drawable-v21/background.png
deleted file mode 100644
index d90316e..0000000
Binary files a/filcnaplo/android/app/src/main/res/drawable-v21/background.png and /dev/null differ
diff --git a/filcnaplo/android/app/src/main/res/drawable-v21/launch_background.xml b/filcnaplo/android/app/src/main/res/drawable-v21/launch_background.xml
deleted file mode 100644
index 3cc4948..0000000
--- a/filcnaplo/android/app/src/main/res/drawable-v21/launch_background.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
- -
-
-
- -
-
-
-
diff --git a/filcnaplo/android/app/src/main/res/drawable-xhdpi/android12splash.png b/filcnaplo/android/app/src/main/res/drawable-xhdpi/android12splash.png
deleted file mode 100644
index 8147fe6..0000000
Binary files a/filcnaplo/android/app/src/main/res/drawable-xhdpi/android12splash.png and /dev/null differ
diff --git a/filcnaplo/android/app/src/main/res/drawable-xhdpi/card_layout_bg.xml b/filcnaplo/android/app/src/main/res/drawable-xhdpi/card_layout_bg.xml
deleted file mode 100644
index 0def536..0000000
--- a/filcnaplo/android/app/src/main/res/drawable-xhdpi/card_layout_bg.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/filcnaplo/android/app/src/main/res/drawable-xhdpi/card_layout_tile.xml b/filcnaplo/android/app/src/main/res/drawable-xhdpi/card_layout_tile.xml
deleted file mode 100644
index f12f731..0000000
--- a/filcnaplo/android/app/src/main/res/drawable-xhdpi/card_layout_tile.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
-
-
\ No newline at end of file
diff --git a/filcnaplo/android/app/src/main/res/drawable-xhdpi/card_layout_tile_elmarad.xml b/filcnaplo/android/app/src/main/res/drawable-xhdpi/card_layout_tile_elmarad.xml
deleted file mode 100644
index ee09eea..0000000
--- a/filcnaplo/android/app/src/main/res/drawable-xhdpi/card_layout_tile_elmarad.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
-
-
\ No newline at end of file
diff --git a/filcnaplo/android/app/src/main/res/drawable-xhdpi/card_layout_tile_helyetesitett.xml b/filcnaplo/android/app/src/main/res/drawable-xhdpi/card_layout_tile_helyetesitett.xml
deleted file mode 100644
index 030aaf2..0000000
--- a/filcnaplo/android/app/src/main/res/drawable-xhdpi/card_layout_tile_helyetesitett.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
-
-
\ No newline at end of file
diff --git a/filcnaplo/android/app/src/main/res/drawable-xhdpi/ic_launcher_foreground.png b/filcnaplo/android/app/src/main/res/drawable-xhdpi/ic_launcher_foreground.png
deleted file mode 100644
index a83f396..0000000
Binary files a/filcnaplo/android/app/src/main/res/drawable-xhdpi/ic_launcher_foreground.png and /dev/null differ
diff --git a/filcnaplo/android/app/src/main/res/drawable-xhdpi/ic_stat_splash_logo.png b/filcnaplo/android/app/src/main/res/drawable-xhdpi/ic_stat_splash_logo.png
deleted file mode 100644
index 7c96a2f..0000000
Binary files a/filcnaplo/android/app/src/main/res/drawable-xhdpi/ic_stat_splash_logo.png and /dev/null differ
diff --git a/filcnaplo/android/app/src/main/res/drawable-xhdpi/splash.png b/filcnaplo/android/app/src/main/res/drawable-xhdpi/splash.png
deleted file mode 100644
index 8147fe6..0000000
Binary files a/filcnaplo/android/app/src/main/res/drawable-xhdpi/splash.png and /dev/null differ
diff --git a/filcnaplo/android/app/src/main/res/drawable-xhdpi/timetable_widget_preview.png b/filcnaplo/android/app/src/main/res/drawable-xhdpi/timetable_widget_preview.png
deleted file mode 100644
index 7f61c65..0000000
Binary files a/filcnaplo/android/app/src/main/res/drawable-xhdpi/timetable_widget_preview.png and /dev/null differ
diff --git a/filcnaplo/android/app/src/main/res/drawable-xhdpi/widget_card_bottom.xml b/filcnaplo/android/app/src/main/res/drawable-xhdpi/widget_card_bottom.xml
deleted file mode 100644
index 80b52be..0000000
--- a/filcnaplo/android/app/src/main/res/drawable-xhdpi/widget_card_bottom.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/filcnaplo/android/app/src/main/res/drawable-xhdpi/widget_card_bottom_dark.xml b/filcnaplo/android/app/src/main/res/drawable-xhdpi/widget_card_bottom_dark.xml
deleted file mode 100644
index f2d52b0..0000000
--- a/filcnaplo/android/app/src/main/res/drawable-xhdpi/widget_card_bottom_dark.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/filcnaplo/android/app/src/main/res/drawable-xhdpi/widget_card_top.xml b/filcnaplo/android/app/src/main/res/drawable-xhdpi/widget_card_top.xml
deleted file mode 100644
index a37fed6..0000000
--- a/filcnaplo/android/app/src/main/res/drawable-xhdpi/widget_card_top.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/filcnaplo/android/app/src/main/res/drawable-xhdpi/widget_card_top_dark.xml b/filcnaplo/android/app/src/main/res/drawable-xhdpi/widget_card_top_dark.xml
deleted file mode 100644
index c41e2b5..0000000
--- a/filcnaplo/android/app/src/main/res/drawable-xhdpi/widget_card_top_dark.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/filcnaplo/android/app/src/main/res/drawable-xhdpi/widget_scroll_style.xml b/filcnaplo/android/app/src/main/res/drawable-xhdpi/widget_scroll_style.xml
deleted file mode 100644
index a4eab7e..0000000
--- a/filcnaplo/android/app/src/main/res/drawable-xhdpi/widget_scroll_style.xml
+++ /dev/null
@@ -1,17 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/filcnaplo/android/app/src/main/res/drawable-xxhdpi/android12splash.png b/filcnaplo/android/app/src/main/res/drawable-xxhdpi/android12splash.png
deleted file mode 100644
index 80a42fb..0000000
Binary files a/filcnaplo/android/app/src/main/res/drawable-xxhdpi/android12splash.png and /dev/null differ
diff --git a/filcnaplo/android/app/src/main/res/drawable-xxhdpi/ic_launcher_foreground.png b/filcnaplo/android/app/src/main/res/drawable-xxhdpi/ic_launcher_foreground.png
deleted file mode 100644
index 1de7a46..0000000
Binary files a/filcnaplo/android/app/src/main/res/drawable-xxhdpi/ic_launcher_foreground.png and /dev/null differ
diff --git a/filcnaplo/android/app/src/main/res/drawable-xxhdpi/ic_stat_splash_logo.png b/filcnaplo/android/app/src/main/res/drawable-xxhdpi/ic_stat_splash_logo.png
deleted file mode 100644
index b8b19e7..0000000
Binary files a/filcnaplo/android/app/src/main/res/drawable-xxhdpi/ic_stat_splash_logo.png and /dev/null differ
diff --git a/filcnaplo/android/app/src/main/res/drawable-xxhdpi/splash.png b/filcnaplo/android/app/src/main/res/drawable-xxhdpi/splash.png
deleted file mode 100644
index 80a42fb..0000000
Binary files a/filcnaplo/android/app/src/main/res/drawable-xxhdpi/splash.png and /dev/null differ
diff --git a/filcnaplo/android/app/src/main/res/drawable-xxxhdpi/android12splash.png b/filcnaplo/android/app/src/main/res/drawable-xxxhdpi/android12splash.png
deleted file mode 100644
index 2148f7f..0000000
Binary files a/filcnaplo/android/app/src/main/res/drawable-xxxhdpi/android12splash.png and /dev/null differ
diff --git a/filcnaplo/android/app/src/main/res/drawable-xxxhdpi/ic_launcher_foreground.png b/filcnaplo/android/app/src/main/res/drawable-xxxhdpi/ic_launcher_foreground.png
deleted file mode 100644
index beeae31..0000000
Binary files a/filcnaplo/android/app/src/main/res/drawable-xxxhdpi/ic_launcher_foreground.png and /dev/null differ
diff --git a/filcnaplo/android/app/src/main/res/drawable-xxxhdpi/ic_stat_splash_logo.png b/filcnaplo/android/app/src/main/res/drawable-xxxhdpi/ic_stat_splash_logo.png
deleted file mode 100644
index dd12562..0000000
Binary files a/filcnaplo/android/app/src/main/res/drawable-xxxhdpi/ic_stat_splash_logo.png and /dev/null differ
diff --git a/filcnaplo/android/app/src/main/res/drawable-xxxhdpi/splash.png b/filcnaplo/android/app/src/main/res/drawable-xxxhdpi/splash.png
deleted file mode 100644
index 2148f7f..0000000
Binary files a/filcnaplo/android/app/src/main/res/drawable-xxxhdpi/splash.png and /dev/null differ
diff --git a/filcnaplo/android/app/src/main/res/drawable/background.png b/filcnaplo/android/app/src/main/res/drawable/background.png
deleted file mode 100644
index d90316e..0000000
Binary files a/filcnaplo/android/app/src/main/res/drawable/background.png and /dev/null differ
diff --git a/filcnaplo/android/app/src/main/res/drawable/btn_shape.xml b/filcnaplo/android/app/src/main/res/drawable/btn_shape.xml
deleted file mode 100644
index b820ec8..0000000
--- a/filcnaplo/android/app/src/main/res/drawable/btn_shape.xml
+++ /dev/null
@@ -1,18 +0,0 @@
-
-
-
- -
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/filcnaplo/android/app/src/main/res/drawable/btn_shape_login.xml b/filcnaplo/android/app/src/main/res/drawable/btn_shape_login.xml
deleted file mode 100644
index 84bb6fe..0000000
--- a/filcnaplo/android/app/src/main/res/drawable/btn_shape_login.xml
+++ /dev/null
@@ -1,18 +0,0 @@
-
-
-
- -
-
-
-
-
-
-
- -
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/filcnaplo/android/app/src/main/res/drawable/ic_absences.png b/filcnaplo/android/app/src/main/res/drawable/ic_absences.png
deleted file mode 100644
index 97d6a2d..0000000
Binary files a/filcnaplo/android/app/src/main/res/drawable/ic_absences.png and /dev/null differ
diff --git a/filcnaplo/android/app/src/main/res/drawable/ic_grades.png b/filcnaplo/android/app/src/main/res/drawable/ic_grades.png
deleted file mode 100644
index 4528dd0..0000000
Binary files a/filcnaplo/android/app/src/main/res/drawable/ic_grades.png and /dev/null differ
diff --git a/filcnaplo/android/app/src/main/res/drawable/ic_home.png b/filcnaplo/android/app/src/main/res/drawable/ic_home.png
deleted file mode 100644
index 1321435..0000000
Binary files a/filcnaplo/android/app/src/main/res/drawable/ic_home.png and /dev/null differ
diff --git a/filcnaplo/android/app/src/main/res/drawable/ic_messages.png b/filcnaplo/android/app/src/main/res/drawable/ic_messages.png
deleted file mode 100644
index e6b5178..0000000
Binary files a/filcnaplo/android/app/src/main/res/drawable/ic_messages.png and /dev/null differ
diff --git a/filcnaplo/android/app/src/main/res/drawable/ic_notification.png b/filcnaplo/android/app/src/main/res/drawable/ic_notification.png
deleted file mode 100644
index 67fd370..0000000
Binary files a/filcnaplo/android/app/src/main/res/drawable/ic_notification.png and /dev/null differ
diff --git a/filcnaplo/android/app/src/main/res/drawable/ic_timetable.png b/filcnaplo/android/app/src/main/res/drawable/ic_timetable.png
deleted file mode 100644
index 71a4621..0000000
Binary files a/filcnaplo/android/app/src/main/res/drawable/ic_timetable.png and /dev/null differ
diff --git a/filcnaplo/android/app/src/main/res/drawable/launch_background.xml b/filcnaplo/android/app/src/main/res/drawable/launch_background.xml
deleted file mode 100644
index 3cc4948..0000000
--- a/filcnaplo/android/app/src/main/res/drawable/launch_background.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
- -
-
-
- -
-
-
-
diff --git a/filcnaplo/android/app/src/main/res/font/montserrat_medium.ttf b/filcnaplo/android/app/src/main/res/font/montserrat_medium.ttf
deleted file mode 100644
index 6e079f6..0000000
Binary files a/filcnaplo/android/app/src/main/res/font/montserrat_medium.ttf and /dev/null differ
diff --git a/filcnaplo/android/app/src/main/res/ic_launcher-web.png b/filcnaplo/android/app/src/main/res/ic_launcher-web.png
deleted file mode 100644
index 25ed396..0000000
Binary files a/filcnaplo/android/app/src/main/res/ic_launcher-web.png and /dev/null differ
diff --git a/filcnaplo/android/app/src/main/res/layout/home_widget_test.xml b/filcnaplo/android/app/src/main/res/layout/home_widget_test.xml
deleted file mode 100644
index b12af8d..0000000
--- a/filcnaplo/android/app/src/main/res/layout/home_widget_test.xml
+++ /dev/null
@@ -1,26 +0,0 @@
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/filcnaplo/android/app/src/main/res/layout/timetable_item.xml b/filcnaplo/android/app/src/main/res/layout/timetable_item.xml
deleted file mode 100644
index aa23af8..0000000
--- a/filcnaplo/android/app/src/main/res/layout/timetable_item.xml
+++ /dev/null
@@ -1,113 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/filcnaplo/android/app/src/main/res/layout/widget_timetable.xml b/filcnaplo/android/app/src/main/res/layout/widget_timetable.xml
deleted file mode 100644
index 75496ef..0000000
--- a/filcnaplo/android/app/src/main/res/layout/widget_timetable.xml
+++ /dev/null
@@ -1,232 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/filcnaplo/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/filcnaplo/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
deleted file mode 100644
index 4b7da89..0000000
--- a/filcnaplo/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
-
-
diff --git a/filcnaplo/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml b/filcnaplo/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
deleted file mode 100644
index 9173f3f..0000000
--- a/filcnaplo/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
-
-
diff --git a/filcnaplo/android/app/src/main/res/mipmap-hdpi/ic_launcher.png b/filcnaplo/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
deleted file mode 100644
index 7144abf..0000000
Binary files a/filcnaplo/android/app/src/main/res/mipmap-hdpi/ic_launcher.png and /dev/null differ
diff --git a/filcnaplo/android/app/src/main/res/mipmap-hdpi/ic_launcher_background.png b/filcnaplo/android/app/src/main/res/mipmap-hdpi/ic_launcher_background.png
deleted file mode 100644
index 75d1236..0000000
Binary files a/filcnaplo/android/app/src/main/res/mipmap-hdpi/ic_launcher_background.png and /dev/null differ
diff --git a/filcnaplo/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png b/filcnaplo/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png
deleted file mode 100644
index 41776f7..0000000
Binary files a/filcnaplo/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png and /dev/null differ
diff --git a/filcnaplo/android/app/src/main/res/mipmap-hdpi/ic_launcher_monochrome.png b/filcnaplo/android/app/src/main/res/mipmap-hdpi/ic_launcher_monochrome.png
deleted file mode 100644
index 135f9f0..0000000
Binary files a/filcnaplo/android/app/src/main/res/mipmap-hdpi/ic_launcher_monochrome.png and /dev/null differ
diff --git a/filcnaplo/android/app/src/main/res/mipmap-mdpi/ic_launcher.png b/filcnaplo/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
deleted file mode 100644
index 0e55b88..0000000
Binary files a/filcnaplo/android/app/src/main/res/mipmap-mdpi/ic_launcher.png and /dev/null differ
diff --git a/filcnaplo/android/app/src/main/res/mipmap-mdpi/ic_launcher_background.png b/filcnaplo/android/app/src/main/res/mipmap-mdpi/ic_launcher_background.png
deleted file mode 100644
index e76b647..0000000
Binary files a/filcnaplo/android/app/src/main/res/mipmap-mdpi/ic_launcher_background.png and /dev/null differ
diff --git a/filcnaplo/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png b/filcnaplo/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png
deleted file mode 100644
index 9f106fe..0000000
Binary files a/filcnaplo/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png and /dev/null differ
diff --git a/filcnaplo/android/app/src/main/res/mipmap-mdpi/ic_launcher_monochrome.png b/filcnaplo/android/app/src/main/res/mipmap-mdpi/ic_launcher_monochrome.png
deleted file mode 100644
index f5106b5..0000000
Binary files a/filcnaplo/android/app/src/main/res/mipmap-mdpi/ic_launcher_monochrome.png and /dev/null differ
diff --git a/filcnaplo/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/filcnaplo/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
deleted file mode 100644
index 83ad190..0000000
Binary files a/filcnaplo/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png and /dev/null differ
diff --git a/filcnaplo/android/app/src/main/res/mipmap-xhdpi/ic_launcher_background.png b/filcnaplo/android/app/src/main/res/mipmap-xhdpi/ic_launcher_background.png
deleted file mode 100644
index ab6de10..0000000
Binary files a/filcnaplo/android/app/src/main/res/mipmap-xhdpi/ic_launcher_background.png and /dev/null differ
diff --git a/filcnaplo/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png b/filcnaplo/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png
deleted file mode 100644
index d0ecde3..0000000
Binary files a/filcnaplo/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png and /dev/null differ
diff --git a/filcnaplo/android/app/src/main/res/mipmap-xhdpi/ic_launcher_monochrome.png b/filcnaplo/android/app/src/main/res/mipmap-xhdpi/ic_launcher_monochrome.png
deleted file mode 100644
index 180d66c..0000000
Binary files a/filcnaplo/android/app/src/main/res/mipmap-xhdpi/ic_launcher_monochrome.png and /dev/null differ
diff --git a/filcnaplo/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/filcnaplo/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
deleted file mode 100644
index 26c3c81..0000000
Binary files a/filcnaplo/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png and /dev/null differ
diff --git a/filcnaplo/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_background.png b/filcnaplo/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_background.png
deleted file mode 100644
index 9f7dba9..0000000
Binary files a/filcnaplo/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_background.png and /dev/null differ
diff --git a/filcnaplo/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png b/filcnaplo/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png
deleted file mode 100644
index e65a7c7..0000000
Binary files a/filcnaplo/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png and /dev/null differ
diff --git a/filcnaplo/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_monochrome.png b/filcnaplo/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_monochrome.png
deleted file mode 100644
index 27ebd1f..0000000
Binary files a/filcnaplo/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_monochrome.png and /dev/null differ
diff --git a/filcnaplo/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/filcnaplo/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
deleted file mode 100644
index 9ef3354..0000000
Binary files a/filcnaplo/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png and /dev/null differ
diff --git a/filcnaplo/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_background.png b/filcnaplo/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_background.png
deleted file mode 100644
index bcd2541..0000000
Binary files a/filcnaplo/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_background.png and /dev/null differ
diff --git a/filcnaplo/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_monochrome.png b/filcnaplo/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_monochrome.png
deleted file mode 100644
index 9a3da37..0000000
Binary files a/filcnaplo/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_monochrome.png and /dev/null differ
diff --git a/filcnaplo/android/app/src/main/res/playstore-icon.png b/filcnaplo/android/app/src/main/res/playstore-icon.png
deleted file mode 100644
index 25ed396..0000000
Binary files a/filcnaplo/android/app/src/main/res/playstore-icon.png and /dev/null differ
diff --git a/filcnaplo/android/app/src/main/res/values-night-v31/styles.xml b/filcnaplo/android/app/src/main/res/values-night-v31/styles.xml
deleted file mode 100644
index a87b7b2..0000000
--- a/filcnaplo/android/app/src/main/res/values-night-v31/styles.xml
+++ /dev/null
@@ -1,21 +0,0 @@
-
-
-
-
-
-
-
diff --git a/filcnaplo/android/app/src/main/res/values-night-v31/themes.xml b/filcnaplo/android/app/src/main/res/values-night-v31/themes.xml
deleted file mode 100644
index beed9ab..0000000
--- a/filcnaplo/android/app/src/main/res/values-night-v31/themes.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
\ No newline at end of file
diff --git a/filcnaplo/android/app/src/main/res/values-night/styles.xml b/filcnaplo/android/app/src/main/res/values-night/styles.xml
deleted file mode 100644
index 9b14563..0000000
--- a/filcnaplo/android/app/src/main/res/values-night/styles.xml
+++ /dev/null
@@ -1,19 +0,0 @@
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/filcnaplo/android/app/src/main/res/values-v31/styles.xml b/filcnaplo/android/app/src/main/res/values-v31/styles.xml
deleted file mode 100644
index 62bb0dc..0000000
--- a/filcnaplo/android/app/src/main/res/values-v31/styles.xml
+++ /dev/null
@@ -1,21 +0,0 @@
-
-
-
-
-
-
-
diff --git a/filcnaplo/android/app/src/main/res/values-v31/themes.xml b/filcnaplo/android/app/src/main/res/values-v31/themes.xml
deleted file mode 100644
index 52d24ca..0000000
--- a/filcnaplo/android/app/src/main/res/values-v31/themes.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
-
-
\ No newline at end of file
diff --git a/filcnaplo/android/app/src/main/res/values/attrs.xml b/filcnaplo/android/app/src/main/res/values/attrs.xml
deleted file mode 100644
index f8430c2..0000000
--- a/filcnaplo/android/app/src/main/res/values/attrs.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/filcnaplo/android/app/src/main/res/values/colors.xml b/filcnaplo/android/app/src/main/res/values/colors.xml
deleted file mode 100644
index e0e5c17..0000000
--- a/filcnaplo/android/app/src/main/res/values/colors.xml
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
- #3D7BF4
-
- #FFBB86FC
- #FF6200EE
- #FF3700B3
- #FF03DAC5
- #FF018786
- #FF000000
- #FFFFFFFF
- #FFE1F5FE
- #FF81D4FA
- #FF039BE5
- #FF01579B
-
- #ffE8E8E8
- #000000
- #B9B9B9
- #B9B9B9
- #888C8F
- #ffF4F9FF
- #ffFFFFFF
- #ffFF3B30
- #40FF3B30
- #ffFF9500
- #ffFFCC00
- #40FFD60A
- #ff34C759
- #ff3D7BF4
- #ff5AC8FA
- #ff007AFF
- #ff5856D6
- #ffAF52DE
- #ffFF2D55
-
-
-
- #000
- #FFFFFFFF
- #B9B9B9
- #93979A
- #A1A5A8
- #ff000000
- #ff141516
- #ffFF453A
- #40FF453A
- #ffFF9F0A
- #ffFFD60A
- #40FFD60A
- #ff32D74B
- #ff3D7BF4
- #ff64D2FF
- #ff0A84FF
- #ff5E5CE6
- #ffBF5AF2
- #ffFF375F
-
- #FF64B5F6
- #FF81C784
- #FFDCE775
- #FFFFF176
- #FFFF8A65
- #FFE57373
- #FFF06292
- #FFBA68C8
-
\ No newline at end of file
diff --git a/filcnaplo/android/app/src/main/res/values/dimens.xml b/filcnaplo/android/app/src/main/res/values/dimens.xml
deleted file mode 100644
index 50a85e6..0000000
--- a/filcnaplo/android/app/src/main/res/values/dimens.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
- 0dp
-
-
\ No newline at end of file
diff --git a/filcnaplo/android/app/src/main/res/values/strings.xml b/filcnaplo/android/app/src/main/res/values/strings.xml
deleted file mode 100644
index 4e16b58..0000000
--- a/filcnaplo/android/app/src/main/res/values/strings.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
- Órarend Widget
- Add widget
- Mindig lásd, milyen órád lesz, a kezdőképernyőd kényelméből.
-
\ No newline at end of file
diff --git a/filcnaplo/android/app/src/main/res/values/styles.xml b/filcnaplo/android/app/src/main/res/values/styles.xml
deleted file mode 100644
index 30e86bc..0000000
--- a/filcnaplo/android/app/src/main/res/values/styles.xml
+++ /dev/null
@@ -1,30 +0,0 @@
-
-
-
-
-
-
-
-
-
diff --git a/filcnaplo/android/app/src/main/res/values/themes.xml b/filcnaplo/android/app/src/main/res/values/themes.xml
deleted file mode 100644
index 5e2e5e0..0000000
--- a/filcnaplo/android/app/src/main/res/values/themes.xml
+++ /dev/null
@@ -1,16 +0,0 @@
-
-
-
-
-
\ No newline at end of file
diff --git a/filcnaplo/android/app/src/main/res/xml/home_widget_test_info.xml b/filcnaplo/android/app/src/main/res/xml/home_widget_test_info.xml
deleted file mode 100644
index 9beb272..0000000
--- a/filcnaplo/android/app/src/main/res/xml/home_widget_test_info.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
\ No newline at end of file
diff --git a/filcnaplo/android/app/src/profile/AndroidManifest.xml b/filcnaplo/android/app/src/profile/AndroidManifest.xml
deleted file mode 100644
index 826ca84..0000000
--- a/filcnaplo/android/app/src/profile/AndroidManifest.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
-
-
-
-
diff --git a/filcnaplo/android/gradle.properties b/filcnaplo/android/gradle.properties
deleted file mode 100644
index 183b8aa..0000000
--- a/filcnaplo/android/gradle.properties
+++ /dev/null
@@ -1,8 +0,0 @@
-org.gradle.jvmargs=-Xmx1536M \
---add-exports=java.base/sun.nio.ch=ALL-UNNAMED \
---add-opens=java.base/java.lang=ALL-UNNAMED \
---add-opens=java.base/java.lang.reflect=ALL-UNNAMED \
---add-opens=java.base/java.io=ALL-UNNAMED \
---add-exports=jdk.unsupported/sun.misc=ALL-UNNAMED
-android.useAndroidX=true
-android.enableJetifier=true
diff --git a/filcnaplo/android/gradle/wrapper/gradle-wrapper.properties b/filcnaplo/android/gradle/wrapper/gradle-wrapper.properties
deleted file mode 100644
index 51d7af8..0000000
--- a/filcnaplo/android/gradle/wrapper/gradle-wrapper.properties
+++ /dev/null
@@ -1,6 +0,0 @@
-#Fri Jun 23 08:50:38 CEST 2017
-distributionBase=GRADLE_USER_HOME
-distributionPath=wrapper/dists
-zipStoreBase=GRADLE_USER_HOME
-zipStorePath=wrapper/dists
-distributionUrl=https://services.gradle.org/distributions/gradle-7.3.3-all.zip
diff --git a/filcnaplo/android/settings.gradle b/filcnaplo/android/settings.gradle
deleted file mode 100644
index 33f0745..0000000
--- a/filcnaplo/android/settings.gradle
+++ /dev/null
@@ -1,11 +0,0 @@
-include ':app'
-
-def localPropertiesFile = new File(rootProject.projectDir, "local.properties")
-def properties = new Properties()
-
-assert localPropertiesFile.exists()
-localPropertiesFile.withReader("UTF-8") { reader -> properties.load(reader) }
-
-def flutterSdkPath = properties.getProperty("flutter.sdk")
-assert flutterSdkPath != null, "flutter.sdk not set in local.properties"
-apply from: "$flutterSdkPath/packages/flutter_tools/gradle/app_plugin_loader.gradle"
diff --git a/filcnaplo/android/settings_aar.gradle b/filcnaplo/android/settings_aar.gradle
deleted file mode 100644
index d3db109..0000000
--- a/filcnaplo/android/settings_aar.gradle
+++ /dev/null
@@ -1 +0,0 @@
-include ':app'
diff --git a/filcnaplo/assets/icons/ic_launcher_foreground.png b/filcnaplo/assets/icons/ic_launcher_foreground.png
deleted file mode 100644
index a6d9eab..0000000
Binary files a/filcnaplo/assets/icons/ic_launcher_foreground.png and /dev/null differ
diff --git a/filcnaplo/ios/Flutter/AppFrameworkInfo.plist b/filcnaplo/ios/Flutter/AppFrameworkInfo.plist
deleted file mode 100644
index 0d9747f..0000000
--- a/filcnaplo/ios/Flutter/AppFrameworkInfo.plist
+++ /dev/null
@@ -1,26 +0,0 @@
-
-
-
-
- CFBundleDevelopmentRegion
- en
- CFBundleExecutable
- App
- CFBundleIdentifier
- io.flutter.flutter.app
- CFBundleInfoDictionaryVersion
- 6.0
- CFBundleName
- App
- CFBundlePackageType
- FMWK
- CFBundleShortVersionString
- 1.0
- CFBundleSignature
- ????
- CFBundleVersion
- 1.0
- MinimumOSVersion
- 11.0
-
-
diff --git a/filcnaplo/ios/Flutter/Debug.xcconfig b/filcnaplo/ios/Flutter/Debug.xcconfig
deleted file mode 100644
index 553cfac..0000000
--- a/filcnaplo/ios/Flutter/Debug.xcconfig
+++ /dev/null
@@ -1,2 +0,0 @@
-#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
-#include "Generated.xcconfig"
diff --git a/filcnaplo/ios/Flutter/Release.xcconfig b/filcnaplo/ios/Flutter/Release.xcconfig
deleted file mode 100644
index 4b6e1f6..0000000
--- a/filcnaplo/ios/Flutter/Release.xcconfig
+++ /dev/null
@@ -1,2 +0,0 @@
-#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
-#include "Generated.xcconfig"
diff --git a/filcnaplo/ios/Podfile b/filcnaplo/ios/Podfile
deleted file mode 100644
index d016b37..0000000
--- a/filcnaplo/ios/Podfile
+++ /dev/null
@@ -1,46 +0,0 @@
-# Uncomment this line to define a global platform for your project
-platform :ios, '12.0'
-
-# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
-ENV['COCOAPODS_DISABLE_STATS'] = 'true'
-
-project 'Runner', {
- 'Debug' => :debug,
- 'Profile' => :release,
- 'Release' => :release,
-}
-
-def flutter_root
- generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__)
- unless File.exist?(generated_xcode_build_settings_path)
- raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first"
- end
-
- File.foreach(generated_xcode_build_settings_path) do |line|
- matches = line.match(/FLUTTER_ROOT\=(.*)/)
- return matches[1].strip if matches
- end
- raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get"
-end
-
-require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root)
-
-flutter_ios_podfile_setup
-
-target 'Runner' do
- use_frameworks!
- use_modular_headers!
-
- flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
-
- pod 'DKImagePickerController/PhotoGallery', :git => 'https://github.com/zhangao0086/DKImagePickerController.git'
-end
-
-post_install do |installer|
- installer.pods_project.targets.each do |target|
- flutter_additional_ios_build_settings(target)
- target.build_configurations.each do |config|
- config.build_settings.delete 'IPHONEOS_DEPLOYMENT_TARGET'
- end
- end
-end
diff --git a/filcnaplo/ios/Runner.xcodeproj/project.pbxproj b/filcnaplo/ios/Runner.xcodeproj/project.pbxproj
deleted file mode 100644
index 3d7f9b1..0000000
--- a/filcnaplo/ios/Runner.xcodeproj/project.pbxproj
+++ /dev/null
@@ -1,821 +0,0 @@
-// !$*UTF8*$!
-{
- archiveVersion = 1;
- classes = {
- };
- objectVersion = 54;
- objects = {
-
-/* Begin PBXBuildFile section */
- 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; };
- 3127F78D28EAEDE200C2EFB3 /* WidgetKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3127F75528EAECC800C2EFB3 /* WidgetKit.framework */; };
- 3127F78E28EAEDE200C2EFB3 /* SwiftUI.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3127F75728EAECC800C2EFB3 /* SwiftUI.framework */; };
- 3127F79828EAEDE300C2EFB3 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 3127F79728EAEDE300C2EFB3 /* Assets.xcassets */; };
- 3127F79E28EAEDE300C2EFB3 /* livecard.appex in Embed Foundation Extensions */ = {isa = PBXBuildFile; fileRef = 3127F78C28EAEDE200C2EFB3 /* livecard.appex */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; };
- 3127F7A428EAEE3D00C2EFB3 /* livecard.intentdefinition in Sources */ = {isa = PBXBuildFile; fileRef = 3127F7A328EAEE3D00C2EFB3 /* livecard.intentdefinition */; };
- 3127F7A628EAEE5900C2EFB3 /* livecard.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3127F7A528EAEE5900C2EFB3 /* livecard.swift */; };
- 3127F7A828EAEE8500C2EFB3 /* lesson_model.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3127F7A728EAEE8500C2EFB3 /* lesson_model.swift */; };
- 373A6ECB5FC71FE9D8AF2EDB /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1F0ADD56276103500A3016C8 /* Pods_Runner.framework */; };
- 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; };
- 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; };
- 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; };
- 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; };
- 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; };
-/* End PBXBuildFile section */
-
-/* Begin PBXContainerItemProxy section */
- 3127F79C28EAEDE300C2EFB3 /* PBXContainerItemProxy */ = {
- isa = PBXContainerItemProxy;
- containerPortal = 97C146E61CF9000F007C117D /* Project object */;
- proxyType = 1;
- remoteGlobalIDString = 3127F78B28EAEDE200C2EFB3;
- remoteInfo = livecardExtension;
- };
-/* End PBXContainerItemProxy section */
-
-/* Begin PBXCopyFilesBuildPhase section */
- 3127F74F28EAEC8A00C2EFB3 /* Embed Foundation Extensions */ = {
- isa = PBXCopyFilesBuildPhase;
- buildActionMask = 2147483647;
- dstPath = "";
- dstSubfolderSpec = 13;
- files = (
- 3127F79E28EAEDE300C2EFB3 /* livecard.appex in Embed Foundation Extensions */,
- );
- name = "Embed Foundation Extensions";
- runOnlyForDeploymentPostprocessing = 0;
- };
- 9705A1C41CF9048500538489 /* Embed Frameworks */ = {
- isa = PBXCopyFilesBuildPhase;
- buildActionMask = 2147483647;
- dstPath = "";
- dstSubfolderSpec = 10;
- files = (
- );
- name = "Embed Frameworks";
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXCopyFilesBuildPhase section */
-
-/* Begin PBXFileReference section */
- 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; };
- 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; };
- 1F0ADD56276103500A3016C8 /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; };
- 3127F73928EAEC3200C2EFB3 /* Runner.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = Runner.entitlements; sourceTree = ""; };
- 3127F73F28EAEC8A00C2EFB3 /* IntentsUI.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = IntentsUI.framework; path = System/Library/Frameworks/IntentsUI.framework; sourceTree = SDKROOT; };
- 3127F75528EAECC800C2EFB3 /* WidgetKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = WidgetKit.framework; path = System/Library/Frameworks/WidgetKit.framework; sourceTree = SDKROOT; };
- 3127F75728EAECC800C2EFB3 /* SwiftUI.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SwiftUI.framework; path = System/Library/Frameworks/SwiftUI.framework; sourceTree = SDKROOT; };
- 3127F78C28EAEDE200C2EFB3 /* livecard.appex */ = {isa = PBXFileReference; explicitFileType = "wrapper.app-extension"; includeInIndex = 0; path = livecard.appex; sourceTree = BUILT_PRODUCTS_DIR; };
- 3127F79728EAEDE300C2EFB3 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; };
- 3127F79928EAEDE300C2EFB3 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
- 3127F7A328EAEE3D00C2EFB3 /* livecard.intentdefinition */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.intentdefinition; path = livecard.intentdefinition; sourceTree = ""; };
- 3127F7A528EAEE5900C2EFB3 /* livecard.swift */ = {isa = PBXFileReference; indentWidth = 2; lastKnownFileType = sourcecode.swift; path = livecard.swift; sourceTree = ""; tabWidth = 2; };
- 3127F7A728EAEE8500C2EFB3 /* lesson_model.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = lesson_model.swift; sourceTree = ""; };
- 317DE77A294F6FFB002E323E /* livecard.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = livecard.entitlements; sourceTree = ""; };
- 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; };
- 707F8089D970F81C480F73C4 /* Pods-Runner.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.profile.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"; sourceTree = ""; };
- 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = ""; };
- 74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; };
- 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; };
- 80777CF254888CE770D5F909 /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = ""; };
- 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = ""; };
- 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = ""; };
- 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; };
- 97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; };
- 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; };
- 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; };
- 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
- 98578F0EBCC6D3FF8391AAEB /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = ""; };
-/* End PBXFileReference section */
-
-/* Begin PBXFrameworksBuildPhase section */
- 3127F78928EAEDE200C2EFB3 /* Frameworks */ = {
- isa = PBXFrameworksBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 3127F78E28EAEDE200C2EFB3 /* SwiftUI.framework in Frameworks */,
- 3127F78D28EAEDE200C2EFB3 /* WidgetKit.framework in Frameworks */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- 97C146EB1CF9000F007C117D /* Frameworks */ = {
- isa = PBXFrameworksBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 373A6ECB5FC71FE9D8AF2EDB /* Pods_Runner.framework in Frameworks */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXFrameworksBuildPhase section */
-
-/* Begin PBXGroup section */
- 3127F78F28EAEDE200C2EFB3 /* livecard */ = {
- isa = PBXGroup;
- children = (
- 317DE77A294F6FFB002E323E /* livecard.entitlements */,
- 3127F7A728EAEE8500C2EFB3 /* lesson_model.swift */,
- 3127F7A328EAEE3D00C2EFB3 /* livecard.intentdefinition */,
- 3127F79728EAEDE300C2EFB3 /* Assets.xcassets */,
- 3127F79928EAEDE300C2EFB3 /* Info.plist */,
- 3127F7A528EAEE5900C2EFB3 /* livecard.swift */,
- );
- path = livecard;
- sourceTree = "";
- };
- 6640A963014A9D4F31026053 /* Frameworks */ = {
- isa = PBXGroup;
- children = (
- 1F0ADD56276103500A3016C8 /* Pods_Runner.framework */,
- 3127F73F28EAEC8A00C2EFB3 /* IntentsUI.framework */,
- 3127F75528EAECC800C2EFB3 /* WidgetKit.framework */,
- 3127F75728EAECC800C2EFB3 /* SwiftUI.framework */,
- );
- name = Frameworks;
- sourceTree = "";
- };
- 91FEB6212755D596FFFFEC73 /* Pods */ = {
- isa = PBXGroup;
- children = (
- 80777CF254888CE770D5F909 /* Pods-Runner.debug.xcconfig */,
- 98578F0EBCC6D3FF8391AAEB /* Pods-Runner.release.xcconfig */,
- 707F8089D970F81C480F73C4 /* Pods-Runner.profile.xcconfig */,
- );
- path = Pods;
- sourceTree = "";
- };
- 9740EEB11CF90186004384FC /* Flutter */ = {
- isa = PBXGroup;
- children = (
- 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */,
- 9740EEB21CF90195004384FC /* Debug.xcconfig */,
- 7AFA3C8E1D35360C0083082E /* Release.xcconfig */,
- 9740EEB31CF90195004384FC /* Generated.xcconfig */,
- );
- name = Flutter;
- sourceTree = "";
- };
- 97C146E51CF9000F007C117D = {
- isa = PBXGroup;
- children = (
- 9740EEB11CF90186004384FC /* Flutter */,
- 97C146F01CF9000F007C117D /* Runner */,
- 3127F78F28EAEDE200C2EFB3 /* livecard */,
- 97C146EF1CF9000F007C117D /* Products */,
- 91FEB6212755D596FFFFEC73 /* Pods */,
- 6640A963014A9D4F31026053 /* Frameworks */,
- );
- sourceTree = "";
- };
- 97C146EF1CF9000F007C117D /* Products */ = {
- isa = PBXGroup;
- children = (
- 97C146EE1CF9000F007C117D /* Runner.app */,
- 3127F78C28EAEDE200C2EFB3 /* livecard.appex */,
- );
- name = Products;
- sourceTree = "";
- };
- 97C146F01CF9000F007C117D /* Runner */ = {
- isa = PBXGroup;
- children = (
- 3127F73928EAEC3200C2EFB3 /* Runner.entitlements */,
- 97C146FA1CF9000F007C117D /* Main.storyboard */,
- 97C146FD1CF9000F007C117D /* Assets.xcassets */,
- 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */,
- 97C147021CF9000F007C117D /* Info.plist */,
- 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */,
- 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */,
- 74858FAE1ED2DC5600515810 /* AppDelegate.swift */,
- 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */,
- );
- path = Runner;
- sourceTree = "";
- };
-/* End PBXGroup section */
-
-/* Begin PBXNativeTarget section */
- 3127F78B28EAEDE200C2EFB3 /* livecard */ = {
- isa = PBXNativeTarget;
- buildConfigurationList = 3127F79F28EAEDE300C2EFB3 /* Build configuration list for PBXNativeTarget "livecard" */;
- buildPhases = (
- 3127F78A28EAEDE200C2EFB3 /* Resources */,
- 3127F78828EAEDE200C2EFB3 /* Sources */,
- 3127F78928EAEDE200C2EFB3 /* Frameworks */,
- );
- buildRules = (
- );
- dependencies = (
- );
- name = livecard;
- productName = livecardExtension;
- productReference = 3127F78C28EAEDE200C2EFB3 /* livecard.appex */;
- productType = "com.apple.product-type.app-extension";
- };
- 97C146ED1CF9000F007C117D /* Runner */ = {
- isa = PBXNativeTarget;
- buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */;
- buildPhases = (
- 779338C8D92BCBC36F75F791 /* [CP] Check Pods Manifest.lock */,
- 9740EEB61CF901F6004384FC /* Run Script */,
- 97C146EA1CF9000F007C117D /* Sources */,
- 97C146EB1CF9000F007C117D /* Frameworks */,
- 97C146EC1CF9000F007C117D /* Resources */,
- 9705A1C41CF9048500538489 /* Embed Frameworks */,
- 3127F74F28EAEC8A00C2EFB3 /* Embed Foundation Extensions */,
- 3B06AD1E1E4923F5004D2608 /* Thin Binary */,
- 71459C0EB905E05018E3D78F /* [CP] Embed Pods Frameworks */,
- );
- buildRules = (
- );
- dependencies = (
- 3127F79D28EAEDE300C2EFB3 /* PBXTargetDependency */,
- );
- name = Runner;
- productName = Runner;
- productReference = 97C146EE1CF9000F007C117D /* Runner.app */;
- productType = "com.apple.product-type.application";
- };
-/* End PBXNativeTarget section */
-
-/* Begin PBXProject section */
- 97C146E61CF9000F007C117D /* Project object */ = {
- isa = PBXProject;
- attributes = {
- LastSwiftUpdateCheck = 1410;
- LastUpgradeCheck = 1300;
- ORGANIZATIONNAME = "";
- TargetAttributes = {
- 3127F78B28EAEDE200C2EFB3 = {
- CreatedOnToolsVersion = 14.1;
- };
- 97C146ED1CF9000F007C117D = {
- CreatedOnToolsVersion = 7.3.1;
- LastSwiftMigration = 1100;
- };
- };
- };
- buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */;
- compatibilityVersion = "Xcode 9.3";
- developmentRegion = en;
- hasScannedForEncodings = 0;
- knownRegions = (
- en,
- Base,
- );
- mainGroup = 97C146E51CF9000F007C117D;
- productRefGroup = 97C146EF1CF9000F007C117D /* Products */;
- projectDirPath = "";
- projectRoot = "";
- targets = (
- 97C146ED1CF9000F007C117D /* Runner */,
- 3127F78B28EAEDE200C2EFB3 /* livecard */,
- );
- };
-/* End PBXProject section */
-
-/* Begin PBXResourcesBuildPhase section */
- 3127F78A28EAEDE200C2EFB3 /* Resources */ = {
- isa = PBXResourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 3127F79828EAEDE300C2EFB3 /* Assets.xcassets in Resources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- 97C146EC1CF9000F007C117D /* Resources */ = {
- isa = PBXResourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */,
- 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */,
- 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */,
- 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXResourcesBuildPhase section */
-
-/* Begin PBXShellScriptBuildPhase section */
- 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = {
- isa = PBXShellScriptBuildPhase;
- alwaysOutOfDate = 1;
- buildActionMask = 12;
- files = (
- );
- inputPaths = (
- "${TARGET_BUILD_DIR}/${INFOPLIST_PATH}",
- );
- name = "Thin Binary";
- outputPaths = (
- );
- runOnlyForDeploymentPostprocessing = 0;
- shellPath = /bin/sh;
- shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin\n";
- };
- 71459C0EB905E05018E3D78F /* [CP] Embed Pods Frameworks */ = {
- isa = PBXShellScriptBuildPhase;
- buildActionMask = 12;
- files = (
- );
- inputFileListPaths = (
- "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-input-files.xcfilelist",
- );
- name = "[CP] Embed Pods Frameworks";
- outputFileListPaths = (
- "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-output-files.xcfilelist",
- );
- runOnlyForDeploymentPostprocessing = 0;
- shellPath = /bin/sh;
- shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n";
- showEnvVarsInLog = 0;
- };
- 779338C8D92BCBC36F75F791 /* [CP] Check Pods Manifest.lock */ = {
- isa = PBXShellScriptBuildPhase;
- buildActionMask = 2147483647;
- files = (
- );
- inputFileListPaths = (
- );
- inputPaths = (
- "${PODS_PODFILE_DIR_PATH}/Podfile.lock",
- "${PODS_ROOT}/Manifest.lock",
- );
- name = "[CP] Check Pods Manifest.lock";
- outputFileListPaths = (
- );
- outputPaths = (
- "$(DERIVED_FILE_DIR)/Pods-Runner-checkManifestLockResult.txt",
- );
- runOnlyForDeploymentPostprocessing = 0;
- shellPath = /bin/sh;
- shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
- showEnvVarsInLog = 0;
- };
- 9740EEB61CF901F6004384FC /* Run Script */ = {
- isa = PBXShellScriptBuildPhase;
- alwaysOutOfDate = 1;
- buildActionMask = 2147483647;
- files = (
- );
- inputPaths = (
- );
- name = "Run Script";
- outputPaths = (
- );
- runOnlyForDeploymentPostprocessing = 0;
- shellPath = /bin/sh;
- shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build\n";
- };
-/* End PBXShellScriptBuildPhase section */
-
-/* Begin PBXSourcesBuildPhase section */
- 3127F78828EAEDE200C2EFB3 /* Sources */ = {
- isa = PBXSourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 3127F7A828EAEE8500C2EFB3 /* lesson_model.swift in Sources */,
- 3127F7A428EAEE3D00C2EFB3 /* livecard.intentdefinition in Sources */,
- 3127F7A628EAEE5900C2EFB3 /* livecard.swift in Sources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
- 97C146EA1CF9000F007C117D /* Sources */ = {
- isa = PBXSourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */,
- 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXSourcesBuildPhase section */
-
-/* Begin PBXTargetDependency section */
- 3127F79D28EAEDE300C2EFB3 /* PBXTargetDependency */ = {
- isa = PBXTargetDependency;
- target = 3127F78B28EAEDE200C2EFB3 /* livecard */;
- targetProxy = 3127F79C28EAEDE300C2EFB3 /* PBXContainerItemProxy */;
- };
-/* End PBXTargetDependency section */
-
-/* Begin PBXVariantGroup section */
- 97C146FA1CF9000F007C117D /* Main.storyboard */ = {
- isa = PBXVariantGroup;
- children = (
- 97C146FB1CF9000F007C117D /* Base */,
- );
- name = Main.storyboard;
- sourceTree = "";
- };
- 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */ = {
- isa = PBXVariantGroup;
- children = (
- 97C147001CF9000F007C117D /* Base */,
- );
- name = LaunchScreen.storyboard;
- sourceTree = "";
- };
-/* End PBXVariantGroup section */
-
-/* Begin XCBuildConfiguration section */
- 249021D3217E4FDB00AE95B9 /* Profile */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- ALWAYS_SEARCH_USER_PATHS = NO;
- CLANG_ANALYZER_NONNULL = YES;
- CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
- CLANG_CXX_LIBRARY = "libc++";
- CLANG_ENABLE_MODULES = YES;
- CLANG_ENABLE_OBJC_ARC = YES;
- CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
- CLANG_WARN_BOOL_CONVERSION = YES;
- CLANG_WARN_COMMA = YES;
- CLANG_WARN_CONSTANT_CONVERSION = YES;
- CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
- CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
- CLANG_WARN_EMPTY_BODY = YES;
- CLANG_WARN_ENUM_CONVERSION = YES;
- CLANG_WARN_INFINITE_RECURSION = YES;
- CLANG_WARN_INT_CONVERSION = YES;
- CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
- CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
- CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
- CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
- CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
- CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
- CLANG_WARN_STRICT_PROTOTYPES = YES;
- CLANG_WARN_SUSPICIOUS_MOVE = YES;
- CLANG_WARN_UNREACHABLE_CODE = YES;
- CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
- "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
- COPY_PHASE_STRIP = NO;
- DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
- ENABLE_NS_ASSERTIONS = NO;
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- GCC_C_LANGUAGE_STANDARD = gnu99;
- GCC_NO_COMMON_BLOCKS = YES;
- GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
- GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
- GCC_WARN_UNDECLARED_SELECTOR = YES;
- GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
- GCC_WARN_UNUSED_FUNCTION = YES;
- GCC_WARN_UNUSED_VARIABLE = YES;
- IPHONEOS_DEPLOYMENT_TARGET = 12.0;
- MTL_ENABLE_DEBUG_INFO = NO;
- SDKROOT = iphoneos;
- SUPPORTED_PLATFORMS = iphoneos;
- TARGETED_DEVICE_FAMILY = "1,2";
- VALIDATE_PRODUCT = YES;
- };
- name = Profile;
- };
- 249021D4217E4FDB00AE95B9 /* Profile */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
- buildSettings = {
- ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
- ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
- CLANG_ENABLE_MODULES = YES;
- CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
- CURRENT_PROJECT_VERSION = 195;
- DEVELOPMENT_TEAM = 4DKAF249F3;
- ENABLE_BITCODE = NO;
- INFOPLIST_FILE = Runner/Info.plist;
- INFOPLIST_KEY_CFBundleDisplayName = reFilc;
- INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.education";
- LD_RUNPATH_SEARCH_PATHS = (
- "$(inherited)",
- "@executable_path/Frameworks",
- );
- MARKETING_VERSION = 3.6.0;
- PRODUCT_BUNDLE_IDENTIFIER = com.refilc2.naplo;
- PRODUCT_NAME = "$(TARGET_NAME)";
- SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
- SWIFT_VERSION = 5.0;
- VERSIONING_SYSTEM = "apple-generic";
- };
- name = Profile;
- };
- 3127F7A028EAEDE300C2EFB3 /* Debug */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AppIcon;
- ASSETCATALOG_COMPILER_WIDGET_BACKGROUND_COLOR_NAME = AppIcon;
- CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
- CLANG_CXX_LANGUAGE_STANDARD = "gnu++20";
- CLANG_ENABLE_OBJC_WEAK = YES;
- CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
- CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
- CODE_SIGN_ENTITLEMENTS = livecard/livecard.entitlements;
- CODE_SIGN_IDENTITY = "Apple Development";
- CODE_SIGN_STYLE = Automatic;
- CURRENT_PROJECT_VERSION = 238;
- DEVELOPMENT_TEAM = 4DKAF249F3;
- GCC_C_LANGUAGE_STANDARD = gnu11;
- GENERATE_INFOPLIST_FILE = YES;
- INFOPLIST_FILE = livecard/Info.plist;
- INFOPLIST_KEY_CFBundleDisplayName = livecard;
- INFOPLIST_KEY_NSHumanReadableCopyright = "";
- INFOPLIST_KEY_NSSupportsLiveActivities = YES;
- IPHONEOS_DEPLOYMENT_TARGET = 16.1;
- LD_RUNPATH_SEARCH_PATHS = (
- "$(inherited)",
- "@executable_path/Frameworks",
- "@executable_path/../../Frameworks",
- );
- MARKETING_VERSION = 4.5.1;
- MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
- MTL_FAST_MATH = YES;
- PRODUCT_BUNDLE_IDENTIFIER = com.refilc2.naplo.livecardpro;
- PRODUCT_NAME = "$(TARGET_NAME)";
- PROVISIONING_PROFILE_SPECIFIER = "";
- SKIP_INSTALL = YES;
- SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
- SWIFT_EMIT_LOC_STRINGS = YES;
- SWIFT_OPTIMIZATION_LEVEL = "-Onone";
- SWIFT_VERSION = 5.0;
- TARGETED_DEVICE_FAMILY = "1,2";
- };
- name = Debug;
- };
- 3127F7A128EAEDE300C2EFB3 /* Release */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AppIcon;
- ASSETCATALOG_COMPILER_WIDGET_BACKGROUND_COLOR_NAME = AppIcon;
- CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
- CLANG_CXX_LANGUAGE_STANDARD = "gnu++20";
- CLANG_ENABLE_OBJC_WEAK = YES;
- CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
- CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
- CODE_SIGN_ENTITLEMENTS = livecard/livecard.entitlements;
- CODE_SIGN_IDENTITY = "Apple Development";
- CODE_SIGN_STYLE = Automatic;
- CURRENT_PROJECT_VERSION = 238;
- DEVELOPMENT_TEAM = 4DKAF249F3;
- GCC_C_LANGUAGE_STANDARD = gnu11;
- GENERATE_INFOPLIST_FILE = YES;
- INFOPLIST_FILE = livecard/Info.plist;
- INFOPLIST_KEY_CFBundleDisplayName = livecard;
- INFOPLIST_KEY_NSHumanReadableCopyright = "";
- INFOPLIST_KEY_NSSupportsLiveActivities = YES;
- IPHONEOS_DEPLOYMENT_TARGET = 16.1;
- LD_RUNPATH_SEARCH_PATHS = (
- "$(inherited)",
- "@executable_path/Frameworks",
- "@executable_path/../../Frameworks",
- );
- MARKETING_VERSION = 4.5.1;
- MTL_FAST_MATH = YES;
- PRODUCT_BUNDLE_IDENTIFIER = com.refilc2.naplo.livecardpro;
- PRODUCT_NAME = "$(TARGET_NAME)";
- PROVISIONING_PROFILE_SPECIFIER = "";
- SKIP_INSTALL = YES;
- SWIFT_EMIT_LOC_STRINGS = YES;
- SWIFT_OPTIMIZATION_LEVEL = "-O";
- SWIFT_VERSION = 5.0;
- TARGETED_DEVICE_FAMILY = "1,2";
- };
- name = Release;
- };
- 3127F7A228EAEDE300C2EFB3 /* Profile */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AppIcon;
- ASSETCATALOG_COMPILER_WIDGET_BACKGROUND_COLOR_NAME = AppIcon;
- CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
- CLANG_CXX_LANGUAGE_STANDARD = "gnu++20";
- CLANG_ENABLE_OBJC_WEAK = YES;
- CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
- CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
- CODE_SIGN_ENTITLEMENTS = livecard/livecard.entitlements;
- CODE_SIGN_IDENTITY = "Apple Development";
- CODE_SIGN_STYLE = Automatic;
- CURRENT_PROJECT_VERSION = 238;
- DEVELOPMENT_TEAM = 4DKAF249F3;
- GCC_C_LANGUAGE_STANDARD = gnu11;
- GENERATE_INFOPLIST_FILE = YES;
- INFOPLIST_FILE = livecard/Info.plist;
- INFOPLIST_KEY_CFBundleDisplayName = livecard;
- INFOPLIST_KEY_NSHumanReadableCopyright = "";
- INFOPLIST_KEY_NSSupportsLiveActivities = YES;
- IPHONEOS_DEPLOYMENT_TARGET = 16.1;
- LD_RUNPATH_SEARCH_PATHS = (
- "$(inherited)",
- "@executable_path/Frameworks",
- "@executable_path/../../Frameworks",
- );
- MARKETING_VERSION = 4.5.1;
- MTL_FAST_MATH = YES;
- PRODUCT_BUNDLE_IDENTIFIER = com.refilc2.naplo.livecardpro;
- PRODUCT_NAME = "$(TARGET_NAME)";
- PROVISIONING_PROFILE_SPECIFIER = "";
- SKIP_INSTALL = YES;
- SWIFT_EMIT_LOC_STRINGS = YES;
- SWIFT_OPTIMIZATION_LEVEL = "-O";
- SWIFT_VERSION = 5.0;
- TARGETED_DEVICE_FAMILY = "1,2";
- };
- name = Profile;
- };
- 97C147031CF9000F007C117D /* Debug */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- ALWAYS_SEARCH_USER_PATHS = NO;
- CLANG_ANALYZER_NONNULL = YES;
- CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
- CLANG_CXX_LIBRARY = "libc++";
- CLANG_ENABLE_MODULES = YES;
- CLANG_ENABLE_OBJC_ARC = YES;
- CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
- CLANG_WARN_BOOL_CONVERSION = YES;
- CLANG_WARN_COMMA = YES;
- CLANG_WARN_CONSTANT_CONVERSION = YES;
- CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
- CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
- CLANG_WARN_EMPTY_BODY = YES;
- CLANG_WARN_ENUM_CONVERSION = YES;
- CLANG_WARN_INFINITE_RECURSION = YES;
- CLANG_WARN_INT_CONVERSION = YES;
- CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
- CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
- CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
- CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
- CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
- CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
- CLANG_WARN_STRICT_PROTOTYPES = YES;
- CLANG_WARN_SUSPICIOUS_MOVE = YES;
- CLANG_WARN_UNREACHABLE_CODE = YES;
- CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
- "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
- COPY_PHASE_STRIP = NO;
- DEBUG_INFORMATION_FORMAT = dwarf;
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- ENABLE_TESTABILITY = YES;
- GCC_C_LANGUAGE_STANDARD = gnu99;
- GCC_DYNAMIC_NO_PIC = NO;
- GCC_NO_COMMON_BLOCKS = YES;
- GCC_OPTIMIZATION_LEVEL = 0;
- GCC_PREPROCESSOR_DEFINITIONS = (
- "DEBUG=1",
- "$(inherited)",
- );
- GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
- GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
- GCC_WARN_UNDECLARED_SELECTOR = YES;
- GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
- GCC_WARN_UNUSED_FUNCTION = YES;
- GCC_WARN_UNUSED_VARIABLE = YES;
- IPHONEOS_DEPLOYMENT_TARGET = 12.0;
- MTL_ENABLE_DEBUG_INFO = YES;
- ONLY_ACTIVE_ARCH = YES;
- SDKROOT = iphoneos;
- TARGETED_DEVICE_FAMILY = "1,2";
- };
- name = Debug;
- };
- 97C147041CF9000F007C117D /* Release */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- ALWAYS_SEARCH_USER_PATHS = NO;
- CLANG_ANALYZER_NONNULL = YES;
- CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
- CLANG_CXX_LIBRARY = "libc++";
- CLANG_ENABLE_MODULES = YES;
- CLANG_ENABLE_OBJC_ARC = YES;
- CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
- CLANG_WARN_BOOL_CONVERSION = YES;
- CLANG_WARN_COMMA = YES;
- CLANG_WARN_CONSTANT_CONVERSION = YES;
- CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
- CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
- CLANG_WARN_EMPTY_BODY = YES;
- CLANG_WARN_ENUM_CONVERSION = YES;
- CLANG_WARN_INFINITE_RECURSION = YES;
- CLANG_WARN_INT_CONVERSION = YES;
- CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
- CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
- CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
- CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
- CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
- CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
- CLANG_WARN_STRICT_PROTOTYPES = YES;
- CLANG_WARN_SUSPICIOUS_MOVE = YES;
- CLANG_WARN_UNREACHABLE_CODE = YES;
- CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
- "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
- COPY_PHASE_STRIP = NO;
- DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
- ENABLE_NS_ASSERTIONS = NO;
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- GCC_C_LANGUAGE_STANDARD = gnu99;
- GCC_NO_COMMON_BLOCKS = YES;
- GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
- GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
- GCC_WARN_UNDECLARED_SELECTOR = YES;
- GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
- GCC_WARN_UNUSED_FUNCTION = YES;
- GCC_WARN_UNUSED_VARIABLE = YES;
- IPHONEOS_DEPLOYMENT_TARGET = 12.0;
- MTL_ENABLE_DEBUG_INFO = NO;
- SDKROOT = iphoneos;
- SUPPORTED_PLATFORMS = iphoneos;
- SWIFT_COMPILATION_MODE = wholemodule;
- SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
- TARGETED_DEVICE_FAMILY = "1,2";
- VALIDATE_PRODUCT = YES;
- };
- name = Release;
- };
- 97C147061CF9000F007C117D /* Debug */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */;
- buildSettings = {
- ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
- ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
- CLANG_ENABLE_MODULES = YES;
- CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
- CURRENT_PROJECT_VERSION = 195;
- DEVELOPMENT_TEAM = 4DKAF249F3;
- ENABLE_BITCODE = NO;
- INFOPLIST_FILE = Runner/Info.plist;
- INFOPLIST_KEY_CFBundleDisplayName = reFilc;
- INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.education";
- LD_RUNPATH_SEARCH_PATHS = (
- "$(inherited)",
- "@executable_path/Frameworks",
- );
- MARKETING_VERSION = 3.6.0;
- PRODUCT_BUNDLE_IDENTIFIER = com.refilc2.naplo;
- PRODUCT_NAME = "$(TARGET_NAME)";
- SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
- SWIFT_OPTIMIZATION_LEVEL = "-Onone";
- SWIFT_VERSION = 5.0;
- VERSIONING_SYSTEM = "apple-generic";
- };
- name = Debug;
- };
- 97C147071CF9000F007C117D /* Release */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
- buildSettings = {
- ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
- ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
- CLANG_ENABLE_MODULES = YES;
- CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
- CURRENT_PROJECT_VERSION = 195;
- DEVELOPMENT_TEAM = 4DKAF249F3;
- ENABLE_BITCODE = NO;
- INFOPLIST_FILE = Runner/Info.plist;
- INFOPLIST_KEY_CFBundleDisplayName = reFilc;
- INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.education";
- LD_RUNPATH_SEARCH_PATHS = (
- "$(inherited)",
- "@executable_path/Frameworks",
- );
- MARKETING_VERSION = 3.6.0;
- PRODUCT_BUNDLE_IDENTIFIER = com.refilc2.naplo;
- PRODUCT_NAME = "$(TARGET_NAME)";
- SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
- SWIFT_VERSION = 5.0;
- VERSIONING_SYSTEM = "apple-generic";
- };
- name = Release;
- };
-/* End XCBuildConfiguration section */
-
-/* Begin XCConfigurationList section */
- 3127F79F28EAEDE300C2EFB3 /* Build configuration list for PBXNativeTarget "livecard" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- 3127F7A028EAEDE300C2EFB3 /* Debug */,
- 3127F7A128EAEDE300C2EFB3 /* Release */,
- 3127F7A228EAEDE300C2EFB3 /* Profile */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
- 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- 97C147031CF9000F007C117D /* Debug */,
- 97C147041CF9000F007C117D /* Release */,
- 249021D3217E4FDB00AE95B9 /* Profile */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
- 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- 97C147061CF9000F007C117D /* Debug */,
- 97C147071CF9000F007C117D /* Release */,
- 249021D4217E4FDB00AE95B9 /* Profile */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
-/* End XCConfigurationList section */
- };
- rootObject = 97C146E61CF9000F007C117D /* Project object */;
-}
diff --git a/filcnaplo/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/filcnaplo/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata
deleted file mode 100644
index c4b79bd..0000000
--- a/filcnaplo/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
-
diff --git a/filcnaplo/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/filcnaplo/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
deleted file mode 100644
index fc6bf80..0000000
--- a/filcnaplo/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
- IDEDidComputeMac32BitWarning
-
-
-
diff --git a/filcnaplo/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/filcnaplo/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
deleted file mode 100644
index af0309c..0000000
--- a/filcnaplo/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
- PreviewsEnabled
-
-
-
diff --git a/filcnaplo/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/filcnaplo/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
deleted file mode 100644
index f9cbb25..0000000
--- a/filcnaplo/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
+++ /dev/null
@@ -1,87 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/filcnaplo/ios/Runner.xcworkspace/contents.xcworkspacedata b/filcnaplo/ios/Runner.xcworkspace/contents.xcworkspacedata
deleted file mode 100644
index 17ccc03..0000000
--- a/filcnaplo/ios/Runner.xcworkspace/contents.xcworkspacedata
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
diff --git a/filcnaplo/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/filcnaplo/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
deleted file mode 100644
index fc6bf80..0000000
--- a/filcnaplo/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
- IDEDidComputeMac32BitWarning
-
-
-
diff --git a/filcnaplo/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/filcnaplo/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
deleted file mode 100644
index af0309c..0000000
--- a/filcnaplo/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
- PreviewsEnabled
-
-
-
diff --git a/filcnaplo/ios/Runner/AppDelegate.swift b/filcnaplo/ios/Runner/AppDelegate.swift
deleted file mode 100644
index 028b1bd..0000000
--- a/filcnaplo/ios/Runner/AppDelegate.swift
+++ /dev/null
@@ -1,25 +0,0 @@
-import UIKit
-import Flutter
-
-@UIApplicationMain
-@objc class AppDelegate: FlutterAppDelegate {
- override func application(
- _ application: UIApplication,
- didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
- ) -> Bool {
- GeneratedPluginRegistrant.register(with: self)
-
- // here, Without this code the task will not work.
- //SwiftFlutterForegroundTaskPlugin.setPluginRegistrantCallback(registerPlugins)
- if #available(iOS 10.0, *) {
- UNUserNotificationCenter.current().delegate = self as? UNUserNotificationCenterDelegate
- }
-
- return super.application(application, didFinishLaunchingWithOptions: launchOptions)
- }
-}
-
-// here
-func registerPlugins(registry: FlutterPluginRegistry) {
- GeneratedPluginRegistrant.register(with: registry)
-}
diff --git a/filcnaplo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json b/filcnaplo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json
deleted file mode 100644
index 1373340..0000000
--- a/filcnaplo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "images" : [
- {
- "filename" : "reFilc_Logo.png",
- "idiom" : "universal",
- "platform" : "ios",
- "size" : "1024x1024"
- }
- ],
- "info" : {
- "author" : "xcode",
- "version" : 1
- }
-}
diff --git a/filcnaplo/ios/Runner/Assets.xcassets/AppIcon.appiconset/reFilc_Logo.png b/filcnaplo/ios/Runner/Assets.xcassets/AppIcon.appiconset/reFilc_Logo.png
deleted file mode 100644
index fad3d44..0000000
Binary files a/filcnaplo/ios/Runner/Assets.xcassets/AppIcon.appiconset/reFilc_Logo.png and /dev/null differ
diff --git a/filcnaplo/ios/Runner/Assets.xcassets/Contents.json b/filcnaplo/ios/Runner/Assets.xcassets/Contents.json
deleted file mode 100644
index b2cf395..0000000
--- a/filcnaplo/ios/Runner/Assets.xcassets/Contents.json
+++ /dev/null
@@ -1,6 +0,0 @@
-{
- "info" : {
- "author" : "xcode",
- "version" : 1
- }
-}
diff --git a/filcnaplo/ios/Runner/Assets.xcassets/LaunchBackground.imageset/Contents.json b/filcnaplo/ios/Runner/Assets.xcassets/LaunchBackground.imageset/Contents.json
deleted file mode 100644
index 9f447e1..0000000
--- a/filcnaplo/ios/Runner/Assets.xcassets/LaunchBackground.imageset/Contents.json
+++ /dev/null
@@ -1,21 +0,0 @@
-{
- "images" : [
- {
- "filename" : "background.png",
- "idiom" : "universal",
- "scale" : "1x"
- },
- {
- "idiom" : "universal",
- "scale" : "2x"
- },
- {
- "idiom" : "universal",
- "scale" : "3x"
- }
- ],
- "info" : {
- "author" : "xcode",
- "version" : 1
- }
-}
diff --git a/filcnaplo/ios/Runner/Assets.xcassets/LaunchBackground.imageset/background.png b/filcnaplo/ios/Runner/Assets.xcassets/LaunchBackground.imageset/background.png
deleted file mode 100644
index d90316e..0000000
Binary files a/filcnaplo/ios/Runner/Assets.xcassets/LaunchBackground.imageset/background.png and /dev/null differ
diff --git a/filcnaplo/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json b/filcnaplo/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json
deleted file mode 100644
index 00cabce..0000000
--- a/filcnaplo/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json
+++ /dev/null
@@ -1,23 +0,0 @@
-{
- "images" : [
- {
- "filename" : "LaunchImage.png",
- "idiom" : "universal",
- "scale" : "1x"
- },
- {
- "filename" : "LaunchImage@2x.png",
- "idiom" : "universal",
- "scale" : "2x"
- },
- {
- "filename" : "LaunchImage@3x.png",
- "idiom" : "universal",
- "scale" : "3x"
- }
- ],
- "info" : {
- "author" : "xcode",
- "version" : 1
- }
-}
diff --git a/filcnaplo/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png b/filcnaplo/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png
deleted file mode 100644
index 65928ee..0000000
Binary files a/filcnaplo/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png and /dev/null differ
diff --git a/filcnaplo/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png b/filcnaplo/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png
deleted file mode 100644
index 8147fe6..0000000
Binary files a/filcnaplo/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png and /dev/null differ
diff --git a/filcnaplo/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png b/filcnaplo/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png
deleted file mode 100644
index 80a42fb..0000000
Binary files a/filcnaplo/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png and /dev/null differ
diff --git a/filcnaplo/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md b/filcnaplo/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md
deleted file mode 100644
index 65a94b5..0000000
--- a/filcnaplo/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md
+++ /dev/null
@@ -1,5 +0,0 @@
-# Launch Screen Assets
-
-You can customize the launch screen with your own desired assets by replacing the image files in this directory.
-
-You can also do it by opening your Flutter project's Xcode project with `open ios/Runner.xcworkspace`, selecting `Runner/Assets.xcassets` in the Project Navigator and dropping in the desired images.
\ No newline at end of file
diff --git a/filcnaplo/ios/Runner/Assets.xcassets/ic_absences.imageset/Contents.json b/filcnaplo/ios/Runner/Assets.xcassets/ic_absences.imageset/Contents.json
deleted file mode 100644
index 49eded8..0000000
--- a/filcnaplo/ios/Runner/Assets.xcassets/ic_absences.imageset/Contents.json
+++ /dev/null
@@ -1,21 +0,0 @@
-{
- "images" : [
- {
- "filename" : "icon.png",
- "idiom" : "universal",
- "scale" : "1x"
- },
- {
- "idiom" : "universal",
- "scale" : "2x"
- },
- {
- "idiom" : "universal",
- "scale" : "3x"
- }
- ],
- "info" : {
- "author" : "xcode",
- "version" : 1
- }
-}
diff --git a/filcnaplo/ios/Runner/Assets.xcassets/ic_absences.imageset/icon.png b/filcnaplo/ios/Runner/Assets.xcassets/ic_absences.imageset/icon.png
deleted file mode 100644
index ca70ec6..0000000
Binary files a/filcnaplo/ios/Runner/Assets.xcassets/ic_absences.imageset/icon.png and /dev/null differ
diff --git a/filcnaplo/ios/Runner/Assets.xcassets/ic_grades.imageset/Contents.json b/filcnaplo/ios/Runner/Assets.xcassets/ic_grades.imageset/Contents.json
deleted file mode 100644
index 49eded8..0000000
--- a/filcnaplo/ios/Runner/Assets.xcassets/ic_grades.imageset/Contents.json
+++ /dev/null
@@ -1,21 +0,0 @@
-{
- "images" : [
- {
- "filename" : "icon.png",
- "idiom" : "universal",
- "scale" : "1x"
- },
- {
- "idiom" : "universal",
- "scale" : "2x"
- },
- {
- "idiom" : "universal",
- "scale" : "3x"
- }
- ],
- "info" : {
- "author" : "xcode",
- "version" : 1
- }
-}
diff --git a/filcnaplo/ios/Runner/Assets.xcassets/ic_grades.imageset/icon.png b/filcnaplo/ios/Runner/Assets.xcassets/ic_grades.imageset/icon.png
deleted file mode 100644
index 4c1c148..0000000
Binary files a/filcnaplo/ios/Runner/Assets.xcassets/ic_grades.imageset/icon.png and /dev/null differ
diff --git a/filcnaplo/ios/Runner/Assets.xcassets/ic_messages.imageset/Contents.json b/filcnaplo/ios/Runner/Assets.xcassets/ic_messages.imageset/Contents.json
deleted file mode 100644
index 49eded8..0000000
--- a/filcnaplo/ios/Runner/Assets.xcassets/ic_messages.imageset/Contents.json
+++ /dev/null
@@ -1,21 +0,0 @@
-{
- "images" : [
- {
- "filename" : "icon.png",
- "idiom" : "universal",
- "scale" : "1x"
- },
- {
- "idiom" : "universal",
- "scale" : "2x"
- },
- {
- "idiom" : "universal",
- "scale" : "3x"
- }
- ],
- "info" : {
- "author" : "xcode",
- "version" : 1
- }
-}
diff --git a/filcnaplo/ios/Runner/Assets.xcassets/ic_messages.imageset/icon.png b/filcnaplo/ios/Runner/Assets.xcassets/ic_messages.imageset/icon.png
deleted file mode 100644
index 6c9c7a5..0000000
Binary files a/filcnaplo/ios/Runner/Assets.xcassets/ic_messages.imageset/icon.png and /dev/null differ
diff --git a/filcnaplo/ios/Runner/Assets.xcassets/ic_timetable.imageset/Contents.json b/filcnaplo/ios/Runner/Assets.xcassets/ic_timetable.imageset/Contents.json
deleted file mode 100644
index 49eded8..0000000
--- a/filcnaplo/ios/Runner/Assets.xcassets/ic_timetable.imageset/Contents.json
+++ /dev/null
@@ -1,21 +0,0 @@
-{
- "images" : [
- {
- "filename" : "icon.png",
- "idiom" : "universal",
- "scale" : "1x"
- },
- {
- "idiom" : "universal",
- "scale" : "2x"
- },
- {
- "idiom" : "universal",
- "scale" : "3x"
- }
- ],
- "info" : {
- "author" : "xcode",
- "version" : 1
- }
-}
diff --git a/filcnaplo/ios/Runner/Assets.xcassets/ic_timetable.imageset/icon.png b/filcnaplo/ios/Runner/Assets.xcassets/ic_timetable.imageset/icon.png
deleted file mode 100644
index da7c5fc..0000000
Binary files a/filcnaplo/ios/Runner/Assets.xcassets/ic_timetable.imageset/icon.png and /dev/null differ
diff --git a/filcnaplo/ios/Runner/Base.lproj/LaunchScreen.storyboard b/filcnaplo/ios/Runner/Base.lproj/LaunchScreen.storyboard
deleted file mode 100644
index c9cac30..0000000
--- a/filcnaplo/ios/Runner/Base.lproj/LaunchScreen.storyboard
+++ /dev/null
@@ -1,44 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/filcnaplo/ios/Runner/Base.lproj/Main.storyboard b/filcnaplo/ios/Runner/Base.lproj/Main.storyboard
deleted file mode 100644
index bbb83ca..0000000
--- a/filcnaplo/ios/Runner/Base.lproj/Main.storyboard
+++ /dev/null
@@ -1,26 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/filcnaplo/ios/Runner/Info.plist b/filcnaplo/ios/Runner/Info.plist
deleted file mode 100644
index aa695d8..0000000
--- a/filcnaplo/ios/Runner/Info.plist
+++ /dev/null
@@ -1,124 +0,0 @@
-
-
-
-
- CFBundleAlternateIcons
-
- refilc_pride
-
- CFBundleIconFiles
-
- refilc_pride
-
- UIPrerenderedIcon
-
-
- refilc_overcomplicated
-
- CFBundleIconFiles
-
- refilc_overcomplicated
-
- UIPrerenderedIcon
-
-
- refilc_concept
-
- CFBundleIconFiles
-
- refilc_concept
-
- UIPrerenderedIcon
-
-
- refilc_default
-
- CFBundleIconFiles
-
- refilc_default
-
- UIPrerenderedIcon
-
-
-
- CFBundleIcons
-
- CFBundlePrimaryIcon
-
- CFBundleIconName
-
- CFBundleIconFiles
-
-
-
- UIPrerenderedIcon
-
-
-
- BGTaskSchedulerPermittedIdentifiers
-
- com.transistorsoft.fetch
-
- CADisableMinimumFrameDurationOnPhone
-
- CFBundleDevelopmentRegion
- $(DEVELOPMENT_LANGUAGE)
- CFBundleExecutable
- $(EXECUTABLE_NAME)
- CFBundleIdentifier
- $(PRODUCT_BUNDLE_IDENTIFIER)
- CFBundleInfoDictionaryVersion
- 6.0
- CFBundleName
- reFilc
- CFBundlePackageType
- APPL
- CFBundleShortVersionString
- $(FLUTTER_BUILD_NAME)
- CFBundleSignature
- ????
- CFBundleVersion
- $(FLUTTER_BUILD_NUMBER)
- ITSAppUsesNonExemptEncryption
-
- LSApplicationQueriesSchemes
-
- https
- http
-
- LSRequiresIPhoneOS
-
- NSPhotoLibraryUsageDescription
- The app requires the photo library to set a custom profile picture.
- NSSupportsLiveActivities
-
- UIApplicationSupportsIndirectInputEvents
-
- UIBackgroundModes
-
- fetch
- processing
-
- UILaunchStoryboardName
- LaunchScreen
- UIMainStoryboardFile
- Main
- UIStatusBarHidden
-
- UISupportedInterfaceOrientations
-
- UIInterfaceOrientationPortrait
- UIInterfaceOrientationLandscapeLeft
- UIInterfaceOrientationLandscapeRight
-
- UISupportedInterfaceOrientations~ipad
-
- UIInterfaceOrientationPortrait
- UIInterfaceOrientationPortraitUpsideDown
- UIInterfaceOrientationLandscapeLeft
- UIInterfaceOrientationLandscapeRight
-
- UIViewControllerBasedStatusBarAppearance
-
-
-
diff --git a/filcnaplo/ios/Runner/Runner-Bridging-Header.h b/filcnaplo/ios/Runner/Runner-Bridging-Header.h
deleted file mode 100644
index fae207f..0000000
--- a/filcnaplo/ios/Runner/Runner-Bridging-Header.h
+++ /dev/null
@@ -1 +0,0 @@
-#import "GeneratedPluginRegistrant.h"
diff --git a/filcnaplo/ios/Runner/Runner.entitlements b/filcnaplo/ios/Runner/Runner.entitlements
deleted file mode 100644
index 8e1d462..0000000
--- a/filcnaplo/ios/Runner/Runner.entitlements
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
-
- aps-environment
- development
- com.apple.security.application-groups
-
- group.refilc2.livecard
-
-
-
diff --git a/filcnaplo/ios/livecard/Assets.xcassets/AccentColor.colorset/Contents.json b/filcnaplo/ios/livecard/Assets.xcassets/AccentColor.colorset/Contents.json
deleted file mode 100644
index 78e16c0..0000000
--- a/filcnaplo/ios/livecard/Assets.xcassets/AccentColor.colorset/Contents.json
+++ /dev/null
@@ -1,11 +0,0 @@
-{
- "colors" : [
- {
- "idiom" : "universal"
- }
- ],
- "info" : {
- "author" : "xcode",
- "version" : 1
- }
-}
diff --git a/filcnaplo/ios/livecard/Assets.xcassets/AppIcon.appiconset/Contents.json b/filcnaplo/ios/livecard/Assets.xcassets/AppIcon.appiconset/Contents.json
deleted file mode 100644
index 1373340..0000000
--- a/filcnaplo/ios/livecard/Assets.xcassets/AppIcon.appiconset/Contents.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "images" : [
- {
- "filename" : "reFilc_Logo.png",
- "idiom" : "universal",
- "platform" : "ios",
- "size" : "1024x1024"
- }
- ],
- "info" : {
- "author" : "xcode",
- "version" : 1
- }
-}
diff --git a/filcnaplo/ios/livecard/Assets.xcassets/AppIcon.appiconset/reFilc_Logo.png b/filcnaplo/ios/livecard/Assets.xcassets/AppIcon.appiconset/reFilc_Logo.png
deleted file mode 100644
index fad3d44..0000000
Binary files a/filcnaplo/ios/livecard/Assets.xcassets/AppIcon.appiconset/reFilc_Logo.png and /dev/null differ
diff --git a/filcnaplo/ios/livecard/Assets.xcassets/Contents.json b/filcnaplo/ios/livecard/Assets.xcassets/Contents.json
deleted file mode 100644
index b2cf395..0000000
--- a/filcnaplo/ios/livecard/Assets.xcassets/Contents.json
+++ /dev/null
@@ -1,6 +0,0 @@
-{
- "info" : {
- "author" : "xcode",
- "version" : 1
- }
-}
diff --git a/filcnaplo/ios/livecard/Assets.xcassets/WidgetBackground.colorset/Contents.json b/filcnaplo/ios/livecard/Assets.xcassets/WidgetBackground.colorset/Contents.json
deleted file mode 100644
index 78e16c0..0000000
--- a/filcnaplo/ios/livecard/Assets.xcassets/WidgetBackground.colorset/Contents.json
+++ /dev/null
@@ -1,11 +0,0 @@
-{
- "colors" : [
- {
- "idiom" : "universal"
- }
- ],
- "info" : {
- "author" : "xcode",
- "version" : 1
- }
-}
diff --git a/filcnaplo/ios/livecard/Info.plist b/filcnaplo/ios/livecard/Info.plist
deleted file mode 100644
index 0f118fb..0000000
--- a/filcnaplo/ios/livecard/Info.plist
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
-
- NSExtension
-
- NSExtensionPointIdentifier
- com.apple.widgetkit-extension
-
-
-
diff --git a/filcnaplo/ios/livecard/lesson_model.swift b/filcnaplo/ios/livecard/lesson_model.swift
deleted file mode 100644
index 3f9e2d0..0000000
--- a/filcnaplo/ios/livecard/lesson_model.swift
+++ /dev/null
@@ -1,31 +0,0 @@
-import Foundation
-
-class LessonData {
- var color: String
- var icon: String
- var index: String
- var title: String
- var subtitle: String
- var description: String
- var startDate: Date
- var endDate: Date
- var date: ClosedRange
- var nextSubject: String
- var nextRoom: String
-
- init?() {
- let sharedDefault = UserDefaults(suiteName: "group.refilc2.livecard")!
-
- self.color = sharedDefault.string(forKey: "color")!
- self.icon = sharedDefault.string(forKey: "icon")!
- self.index = sharedDefault.string(forKey: "index")!
- self.title = sharedDefault.string(forKey: "title")!
- self.subtitle = sharedDefault.string(forKey: "subtitle")!
- self.description = sharedDefault.string(forKey: "description")!
- self.startDate = Date(timeIntervalSince1970: Double(sharedDefault.string(forKey: "startDate")!)! / 1000)
- self.endDate = Date(timeIntervalSince1970: Double(sharedDefault.string(forKey: "endDate")!)! / 1000)
- date = self.startDate...self.endDate
- self.nextSubject = sharedDefault.string(forKey: "nextSubject")!
- self.nextRoom = sharedDefault.string(forKey: "nextRoom")!
- }
-}
diff --git a/filcnaplo/ios/livecard/livecard.entitlements b/filcnaplo/ios/livecard/livecard.entitlements
deleted file mode 100644
index 8e1d462..0000000
--- a/filcnaplo/ios/livecard/livecard.entitlements
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
-
- aps-environment
- development
- com.apple.security.application-groups
-
- group.refilc2.livecard
-
-
-
diff --git a/filcnaplo/ios/livecard/livecard.intentdefinition b/filcnaplo/ios/livecard/livecard.intentdefinition
deleted file mode 100644
index b3d4023..0000000
--- a/filcnaplo/ios/livecard/livecard.intentdefinition
+++ /dev/null
@@ -1,59 +0,0 @@
-
-
-
-
- INEnums
-
- INIntentDefinitionModelVersion
- 1.2
- INIntentDefinitionNamespace
- 88xZPY
- INIntentDefinitionSystemVersion
- 20A294
- INIntentDefinitionToolsBuildVersion
- 12A6144
- INIntentDefinitionToolsVersion
- 12.0
- INIntents
-
-
- INIntentCategory
- information
- INIntentDescriptionID
- tVvJ9c
- INIntentEligibleForWidgets
-
- INIntentIneligibleForSuggestions
-
- INIntentName
- Configuration
- INIntentResponse
-
- INIntentResponseCodes
-
-
- INIntentResponseCodeName
- success
- INIntentResponseCodeSuccess
-
-
-
- INIntentResponseCodeName
- failure
-
-
-
- INIntentTitle
- Configuration
- INIntentTitleID
- gpCwrM
- INIntentType
- Custom
- INIntentVerb
- View
-
-
- INTypes
-
-
-
diff --git a/filcnaplo/ios/livecard/livecard.swift b/filcnaplo/ios/livecard/livecard.swift
deleted file mode 100644
index f873311..0000000
--- a/filcnaplo/ios/livecard/livecard.swift
+++ /dev/null
@@ -1,205 +0,0 @@
-import ActivityKit
-import WidgetKit
-import SwiftUI
-
-@main
-struct Widgets: WidgetBundle {
- var body: some Widget {
- if #available(iOS 16.1, *) {
- LiveCardWidget()
- }
- }
-}
-
-// Color Converter
-extension Color {
- init(hex: String, alpha: Double = 1.0) {
- var hexValue = hex.trimmingCharacters(in: .whitespacesAndNewlines).uppercased()
-
- if hexValue.hasPrefix("#") {
- hexValue.remove(at: hexValue.startIndex)
- }
-
- var rgbValue: UInt64 = 0
- Scanner(string: hexValue).scanHexInt64(&rgbValue)
-
- let red = Double((rgbValue & 0xFF0000) >> 16) / 255.0
- let green = Double((rgbValue & 0x00FF00) >> 8) / 255.0
- let blue = Double(rgbValue & 0x0000FF) / 255.0
-
- self.init(
- .sRGB,
- red: red,
- green: green,
- blue: blue,
- opacity: alpha
- )
- }
-}
-
-
-// We need to redefined live activities pipe
-struct LiveActivitiesAppAttributes: ActivityAttributes, Identifiable {
- public struct ContentState: Codable, Hashable { }
-
- var id = UUID()
-}
-
-struct LockScreenLiveActivityView: View {
- let context: ActivityViewContext
-
- let lesson = LessonData()
-
- var body: some View {
- HStack(alignment: .center) {
- Image(systemName: lesson!.icon)
- .resizable()
- .aspectRatio(contentMode: .fit)
- .frame(width: CGFloat(30), height: CGFloat(30))
- .padding(.leading, CGFloat(24))
-
- VStack(alignment: .leading) {
- HStack(alignment: .center) {
- Text(lesson!.index + lesson!.title)
- .font(.title3)
- .bold()
-
- Text(lesson!.subtitle)
- .font(.subheadline)
- .padding(.trailing, 12)
- }
-
- if (lesson!.description != "") {
- Text(lesson!.description)
- .font(.subheadline)
- }
-
- HStack {
- Image(systemName: "arrow.right")
- .resizable()
- .aspectRatio(contentMode: .fit)
- .frame(width: CGFloat(8), height: CGFloat(8))
- Text(lesson!.nextSubject)
- .font(.caption)
- Text(lesson!.nextRoom)
- .font(.caption2)
- }
- }.padding(15)
-
- Spacer()
-
- Text(timerInterval: lesson!.date, countsDown: true)
- .multilineTextAlignment(.center)
- .frame(width: 85)
- .font(.title2)
- .monospacedDigit()
- .padding(.trailing, CGFloat(24))
- }
- .activityBackgroundTint(
- lesson!.color != "#676767"
- ? Color(hex: lesson!.color)
- // Ha nem megy hat nem megy
- : Color.clear
- )
- }
-}
-
-@available(iOSApplicationExtension 16.1, *)
-struct LiveCardWidget: Widget {
- var body: some WidgetConfiguration {
- /// Live Activity Notification
- ActivityConfiguration(for: LiveActivitiesAppAttributes.self) { context in
- LockScreenLiveActivityView(context: context)
- /// Dynamic Island
- } dynamicIsland: { context in
- let lesson = LessonData()
-
- /// Expanded
- return DynamicIsland {
- DynamicIslandExpandedRegion(.leading) {
- VStack {
- Spacer()
- ProgressView(
- timerInterval: lesson!.date,
- countsDown: true,
- label: {
- Image(systemName: lesson!.icon)
- .resizable()
- .aspectRatio(contentMode: .fit)
- .frame(width: CGFloat(32), height: CGFloat(32))
- },
- currentValueLabel: {
- Image(systemName: lesson!.icon)
- .resizable()
- .aspectRatio(contentMode: .fit)
- .frame(width: CGFloat(32), height: CGFloat(32))
- }
- ).progressViewStyle(.circular)
- }
- }
- DynamicIslandExpandedRegion(.center) {
- VStack(alignment: .leading) {
- Text(lesson!.index + lesson!.title)
- .lineLimit(1)
- .font(.title3)
- .bold()
-
- Text(lesson!.description)
- .lineLimit(2)
- .font(.caption)
- }.padding(EdgeInsets(top: 0.0, leading: 5.0, bottom: 0.0, trailing: 0.0))
- }
- DynamicIslandExpandedRegion(.trailing) {
- VStack {
- Spacer()
- Text(lesson!.subtitle)
- .lineLimit(1)
- .font(.subheadline)
- Spacer()
- }
- }
-
- /// Compact
- } compactLeading: {
- Label {
- Text(lesson!.title)
- } icon: {
- Image(systemName: lesson!.icon)
- }
- .font(.caption2)
- }
- compactTrailing: {
- Text(timerInterval: lesson!.date, countsDown: true)
- .multilineTextAlignment(.center)
- .frame(width: 40)
- .font(.caption2)
-
- /// Collapsed
- } minimal: {
- VStack(alignment: .center, content: {
- ProgressView(
- timerInterval: lesson!.date,
- countsDown: true,
- label: {
- Image(systemName: lesson!.icon)
- .resizable()
- .aspectRatio(contentMode: .fit)
- .frame(width: CGFloat(12), height: CGFloat(12))
- },
- currentValueLabel: {
- Image(systemName: lesson!.icon)
- .resizable()
- .aspectRatio(contentMode: .fit)
- .frame(width: CGFloat(12), height: CGFloat(12))
- }
- ).progressViewStyle(.circular)
- })
- }
- .keylineTint(
- lesson!.color != "#676767"
- ? Color(hex: lesson!.color)
- : Color.clear
- )
- }
- }
-}
diff --git a/filcnaplo/lib/ui/filter/widgets/absences.dart b/filcnaplo/lib/ui/filter/widgets/absences.dart
deleted file mode 100644
index 4e4748d..0000000
--- a/filcnaplo/lib/ui/filter/widgets/absences.dart
+++ /dev/null
@@ -1,15 +0,0 @@
-import 'package:filcnaplo/ui/date_widget.dart';
-import 'package:filcnaplo_kreta_api/models/absence.dart';
-import 'package:filcnaplo_mobile_ui/common/widgets/absence/absence_viewable.dart' as mobile;
-
-List getWidgets(List providerAbsences, {bool noExcused = false}) {
- List items = [];
- providerAbsences.where((a) => !noExcused || a.state != Justification.excused).forEach((absence) {
- items.add(DateWidget(
- key: absence.id,
- date: absence.date,
- widget: mobile.AbsenceViewable(absence),
- ));
- });
- return items;
-}
diff --git a/filcnaplo/lib/ui/filter/widgets/lessons.dart b/filcnaplo/lib/ui/filter/widgets/lessons.dart
deleted file mode 100644
index 676126a..0000000
--- a/filcnaplo/lib/ui/filter/widgets/lessons.dart
+++ /dev/null
@@ -1,15 +0,0 @@
-import 'package:filcnaplo/ui/date_widget.dart';
-import 'package:filcnaplo_kreta_api/models/lesson.dart';
-import 'package:filcnaplo_mobile_ui/common/widgets/lesson/changed_lesson_viewable.dart' as mobile;
-
-List getWidgets(List providerLessons) {
- List items = [];
- providerLessons.where((l) => l.isChanged && l.start.isAfter(DateTime.now())).forEach((lesson) {
- items.add(DateWidget(
- key: lesson.id,
- date: DateTime(lesson.date.year, lesson.date.month, lesson.date.day, lesson.start.hour, lesson.start.minute),
- widget: mobile.ChangedLessonViewable(lesson),
- ));
- });
- return items;
-}
diff --git a/filcnaplo/lib/ui/filter/widgets/messages.dart b/filcnaplo/lib/ui/filter/widgets/messages.dart
deleted file mode 100644
index 4181ce7..0000000
--- a/filcnaplo/lib/ui/filter/widgets/messages.dart
+++ /dev/null
@@ -1,23 +0,0 @@
-import 'package:filcnaplo/ui/date_widget.dart';
-import 'package:filcnaplo/ui/filter/widgets/notes.dart' as note_filter;
-import 'package:filcnaplo/ui/filter/widgets/events.dart' as event_filter;
-import 'package:filcnaplo_kreta_api/models/event.dart';
-import 'package:filcnaplo_kreta_api/models/message.dart';
-import 'package:filcnaplo_kreta_api/models/note.dart';
-import 'package:filcnaplo_mobile_ui/common/widgets/message/message_viewable.dart' as mobile;
-
-List getWidgets(List providerMessages, List providerNotes, List providerEvents) {
- List items = [];
- for (var message in providerMessages) {
- if (message.type == MessageType.inbox) {
- items.add(DateWidget(
- key: "${message.id}",
- date: message.date,
- widget: mobile.MessageViewable(message),
- ));
- }
- }
- items.addAll(note_filter.getWidgets(providerNotes));
- items.addAll(event_filter.getWidgets(providerEvents));
- return items;
-}
diff --git a/filcnaplo/lib/ui/filter/widgets/update.dart b/filcnaplo/lib/ui/filter/widgets/update.dart
deleted file mode 100644
index 6b35e63..0000000
--- a/filcnaplo/lib/ui/filter/widgets/update.dart
+++ /dev/null
@@ -1,10 +0,0 @@
-import 'package:filcnaplo/models/release.dart';
-import 'package:filcnaplo/ui/date_widget.dart';
-import 'package:filcnaplo_mobile_ui/common/widgets/update/update_viewable.dart' as mobile;
-
-DateWidget getWidget(Release providerRelease) {
- return DateWidget(
- date: DateTime.now(),
- widget: mobile.UpdateViewable(providerRelease),
- );
-}
diff --git a/filcnaplo/lib/utils/reverse_search.dart b/filcnaplo/lib/utils/reverse_search.dart
deleted file mode 100644
index e313937..0000000
--- a/filcnaplo/lib/utils/reverse_search.dart
+++ /dev/null
@@ -1,38 +0,0 @@
-import 'dart:developer';
-
-import 'package:filcnaplo_kreta_api/models/absence.dart';
-import 'package:filcnaplo_kreta_api/models/lesson.dart';
-import 'package:filcnaplo_kreta_api/models/week.dart';
-import 'package:filcnaplo_kreta_api/providers/timetable_provider.dart';
-import 'package:flutter/cupertino.dart';
-import 'package:provider/provider.dart';
-
-class ReverseSearch {
- static Future getLessonByAbsence(Absence absence, BuildContext context) async {
- final timetableProvider = Provider.of(context, listen: false);
-
- List lessons = [];
- final week = Week.fromDate(absence.date);
- try {
- await timetableProvider.fetch(week: week);
- } catch (e) {
- log("[ERROR] getLessonByAbsence: $e");
- }
- lessons = timetableProvider.getWeek(week) ?? [];
-
- // Find absence lesson in timetable
- Lesson lesson = lessons.firstWhere(
- (l) => _sameDate(l.date, absence.date) && l.subject.id == absence.subject.id && l.lessonIndex == absence.lessonIndex.toString(),
- orElse: () => Lesson.fromJson({'isEmpty': true}),
- );
-
- if (lesson.isEmpty) {
- return null;
- } else {
- return lesson;
- }
- }
-
- // difference.inDays is not reliable
- static bool _sameDate(DateTime a, DateTime b) => (a.year == b.year && a.month == b.month && a.day == b.day);
-}
diff --git a/filcnaplo/linux/filcnaplo.desktop b/filcnaplo/linux/filcnaplo.desktop
deleted file mode 100755
index deaa024..0000000
--- a/filcnaplo/linux/filcnaplo.desktop
+++ /dev/null
@@ -1,8 +0,0 @@
- [Desktop Entry]
- Name=reFilc
- Comment=Nem hivatalos e-napló alkalmazás az eKRÉTA rendszerhez
- Exec=filcnaplo
- Icon=icon.png
- Terminal=false
- Type=Application
- Categories=Education;
\ No newline at end of file
diff --git a/filcnaplo/linux/icon.png b/filcnaplo/linux/icon.png
deleted file mode 100644
index 90d1850..0000000
Binary files a/filcnaplo/linux/icon.png and /dev/null differ
diff --git a/filcnaplo/linux/main.cc b/filcnaplo/linux/main.cc
deleted file mode 100644
index 4340ffc..0000000
--- a/filcnaplo/linux/main.cc
+++ /dev/null
@@ -1,6 +0,0 @@
-#include "my_application.h"
-
-int main(int argc, char** argv) {
- g_autoptr(MyApplication) app = my_application_new();
- return g_application_run(G_APPLICATION(app), argc, argv);
-}
diff --git a/filcnaplo/linux/my_application.cc b/filcnaplo/linux/my_application.cc
deleted file mode 100644
index bf8512c..0000000
--- a/filcnaplo/linux/my_application.cc
+++ /dev/null
@@ -1,104 +0,0 @@
-#include "my_application.h"
-
-#include
-#ifdef GDK_WINDOWING_X11
-#include
-#endif
-
-#include "flutter/generated_plugin_registrant.h"
-
-struct _MyApplication {
- GtkApplication parent_instance;
- char** dart_entrypoint_arguments;
-};
-
-G_DEFINE_TYPE(MyApplication, my_application, GTK_TYPE_APPLICATION)
-
-// Implements GApplication::activate.
-static void my_application_activate(GApplication* application) {
- MyApplication* self = MY_APPLICATION(application);
- GtkWindow* window =
- GTK_WINDOW(gtk_application_window_new(GTK_APPLICATION(application)));
-
- // Use a header bar when running in GNOME as this is the common style used
- // by applications and is the setup most users will be using (e.g. Ubuntu
- // desktop).
- // If running on X and not using GNOME then just use a traditional title bar
- // in case the window manager does more exotic layout, e.g. tiling.
- // If running on Wayland assume the header bar will work (may need changing
- // if future cases occur).
- gboolean use_header_bar = TRUE;
-#ifdef GDK_WINDOWING_X11
- GdkScreen* screen = gtk_window_get_screen(window);
- if (GDK_IS_X11_SCREEN(screen)) {
- const gchar* wm_name = gdk_x11_screen_get_window_manager_name(screen);
- if (g_strcmp0(wm_name, "GNOME Shell") != 0) {
- use_header_bar = FALSE;
- }
- }
-#endif
- if (use_header_bar) {
- GtkHeaderBar* header_bar = GTK_HEADER_BAR(gtk_header_bar_new());
- gtk_widget_show(GTK_WIDGET(header_bar));
- gtk_header_bar_set_title(header_bar, "reFilc");
- gtk_header_bar_set_show_close_button(header_bar, TRUE);
- gtk_window_set_titlebar(window, GTK_WIDGET(header_bar));
- } else {
- gtk_window_set_title(window, "reFilc");
- }
-
- gtk_window_set_default_size(window, 1280, 720);
- gtk_widget_show(GTK_WIDGET(window));
-
- g_autoptr(FlDartProject) project = fl_dart_project_new();
- fl_dart_project_set_dart_entrypoint_arguments(project, self->dart_entrypoint_arguments);
-
- FlView* view = fl_view_new(project);
- gtk_widget_show(GTK_WIDGET(view));
- gtk_container_add(GTK_CONTAINER(window), GTK_WIDGET(view));
-
- fl_register_plugins(FL_PLUGIN_REGISTRY(view));
-
- gtk_widget_grab_focus(GTK_WIDGET(view));
-}
-
-// Implements GApplication::local_command_line.
-static gboolean my_application_local_command_line(GApplication* application, gchar*** arguments, int* exit_status) {
- MyApplication* self = MY_APPLICATION(application);
- // Strip out the first argument as it is the binary name.
- self->dart_entrypoint_arguments = g_strdupv(*arguments + 1);
-
- g_autoptr(GError) error = nullptr;
- if (!g_application_register(application, nullptr, &error)) {
- g_warning("Failed to register: %s", error->message);
- *exit_status = 1;
- return TRUE;
- }
-
- g_application_activate(application);
- *exit_status = 0;
-
- return TRUE;
-}
-
-// Implements GObject::dispose.
-static void my_application_dispose(GObject* object) {
- MyApplication* self = MY_APPLICATION(object);
- g_clear_pointer(&self->dart_entrypoint_arguments, g_strfreev);
- G_OBJECT_CLASS(my_application_parent_class)->dispose(object);
-}
-
-static void my_application_class_init(MyApplicationClass* klass) {
- G_APPLICATION_CLASS(klass)->activate = my_application_activate;
- G_APPLICATION_CLASS(klass)->local_command_line = my_application_local_command_line;
- G_OBJECT_CLASS(klass)->dispose = my_application_dispose;
-}
-
-static void my_application_init(MyApplication* self) {}
-
-MyApplication* my_application_new() {
- return MY_APPLICATION(g_object_new(my_application_get_type(),
- "application-id", APPLICATION_ID,
- "flags", G_APPLICATION_NON_UNIQUE,
- nullptr));
-}
diff --git a/filcnaplo/linux/my_application.h b/filcnaplo/linux/my_application.h
deleted file mode 100644
index 8f20fb5..0000000
--- a/filcnaplo/linux/my_application.h
+++ /dev/null
@@ -1,18 +0,0 @@
-#ifndef FLUTTER_MY_APPLICATION_H_
-#define FLUTTER_MY_APPLICATION_H_
-
-#include
-
-G_DECLARE_FINAL_TYPE(MyApplication, my_application, MY, APPLICATION,
- GtkApplication)
-
-/**
- * my_application_new:
- *
- * Creates a new Flutter-based application.
- *
- * Returns: a new #MyApplication.
- */
-MyApplication* my_application_new();
-
-#endif // FLUTTER_MY_APPLICATION_H_
diff --git a/filcnaplo/macos/Podfile b/filcnaplo/macos/Podfile
deleted file mode 100644
index 049abe2..0000000
--- a/filcnaplo/macos/Podfile
+++ /dev/null
@@ -1,40 +0,0 @@
-platform :osx, '10.14'
-
-# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
-ENV['COCOAPODS_DISABLE_STATS'] = 'true'
-
-project 'Runner', {
- 'Debug' => :debug,
- 'Profile' => :release,
- 'Release' => :release,
-}
-
-def flutter_root
- generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'ephemeral', 'Flutter-Generated.xcconfig'), __FILE__)
- unless File.exist?(generated_xcode_build_settings_path)
- raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure \"flutter pub get\" is executed first"
- end
-
- File.foreach(generated_xcode_build_settings_path) do |line|
- matches = line.match(/FLUTTER_ROOT\=(.*)/)
- return matches[1].strip if matches
- end
- raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Flutter-Generated.xcconfig, then run \"flutter pub get\""
-end
-
-require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root)
-
-flutter_macos_podfile_setup
-
-target 'Runner' do
- use_frameworks!
- use_modular_headers!
-
- flutter_install_all_macos_pods File.dirname(File.realpath(__FILE__))
-end
-
-post_install do |installer|
- installer.pods_project.targets.each do |target|
- flutter_additional_macos_build_settings(target)
- end
-end
diff --git a/filcnaplo/macos/Runner.xcodeproj/project.pbxproj b/filcnaplo/macos/Runner.xcodeproj/project.pbxproj
deleted file mode 100644
index 61c33df..0000000
--- a/filcnaplo/macos/Runner.xcodeproj/project.pbxproj
+++ /dev/null
@@ -1,670 +0,0 @@
-// !$*UTF8*$!
-{
- archiveVersion = 1;
- classes = {
- };
- objectVersion = 54;
- objects = {
-
-/* Begin PBXAggregateTarget section */
- 33CC111A2044C6BA0003C045 /* Flutter Assemble */ = {
- isa = PBXAggregateTarget;
- buildConfigurationList = 33CC111B2044C6BA0003C045 /* Build configuration list for PBXAggregateTarget "Flutter Assemble" */;
- buildPhases = (
- 33CC111E2044C6BF0003C045 /* ShellScript */,
- );
- dependencies = (
- );
- name = "Flutter Assemble";
- productName = FLX;
- };
-/* End PBXAggregateTarget section */
-
-/* Begin PBXBuildFile section */
- 335BBD1B22A9A15E00E9071D /* GeneratedPluginRegistrant.swift in Sources */ = {isa = PBXBuildFile; fileRef = 335BBD1A22A9A15E00E9071D /* GeneratedPluginRegistrant.swift */; };
- 33CC10F12044A3C60003C045 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 33CC10F02044A3C60003C045 /* AppDelegate.swift */; };
- 33CC10F32044A3C60003C045 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 33CC10F22044A3C60003C045 /* Assets.xcassets */; };
- 33CC10F62044A3C60003C045 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 33CC10F42044A3C60003C045 /* MainMenu.xib */; };
- 33CC11132044BFA00003C045 /* MainFlutterWindow.swift in Sources */ = {isa = PBXBuildFile; fileRef = 33CC11122044BFA00003C045 /* MainFlutterWindow.swift */; };
- 43DE217EE63035454211B258 /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8BB026B00EBE728C695C538A /* Pods_Runner.framework */; };
-/* End PBXBuildFile section */
-
-/* Begin PBXContainerItemProxy section */
- 33CC111F2044C79F0003C045 /* PBXContainerItemProxy */ = {
- isa = PBXContainerItemProxy;
- containerPortal = 33CC10E52044A3C60003C045 /* Project object */;
- proxyType = 1;
- remoteGlobalIDString = 33CC111A2044C6BA0003C045;
- remoteInfo = FLX;
- };
-/* End PBXContainerItemProxy section */
-
-/* Begin PBXCopyFilesBuildPhase section */
- 33CC110E2044A8840003C045 /* Bundle Framework */ = {
- isa = PBXCopyFilesBuildPhase;
- buildActionMask = 2147483647;
- dstPath = "";
- dstSubfolderSpec = 10;
- files = (
- );
- name = "Bundle Framework";
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXCopyFilesBuildPhase section */
-
-/* Begin PBXFileReference section */
- 333000ED22D3DE5D00554162 /* Warnings.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Warnings.xcconfig; sourceTree = ""; };
- 335BBD1A22A9A15E00E9071D /* GeneratedPluginRegistrant.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GeneratedPluginRegistrant.swift; sourceTree = ""; };
- 33CC10ED2044A3C60003C045 /* Felt Diary.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Felt Diary.app"; sourceTree = BUILT_PRODUCTS_DIR; };
- 33CC10F02044A3C60003C045 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; };
- 33CC10F22044A3C60003C045 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Assets.xcassets; path = Runner/Assets.xcassets; sourceTree = ""; };
- 33CC10F52044A3C60003C045 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/MainMenu.xib; sourceTree = ""; };
- 33CC10F72044A3C60003C045 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = Info.plist; path = Runner/Info.plist; sourceTree = ""; };
- 33CC11122044BFA00003C045 /* MainFlutterWindow.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MainFlutterWindow.swift; sourceTree = ""; };
- 33CEB47222A05771004F2AC0 /* Flutter-Debug.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = "Flutter-Debug.xcconfig"; sourceTree = ""; };
- 33CEB47422A05771004F2AC0 /* Flutter-Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = "Flutter-Release.xcconfig"; sourceTree = ""; };
- 33CEB47722A0578A004F2AC0 /* Flutter-Generated.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = "Flutter-Generated.xcconfig"; path = "ephemeral/Flutter-Generated.xcconfig"; sourceTree = ""; };
- 33E51913231747F40026EE4D /* DebugProfile.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = DebugProfile.entitlements; sourceTree = ""; };
- 33E51914231749380026EE4D /* Release.entitlements */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.entitlements; path = Release.entitlements; sourceTree = ""; };
- 33E5194F232828860026EE4D /* AppInfo.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = AppInfo.xcconfig; sourceTree = ""; };
- 72E0977D2D8959666A33F54C /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = ""; };
- 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Release.xcconfig; sourceTree = ""; };
- 8BB026B00EBE728C695C538A /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; };
- 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = Debug.xcconfig; sourceTree = ""; };
- 9C848561CA407DAFCC1F5699 /* Pods-Runner.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.profile.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"; sourceTree = ""; };
- C200D9112D0A790C324733AA /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = ""; };
-/* End PBXFileReference section */
-
-/* Begin PBXFrameworksBuildPhase section */
- 33CC10EA2044A3C60003C045 /* Frameworks */ = {
- isa = PBXFrameworksBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 43DE217EE63035454211B258 /* Pods_Runner.framework in Frameworks */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXFrameworksBuildPhase section */
-
-/* Begin PBXGroup section */
- 33BA886A226E78AF003329D5 /* Configs */ = {
- isa = PBXGroup;
- children = (
- 33E5194F232828860026EE4D /* AppInfo.xcconfig */,
- 9740EEB21CF90195004384FC /* Debug.xcconfig */,
- 7AFA3C8E1D35360C0083082E /* Release.xcconfig */,
- 333000ED22D3DE5D00554162 /* Warnings.xcconfig */,
- );
- path = Configs;
- sourceTree = "";
- };
- 33CC10E42044A3C60003C045 = {
- isa = PBXGroup;
- children = (
- 33FAB671232836740065AC1E /* Runner */,
- 33CEB47122A05771004F2AC0 /* Flutter */,
- 33CC10EE2044A3C60003C045 /* Products */,
- 51085A7CB06D107E9E0B55D2 /* Pods */,
- D1EA9707C367C55447080BD3 /* Frameworks */,
- );
- sourceTree = "";
- };
- 33CC10EE2044A3C60003C045 /* Products */ = {
- isa = PBXGroup;
- children = (
- 33CC10ED2044A3C60003C045 /* Felt Diary.app */,
- );
- name = Products;
- sourceTree = "";
- };
- 33CC11242044D66E0003C045 /* Resources */ = {
- isa = PBXGroup;
- children = (
- 33CC10F22044A3C60003C045 /* Assets.xcassets */,
- 33CC10F42044A3C60003C045 /* MainMenu.xib */,
- 33CC10F72044A3C60003C045 /* Info.plist */,
- );
- name = Resources;
- path = ..;
- sourceTree = "";
- };
- 33CEB47122A05771004F2AC0 /* Flutter */ = {
- isa = PBXGroup;
- children = (
- 335BBD1A22A9A15E00E9071D /* GeneratedPluginRegistrant.swift */,
- 33CEB47222A05771004F2AC0 /* Flutter-Debug.xcconfig */,
- 33CEB47422A05771004F2AC0 /* Flutter-Release.xcconfig */,
- 33CEB47722A0578A004F2AC0 /* Flutter-Generated.xcconfig */,
- );
- path = Flutter;
- sourceTree = "";
- };
- 33FAB671232836740065AC1E /* Runner */ = {
- isa = PBXGroup;
- children = (
- 33CC10F02044A3C60003C045 /* AppDelegate.swift */,
- 33CC11122044BFA00003C045 /* MainFlutterWindow.swift */,
- 33E51913231747F40026EE4D /* DebugProfile.entitlements */,
- 33E51914231749380026EE4D /* Release.entitlements */,
- 33CC11242044D66E0003C045 /* Resources */,
- 33BA886A226E78AF003329D5 /* Configs */,
- );
- path = Runner;
- sourceTree = "";
- };
- 51085A7CB06D107E9E0B55D2 /* Pods */ = {
- isa = PBXGroup;
- children = (
- 72E0977D2D8959666A33F54C /* Pods-Runner.debug.xcconfig */,
- C200D9112D0A790C324733AA /* Pods-Runner.release.xcconfig */,
- 9C848561CA407DAFCC1F5699 /* Pods-Runner.profile.xcconfig */,
- );
- path = Pods;
- sourceTree = "";
- };
- D1EA9707C367C55447080BD3 /* Frameworks */ = {
- isa = PBXGroup;
- children = (
- 8BB026B00EBE728C695C538A /* Pods_Runner.framework */,
- );
- name = Frameworks;
- sourceTree = "";
- };
-/* End PBXGroup section */
-
-/* Begin PBXNativeTarget section */
- 33CC10EC2044A3C60003C045 /* Runner */ = {
- isa = PBXNativeTarget;
- buildConfigurationList = 33CC10FB2044A3C60003C045 /* Build configuration list for PBXNativeTarget "Runner" */;
- buildPhases = (
- FD4539A7C90013601C734851 /* [CP] Check Pods Manifest.lock */,
- 33CC10E92044A3C60003C045 /* Sources */,
- 33CC10EA2044A3C60003C045 /* Frameworks */,
- 33CC10EB2044A3C60003C045 /* Resources */,
- 33CC110E2044A8840003C045 /* Bundle Framework */,
- 3399D490228B24CF009A79C7 /* ShellScript */,
- 558B4163B66FBD35BF611538 /* [CP] Embed Pods Frameworks */,
- );
- buildRules = (
- );
- dependencies = (
- 33CC11202044C79F0003C045 /* PBXTargetDependency */,
- );
- name = Runner;
- productName = Runner;
- productReference = 33CC10ED2044A3C60003C045 /* Felt Diary.app */;
- productType = "com.apple.product-type.application";
- };
-/* End PBXNativeTarget section */
-
-/* Begin PBXProject section */
- 33CC10E52044A3C60003C045 /* Project object */ = {
- isa = PBXProject;
- attributes = {
- LastSwiftUpdateCheck = 0920;
- LastUpgradeCheck = 1300;
- ORGANIZATIONNAME = "";
- TargetAttributes = {
- 33CC10EC2044A3C60003C045 = {
- CreatedOnToolsVersion = 9.2;
- LastSwiftMigration = 1100;
- SystemCapabilities = {
- com.apple.Sandbox = {
- enabled = 1;
- };
- };
- };
- 33CC111A2044C6BA0003C045 = {
- CreatedOnToolsVersion = 9.2;
- ProvisioningStyle = Manual;
- };
- };
- };
- buildConfigurationList = 33CC10E82044A3C60003C045 /* Build configuration list for PBXProject "Runner" */;
- compatibilityVersion = "Xcode 9.3";
- developmentRegion = en;
- hasScannedForEncodings = 0;
- knownRegions = (
- en,
- Base,
- );
- mainGroup = 33CC10E42044A3C60003C045;
- productRefGroup = 33CC10EE2044A3C60003C045 /* Products */;
- projectDirPath = "";
- projectRoot = "";
- targets = (
- 33CC10EC2044A3C60003C045 /* Runner */,
- 33CC111A2044C6BA0003C045 /* Flutter Assemble */,
- );
- };
-/* End PBXProject section */
-
-/* Begin PBXResourcesBuildPhase section */
- 33CC10EB2044A3C60003C045 /* Resources */ = {
- isa = PBXResourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 33CC10F32044A3C60003C045 /* Assets.xcassets in Resources */,
- 33CC10F62044A3C60003C045 /* MainMenu.xib in Resources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXResourcesBuildPhase section */
-
-/* Begin PBXShellScriptBuildPhase section */
- 3399D490228B24CF009A79C7 /* ShellScript */ = {
- isa = PBXShellScriptBuildPhase;
- alwaysOutOfDate = 1;
- buildActionMask = 2147483647;
- files = (
- );
- inputFileListPaths = (
- );
- inputPaths = (
- );
- outputFileListPaths = (
- );
- outputPaths = (
- );
- runOnlyForDeploymentPostprocessing = 0;
- shellPath = /bin/sh;
- shellScript = "echo \"$PRODUCT_NAME.app\" > \"$PROJECT_DIR\"/Flutter/ephemeral/.app_filename && \"$FLUTTER_ROOT\"/packages/flutter_tools/bin/macos_assemble.sh embed\n";
- };
- 33CC111E2044C6BF0003C045 /* ShellScript */ = {
- isa = PBXShellScriptBuildPhase;
- buildActionMask = 2147483647;
- files = (
- );
- inputFileListPaths = (
- Flutter/ephemeral/FlutterInputs.xcfilelist,
- );
- inputPaths = (
- Flutter/ephemeral/tripwire,
- );
- outputFileListPaths = (
- Flutter/ephemeral/FlutterOutputs.xcfilelist,
- );
- outputPaths = (
- );
- runOnlyForDeploymentPostprocessing = 0;
- shellPath = /bin/sh;
- shellScript = "\"$FLUTTER_ROOT\"/packages/flutter_tools/bin/macos_assemble.sh && touch Flutter/ephemeral/tripwire";
- };
- 558B4163B66FBD35BF611538 /* [CP] Embed Pods Frameworks */ = {
- isa = PBXShellScriptBuildPhase;
- buildActionMask = 2147483647;
- files = (
- );
- inputFileListPaths = (
- "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-input-files.xcfilelist",
- );
- name = "[CP] Embed Pods Frameworks";
- outputFileListPaths = (
- "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-output-files.xcfilelist",
- );
- runOnlyForDeploymentPostprocessing = 0;
- shellPath = /bin/sh;
- shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n";
- showEnvVarsInLog = 0;
- };
- FD4539A7C90013601C734851 /* [CP] Check Pods Manifest.lock */ = {
- isa = PBXShellScriptBuildPhase;
- buildActionMask = 2147483647;
- files = (
- );
- inputFileListPaths = (
- );
- inputPaths = (
- "${PODS_PODFILE_DIR_PATH}/Podfile.lock",
- "${PODS_ROOT}/Manifest.lock",
- );
- name = "[CP] Check Pods Manifest.lock";
- outputFileListPaths = (
- );
- outputPaths = (
- "$(DERIVED_FILE_DIR)/Pods-Runner-checkManifestLockResult.txt",
- );
- runOnlyForDeploymentPostprocessing = 0;
- shellPath = /bin/sh;
- shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
- showEnvVarsInLog = 0;
- };
-/* End PBXShellScriptBuildPhase section */
-
-/* Begin PBXSourcesBuildPhase section */
- 33CC10E92044A3C60003C045 /* Sources */ = {
- isa = PBXSourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 33CC11132044BFA00003C045 /* MainFlutterWindow.swift in Sources */,
- 33CC10F12044A3C60003C045 /* AppDelegate.swift in Sources */,
- 335BBD1B22A9A15E00E9071D /* GeneratedPluginRegistrant.swift in Sources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXSourcesBuildPhase section */
-
-/* Begin PBXTargetDependency section */
- 33CC11202044C79F0003C045 /* PBXTargetDependency */ = {
- isa = PBXTargetDependency;
- target = 33CC111A2044C6BA0003C045 /* Flutter Assemble */;
- targetProxy = 33CC111F2044C79F0003C045 /* PBXContainerItemProxy */;
- };
-/* End PBXTargetDependency section */
-
-/* Begin PBXVariantGroup section */
- 33CC10F42044A3C60003C045 /* MainMenu.xib */ = {
- isa = PBXVariantGroup;
- children = (
- 33CC10F52044A3C60003C045 /* Base */,
- );
- name = MainMenu.xib;
- path = Runner;
- sourceTree = "";
- };
-/* End PBXVariantGroup section */
-
-/* Begin XCBuildConfiguration section */
- 338D0CE9231458BD00FA5F75 /* Profile */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
- buildSettings = {
- ALWAYS_SEARCH_USER_PATHS = NO;
- CLANG_ANALYZER_NONNULL = YES;
- CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
- CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
- CLANG_CXX_LIBRARY = "libc++";
- CLANG_ENABLE_MODULES = YES;
- CLANG_ENABLE_OBJC_ARC = YES;
- CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
- CLANG_WARN_BOOL_CONVERSION = YES;
- CLANG_WARN_CONSTANT_CONVERSION = YES;
- CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
- CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
- CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
- CLANG_WARN_EMPTY_BODY = YES;
- CLANG_WARN_ENUM_CONVERSION = YES;
- CLANG_WARN_INFINITE_RECURSION = YES;
- CLANG_WARN_INT_CONVERSION = YES;
- CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
- CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
- CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
- CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
- CLANG_WARN_SUSPICIOUS_MOVE = YES;
- CODE_SIGN_IDENTITY = "-";
- COPY_PHASE_STRIP = NO;
- DEAD_CODE_STRIPPING = YES;
- DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
- ENABLE_NS_ASSERTIONS = NO;
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- GCC_C_LANGUAGE_STANDARD = gnu11;
- GCC_NO_COMMON_BLOCKS = YES;
- GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
- GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
- GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
- GCC_WARN_UNUSED_FUNCTION = YES;
- GCC_WARN_UNUSED_VARIABLE = YES;
- MACOSX_DEPLOYMENT_TARGET = 10.14;
- MTL_ENABLE_DEBUG_INFO = NO;
- SDKROOT = macosx;
- SWIFT_COMPILATION_MODE = wholemodule;
- SWIFT_OPTIMIZATION_LEVEL = "-O";
- };
- name = Profile;
- };
- 338D0CEA231458BD00FA5F75 /* Profile */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = 33E5194F232828860026EE4D /* AppInfo.xcconfig */;
- buildSettings = {
- ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
- CLANG_ENABLE_MODULES = YES;
- CODE_SIGN_ENTITLEMENTS = Runner/DebugProfile.entitlements;
- CODE_SIGN_IDENTITY = "Apple Development";
- "CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development";
- CODE_SIGN_STYLE = Automatic;
- COMBINE_HIDPI_IMAGES = YES;
- DEAD_CODE_STRIPPING = YES;
- DEVELOPMENT_TEAM = MYUTW2GF6J;
- INFOPLIST_FILE = Runner/Info.plist;
- INFOPLIST_KEY_CFBundleDisplayName = "reFilc";
- INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.education";
- LD_RUNPATH_SEARCH_PATHS = (
- "$(inherited)",
- "@executable_path/../Frameworks",
- );
- MACOSX_DEPLOYMENT_TARGET = 10.14;
- NEW_SETTING = "";
- PRODUCT_BUNDLE_IDENTIFIER = hu.filc.filcnaplo;
- PRODUCT_NAME = "Felt Diary";
- PROVISIONING_PROFILE_SPECIFIER = "";
- SWIFT_VERSION = 5.0;
- };
- name = Profile;
- };
- 338D0CEB231458BD00FA5F75 /* Profile */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- CODE_SIGN_STYLE = Manual;
- DEAD_CODE_STRIPPING = YES;
- MACOSX_DEPLOYMENT_TARGET = 10.14;
- PRODUCT_NAME = "$(TARGET_NAME)";
- };
- name = Profile;
- };
- 33CC10F92044A3C60003C045 /* Debug */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */;
- buildSettings = {
- ALWAYS_SEARCH_USER_PATHS = NO;
- CLANG_ANALYZER_NONNULL = YES;
- CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
- CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
- CLANG_CXX_LIBRARY = "libc++";
- CLANG_ENABLE_MODULES = YES;
- CLANG_ENABLE_OBJC_ARC = YES;
- CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
- CLANG_WARN_BOOL_CONVERSION = YES;
- CLANG_WARN_CONSTANT_CONVERSION = YES;
- CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
- CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
- CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
- CLANG_WARN_EMPTY_BODY = YES;
- CLANG_WARN_ENUM_CONVERSION = YES;
- CLANG_WARN_INFINITE_RECURSION = YES;
- CLANG_WARN_INT_CONVERSION = YES;
- CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
- CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
- CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
- CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
- CLANG_WARN_SUSPICIOUS_MOVE = YES;
- CODE_SIGN_IDENTITY = "-";
- COPY_PHASE_STRIP = NO;
- DEAD_CODE_STRIPPING = YES;
- DEBUG_INFORMATION_FORMAT = dwarf;
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- ENABLE_TESTABILITY = YES;
- GCC_C_LANGUAGE_STANDARD = gnu11;
- GCC_DYNAMIC_NO_PIC = NO;
- GCC_NO_COMMON_BLOCKS = YES;
- GCC_OPTIMIZATION_LEVEL = 0;
- GCC_PREPROCESSOR_DEFINITIONS = (
- "DEBUG=1",
- "$(inherited)",
- );
- GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
- GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
- GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
- GCC_WARN_UNUSED_FUNCTION = YES;
- GCC_WARN_UNUSED_VARIABLE = YES;
- MACOSX_DEPLOYMENT_TARGET = 10.14;
- MTL_ENABLE_DEBUG_INFO = YES;
- ONLY_ACTIVE_ARCH = YES;
- SDKROOT = macosx;
- SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
- SWIFT_OPTIMIZATION_LEVEL = "-Onone";
- };
- name = Debug;
- };
- 33CC10FA2044A3C60003C045 /* Release */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
- buildSettings = {
- ALWAYS_SEARCH_USER_PATHS = NO;
- CLANG_ANALYZER_NONNULL = YES;
- CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
- CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
- CLANG_CXX_LIBRARY = "libc++";
- CLANG_ENABLE_MODULES = YES;
- CLANG_ENABLE_OBJC_ARC = YES;
- CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
- CLANG_WARN_BOOL_CONVERSION = YES;
- CLANG_WARN_CONSTANT_CONVERSION = YES;
- CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
- CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
- CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
- CLANG_WARN_EMPTY_BODY = YES;
- CLANG_WARN_ENUM_CONVERSION = YES;
- CLANG_WARN_INFINITE_RECURSION = YES;
- CLANG_WARN_INT_CONVERSION = YES;
- CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
- CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
- CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
- CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
- CLANG_WARN_SUSPICIOUS_MOVE = YES;
- CODE_SIGN_IDENTITY = "-";
- COPY_PHASE_STRIP = NO;
- DEAD_CODE_STRIPPING = YES;
- DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
- ENABLE_NS_ASSERTIONS = NO;
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- GCC_C_LANGUAGE_STANDARD = gnu11;
- GCC_NO_COMMON_BLOCKS = YES;
- GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
- GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
- GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
- GCC_WARN_UNUSED_FUNCTION = YES;
- GCC_WARN_UNUSED_VARIABLE = YES;
- MACOSX_DEPLOYMENT_TARGET = 10.14;
- MTL_ENABLE_DEBUG_INFO = NO;
- SDKROOT = macosx;
- SWIFT_COMPILATION_MODE = wholemodule;
- SWIFT_OPTIMIZATION_LEVEL = "-O";
- };
- name = Release;
- };
- 33CC10FC2044A3C60003C045 /* Debug */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = 33E5194F232828860026EE4D /* AppInfo.xcconfig */;
- buildSettings = {
- ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
- CLANG_ENABLE_MODULES = YES;
- CODE_SIGN_ENTITLEMENTS = Runner/DebugProfile.entitlements;
- CODE_SIGN_IDENTITY = "Apple Development";
- "CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development";
- CODE_SIGN_STYLE = Automatic;
- COMBINE_HIDPI_IMAGES = YES;
- DEAD_CODE_STRIPPING = YES;
- DEVELOPMENT_TEAM = MYUTW2GF6J;
- INFOPLIST_FILE = Runner/Info.plist;
- INFOPLIST_KEY_CFBundleDisplayName = "reFilc";
- INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.education";
- LD_RUNPATH_SEARCH_PATHS = (
- "$(inherited)",
- "@executable_path/../Frameworks",
- );
- MACOSX_DEPLOYMENT_TARGET = 10.14;
- NEW_SETTING = "";
- PRODUCT_BUNDLE_IDENTIFIER = hu.filc.filcnaplo;
- PRODUCT_NAME = "Felt Diary";
- PROVISIONING_PROFILE_SPECIFIER = "";
- SWIFT_OPTIMIZATION_LEVEL = "-Onone";
- SWIFT_VERSION = 5.0;
- };
- name = Debug;
- };
- 33CC10FD2044A3C60003C045 /* Release */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = 33E5194F232828860026EE4D /* AppInfo.xcconfig */;
- buildSettings = {
- ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
- CLANG_ENABLE_MODULES = YES;
- CODE_SIGN_ENTITLEMENTS = Runner/Release.entitlements;
- CODE_SIGN_IDENTITY = "Apple Development";
- "CODE_SIGN_IDENTITY[sdk=macosx*]" = "Apple Development";
- CODE_SIGN_STYLE = Automatic;
- COMBINE_HIDPI_IMAGES = YES;
- DEAD_CODE_STRIPPING = YES;
- DEVELOPMENT_TEAM = MYUTW2GF6J;
- INFOPLIST_FILE = Runner/Info.plist;
- INFOPLIST_KEY_CFBundleDisplayName = "reFilc";
- INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.education";
- LD_RUNPATH_SEARCH_PATHS = (
- "$(inherited)",
- "@executable_path/../Frameworks",
- );
- MACOSX_DEPLOYMENT_TARGET = 10.14;
- NEW_SETTING = "";
- PRODUCT_BUNDLE_IDENTIFIER = hu.filc.filcnaplo;
- PRODUCT_NAME = "Felt Diary";
- PROVISIONING_PROFILE_SPECIFIER = "";
- SWIFT_VERSION = 5.0;
- };
- name = Release;
- };
- 33CC111C2044C6BA0003C045 /* Debug */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- CODE_SIGN_STYLE = Manual;
- DEAD_CODE_STRIPPING = YES;
- MACOSX_DEPLOYMENT_TARGET = 10.14;
- PRODUCT_NAME = "$(TARGET_NAME)";
- };
- name = Debug;
- };
- 33CC111D2044C6BA0003C045 /* Release */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- CODE_SIGN_STYLE = Automatic;
- DEAD_CODE_STRIPPING = YES;
- MACOSX_DEPLOYMENT_TARGET = 10.14;
- PRODUCT_NAME = "$(TARGET_NAME)";
- };
- name = Release;
- };
-/* End XCBuildConfiguration section */
-
-/* Begin XCConfigurationList section */
- 33CC10E82044A3C60003C045 /* Build configuration list for PBXProject "Runner" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- 33CC10F92044A3C60003C045 /* Debug */,
- 33CC10FA2044A3C60003C045 /* Release */,
- 338D0CE9231458BD00FA5F75 /* Profile */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
- 33CC10FB2044A3C60003C045 /* Build configuration list for PBXNativeTarget "Runner" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- 33CC10FC2044A3C60003C045 /* Debug */,
- 33CC10FD2044A3C60003C045 /* Release */,
- 338D0CEA231458BD00FA5F75 /* Profile */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
- 33CC111B2044C6BA0003C045 /* Build configuration list for PBXAggregateTarget "Flutter Assemble" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- 33CC111C2044C6BA0003C045 /* Debug */,
- 33CC111D2044C6BA0003C045 /* Release */,
- 338D0CEB231458BD00FA5F75 /* Profile */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
-/* End XCConfigurationList section */
- };
- rootObject = 33CC10E52044A3C60003C045 /* Project object */;
-}
diff --git a/filcnaplo/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/filcnaplo/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
deleted file mode 100644
index fc6bf80..0000000
--- a/filcnaplo/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
- IDEDidComputeMac32BitWarning
-
-
-
diff --git a/filcnaplo/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/filcnaplo/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
deleted file mode 100644
index f2f63a8..0000000
--- a/filcnaplo/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
+++ /dev/null
@@ -1,87 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/filcnaplo/macos/Runner.xcworkspace/contents.xcworkspacedata b/filcnaplo/macos/Runner.xcworkspace/contents.xcworkspacedata
deleted file mode 100644
index 17ccc03..0000000
--- a/filcnaplo/macos/Runner.xcworkspace/contents.xcworkspacedata
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
diff --git a/filcnaplo/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/filcnaplo/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
deleted file mode 100644
index fc6bf80..0000000
--- a/filcnaplo/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
- IDEDidComputeMac32BitWarning
-
-
-
diff --git a/filcnaplo/macos/Runner/AppDelegate.swift b/filcnaplo/macos/Runner/AppDelegate.swift
deleted file mode 100644
index 553a135..0000000
--- a/filcnaplo/macos/Runner/AppDelegate.swift
+++ /dev/null
@@ -1,9 +0,0 @@
-import Cocoa
-import FlutterMacOS
-
-@NSApplicationMain
-class AppDelegate: FlutterAppDelegate {
- override func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool {
- return true
- }
-}
diff --git a/filcnaplo/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json b/filcnaplo/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json
deleted file mode 100644
index 8d4e7cb..0000000
--- a/filcnaplo/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json
+++ /dev/null
@@ -1,68 +0,0 @@
-{
- "images" : [
- {
- "size" : "16x16",
- "idiom" : "mac",
- "filename" : "app_icon_16.png",
- "scale" : "1x"
- },
- {
- "size" : "16x16",
- "idiom" : "mac",
- "filename" : "app_icon_32.png",
- "scale" : "2x"
- },
- {
- "size" : "32x32",
- "idiom" : "mac",
- "filename" : "app_icon_32.png",
- "scale" : "1x"
- },
- {
- "size" : "32x32",
- "idiom" : "mac",
- "filename" : "app_icon_64.png",
- "scale" : "2x"
- },
- {
- "size" : "128x128",
- "idiom" : "mac",
- "filename" : "app_icon_128.png",
- "scale" : "1x"
- },
- {
- "size" : "128x128",
- "idiom" : "mac",
- "filename" : "app_icon_256.png",
- "scale" : "2x"
- },
- {
- "size" : "256x256",
- "idiom" : "mac",
- "filename" : "app_icon_256.png",
- "scale" : "1x"
- },
- {
- "size" : "256x256",
- "idiom" : "mac",
- "filename" : "app_icon_512.png",
- "scale" : "2x"
- },
- {
- "size" : "512x512",
- "idiom" : "mac",
- "filename" : "app_icon_512.png",
- "scale" : "1x"
- },
- {
- "size" : "512x512",
- "idiom" : "mac",
- "filename" : "app_icon_1024.png",
- "scale" : "2x"
- }
- ],
- "info" : {
- "version" : 1,
- "author" : "xcode"
- }
-}
diff --git a/filcnaplo/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png b/filcnaplo/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png
deleted file mode 100644
index 82b6f9d..0000000
Binary files a/filcnaplo/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png and /dev/null differ
diff --git a/filcnaplo/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png b/filcnaplo/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png
deleted file mode 100644
index 13b35eb..0000000
Binary files a/filcnaplo/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png and /dev/null differ
diff --git a/filcnaplo/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png b/filcnaplo/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png
deleted file mode 100644
index 0a3f5fa..0000000
Binary files a/filcnaplo/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png and /dev/null differ
diff --git a/filcnaplo/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png b/filcnaplo/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png
deleted file mode 100644
index bdb5722..0000000
Binary files a/filcnaplo/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png and /dev/null differ
diff --git a/filcnaplo/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png b/filcnaplo/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png
deleted file mode 100644
index f083318..0000000
Binary files a/filcnaplo/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png and /dev/null differ
diff --git a/filcnaplo/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png b/filcnaplo/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png
deleted file mode 100644
index 326c0e7..0000000
Binary files a/filcnaplo/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png and /dev/null differ
diff --git a/filcnaplo/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png b/filcnaplo/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png
deleted file mode 100644
index 2f1632c..0000000
Binary files a/filcnaplo/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png and /dev/null differ
diff --git a/filcnaplo/macos/Runner/Base.lproj/MainMenu.xib b/filcnaplo/macos/Runner/Base.lproj/MainMenu.xib
deleted file mode 100644
index 3f655e3..0000000
--- a/filcnaplo/macos/Runner/Base.lproj/MainMenu.xib
+++ /dev/null
@@ -1,348 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/filcnaplo/macos/Runner/Configs/AppInfo.xcconfig b/filcnaplo/macos/Runner/Configs/AppInfo.xcconfig
deleted file mode 100644
index 1027f1d..0000000
--- a/filcnaplo/macos/Runner/Configs/AppInfo.xcconfig
+++ /dev/null
@@ -1,14 +0,0 @@
-// Application-level settings for the Runner target.
-//
-// This may be replaced with something auto-generated from metadata (e.g., pubspec.yaml) in the
-// future. If not, the values below would default to using the project name when this becomes a
-// 'flutter create' template.
-
-// The application's name. By default this is also the title of the Flutter window.
-PRODUCT_NAME = reFilc
-
-// The application's bundle identifier
-PRODUCT_BUNDLE_IDENTIFIER = hu.refilc.naplo
-
-// The copyright displayed in application information
-PRODUCT_COPYRIGHT = reFilc
diff --git a/filcnaplo/macos/Runner/Configs/Debug.xcconfig b/filcnaplo/macos/Runner/Configs/Debug.xcconfig
deleted file mode 100644
index b398823..0000000
--- a/filcnaplo/macos/Runner/Configs/Debug.xcconfig
+++ /dev/null
@@ -1,2 +0,0 @@
-#include "../../Flutter/Flutter-Debug.xcconfig"
-#include "Warnings.xcconfig"
diff --git a/filcnaplo/macos/Runner/Configs/Release.xcconfig b/filcnaplo/macos/Runner/Configs/Release.xcconfig
deleted file mode 100644
index d93e5dc..0000000
--- a/filcnaplo/macos/Runner/Configs/Release.xcconfig
+++ /dev/null
@@ -1,2 +0,0 @@
-#include "../../Flutter/Flutter-Release.xcconfig"
-#include "Warnings.xcconfig"
diff --git a/filcnaplo/macos/Runner/Configs/Warnings.xcconfig b/filcnaplo/macos/Runner/Configs/Warnings.xcconfig
deleted file mode 100644
index fb4d7d3..0000000
--- a/filcnaplo/macos/Runner/Configs/Warnings.xcconfig
+++ /dev/null
@@ -1,13 +0,0 @@
-WARNING_CFLAGS = -Wall -Wconditional-uninitialized -Wnullable-to-nonnull-conversion -Wmissing-method-return-type -Woverlength-strings
-GCC_WARN_UNDECLARED_SELECTOR = YES
-CLANG_UNDEFINED_BEHAVIOR_SANITIZER_NULLABILITY = YES
-CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE
-CLANG_WARN__DUPLICATE_METHOD_MATCH = YES
-CLANG_WARN_PRAGMA_PACK = YES
-CLANG_WARN_STRICT_PROTOTYPES = YES
-CLANG_WARN_COMMA = YES
-GCC_WARN_STRICT_SELECTOR_MATCH = YES
-CLANG_WARN_OBJC_REPEATED_USE_OF_WEAK = YES
-CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES
-GCC_WARN_SHADOW = YES
-CLANG_WARN_UNREACHABLE_CODE = YES
diff --git a/filcnaplo/macos/Runner/DebugProfile.entitlements b/filcnaplo/macos/Runner/DebugProfile.entitlements
deleted file mode 100644
index acb5c4c..0000000
--- a/filcnaplo/macos/Runner/DebugProfile.entitlements
+++ /dev/null
@@ -1,16 +0,0 @@
-
-
-
-
- com.apple.security.app-sandbox
-
- com.apple.security.cs.allow-jit
-
- com.apple.security.files.downloads.read-write
-
- com.apple.security.network.client
-
- com.apple.security.network.server
-
-
-
diff --git a/filcnaplo/macos/Runner/Info.plist b/filcnaplo/macos/Runner/Info.plist
deleted file mode 100644
index 0e53e66..0000000
--- a/filcnaplo/macos/Runner/Info.plist
+++ /dev/null
@@ -1,32 +0,0 @@
-
-
-
-
- CFBundleDevelopmentRegion
- $(DEVELOPMENT_LANGUAGE)
- CFBundleExecutable
- ${EXECUTABLE_NAME}
- CFBundleIconFile
-
- CFBundleIdentifier
- $(PRODUCT_BUNDLE_IDENTIFIER)
- CFBundleInfoDictionaryVersion
- 6.0
- CFBundleName
- $(PRODUCT_NAME)
- CFBundlePackageType
- APPL
- CFBundleShortVersionString
- $(FLUTTER_BUILD_NAME)
- CFBundleVersion
- $(FLUTTER_BUILD_NUMBER)
- LSMinimumSystemVersion
- $(MACOSX_DEPLOYMENT_TARGET)
- NSHumanReadableCopyright
- $(PRODUCT_COPYRIGHT)
- NSMainNibFile
- MainMenu
- NSPrincipalClass
- NSApplication
-
-
diff --git a/filcnaplo/macos/Runner/MainFlutterWindow.swift b/filcnaplo/macos/Runner/MainFlutterWindow.swift
deleted file mode 100644
index 59fb24d..0000000
--- a/filcnaplo/macos/Runner/MainFlutterWindow.swift
+++ /dev/null
@@ -1,19 +0,0 @@
-import Cocoa
-import FlutterMacOS
-import flutter_acrylic
-
-class MainFlutterWindow: NSWindow {
- override func awakeFromNib() {
- let blurryContainerViewController = BlurryContainerViewController()
- let windowFrame = self.frame
- self.contentViewController = blurryContainerViewController
- self.setFrame(windowFrame, display: true)
-
- /* Initialize the flutter_acrylic plugin */
- MainFlutterWindowManipulator.start(mainFlutterWindow: self)
-
- RegisterGeneratedPlugins(registry: blurryContainerViewController.flutterViewController)
-
- super.awakeFromNib()
- }
-}
diff --git a/filcnaplo/macos/Runner/Release.entitlements b/filcnaplo/macos/Runner/Release.entitlements
deleted file mode 100644
index 0da2e44..0000000
--- a/filcnaplo/macos/Runner/Release.entitlements
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
-
-
- com.apple.security.app-sandbox
-
- com.apple.security.files.downloads.read-write
-
- com.apple.security.network.client
-
-
-
diff --git a/filcnaplo/windows/runner/Runner.rc b/filcnaplo/windows/runner/Runner.rc
deleted file mode 100644
index 51b3032..0000000
--- a/filcnaplo/windows/runner/Runner.rc
+++ /dev/null
@@ -1,121 +0,0 @@
-// Microsoft Visual C++ generated resource script.
-//
-#pragma code_page(65001)
-#include "resource.h"
-
-#define APSTUDIO_READONLY_SYMBOLS
-/////////////////////////////////////////////////////////////////////////////
-//
-// Generated from the TEXTINCLUDE 2 resource.
-//
-#include "winres.h"
-
-/////////////////////////////////////////////////////////////////////////////
-#undef APSTUDIO_READONLY_SYMBOLS
-
-/////////////////////////////////////////////////////////////////////////////
-// English (United States) resources
-
-#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
-LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
-
-#ifdef APSTUDIO_INVOKED
-/////////////////////////////////////////////////////////////////////////////
-//
-// TEXTINCLUDE
-//
-
-1 TEXTINCLUDE
-BEGIN
- "resource.h\0"
-END
-
-2 TEXTINCLUDE
-BEGIN
- "#include ""winres.h""\r\n"
- "\0"
-END
-
-3 TEXTINCLUDE
-BEGIN
- "\r\n"
- "\0"
-END
-
-#endif // APSTUDIO_INVOKED
-
-
-/////////////////////////////////////////////////////////////////////////////
-//
-// Icon
-//
-
-// Icon with lowest ID value placed first to ensure application icon
-// remains consistent on all systems.
-IDI_APP_ICON ICON "resources\\app_icon.ico"
-
-
-/////////////////////////////////////////////////////////////////////////////
-//
-// Version
-//
-
-#if defined(FLUTTER_VERSION_MAJOR) && defined(FLUTTER_VERSION_MINOR) && defined(FLUTTER_VERSION_PATCH) && defined(FLUTTER_VERSION_BUILD)
-#define VERSION_AS_NUMBER FLUTTER_VERSION_MAJOR,FLUTTER_VERSION_MINOR,FLUTTER_VERSION_PATCH,FLUTTER_VERSION_BUILD
-#else
-#define VERSION_AS_NUMBER 1,0,0,0
-#endif
-
-#if defined(FLUTTER_VERSION)
-#define VERSION_AS_STRING FLUTTER_VERSION
-#else
-#define VERSION_AS_STRING "1.0.0"
-#endif
-
-VS_VERSION_INFO VERSIONINFO
- FILEVERSION VERSION_AS_NUMBER
- PRODUCTVERSION VERSION_AS_NUMBER
- FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
-#ifdef _DEBUG
- FILEFLAGS VS_FF_DEBUG
-#else
- FILEFLAGS 0x0L
-#endif
- FILEOS VOS__WINDOWS32
- FILETYPE VFT_APP
- FILESUBTYPE 0x0L
-BEGIN
- BLOCK "StringFileInfo"
- BEGIN
- BLOCK "040904e4"
- BEGIN
- VALUE "CompanyName", "hu.refilc" "\0"
- VALUE "FileDescription", "filcnaplo" "\0"
- VALUE "FileVersion", VERSION_AS_STRING "\0"
- VALUE "InternalName", "filcnaplo" "\0"
- VALUE "LegalCopyright", "Copyright (C) 2023 hu.refilc. All rights reserved." "\0"
- VALUE "OriginalFilename", "filcnaplo.exe" "\0"
- VALUE "ProductName", "filcnaplo" "\0"
- VALUE "ProductVersion", VERSION_AS_STRING "\0"
- END
- END
- BLOCK "VarFileInfo"
- BEGIN
- VALUE "Translation", 0x409, 1252
- END
-END
-
-#endif // English (United States) resources
-/////////////////////////////////////////////////////////////////////////////
-
-
-
-#ifndef APSTUDIO_INVOKED
-/////////////////////////////////////////////////////////////////////////////
-//
-// Generated from the TEXTINCLUDE 3 resource.
-//
-
-
-/////////////////////////////////////////////////////////////////////////////
-#endif // not APSTUDIO_INVOKED
diff --git a/filcnaplo/windows/runner/flutter_window.cpp b/filcnaplo/windows/runner/flutter_window.cpp
deleted file mode 100644
index 955ee30..0000000
--- a/filcnaplo/windows/runner/flutter_window.cpp
+++ /dev/null
@@ -1,71 +0,0 @@
-#include "flutter_window.h"
-
-#include
-
-#include "flutter/generated_plugin_registrant.h"
-
-FlutterWindow::FlutterWindow(const flutter::DartProject& project)
- : project_(project) {}
-
-FlutterWindow::~FlutterWindow() {}
-
-bool FlutterWindow::OnCreate() {
- if (!Win32Window::OnCreate()) {
- return false;
- }
-
- RECT frame = GetClientArea();
-
- // The size here must match the window dimensions to avoid unnecessary surface
- // creation / destruction in the startup path.
- flutter_controller_ = std::make_unique(
- frame.right - frame.left, frame.bottom - frame.top, project_);
- // Ensure that basic setup of the controller was successful.
- if (!flutter_controller_->engine() || !flutter_controller_->view()) {
- return false;
- }
- RegisterPlugins(flutter_controller_->engine());
- SetChildContent(flutter_controller_->view()->GetNativeWindow());
-
- flutter_controller_->engine()->SetNextFrameCallback([&]() {
- this->Show();
- });
-
- // Flutter can complete the first frame before the "show window" callback is
- // registered. The following call ensures a frame is pending to ensure the
- // window is shown. It is a no-op if the first frame hasn't completed yet.
- flutter_controller_->ForceRedraw();
-
- return true;
-}
-
-void FlutterWindow::OnDestroy() {
- if (flutter_controller_) {
- flutter_controller_ = nullptr;
- }
-
- Win32Window::OnDestroy();
-}
-
-LRESULT
-FlutterWindow::MessageHandler(HWND hwnd, UINT const message,
- WPARAM const wparam,
- LPARAM const lparam) noexcept {
- // Give Flutter, including plugins, an opportunity to handle window messages.
- if (flutter_controller_) {
- std::optional result =
- flutter_controller_->HandleTopLevelWindowProc(hwnd, message, wparam,
- lparam);
- if (result) {
- return *result;
- }
- }
-
- switch (message) {
- case WM_FONTCHANGE:
- flutter_controller_->engine()->ReloadSystemFonts();
- break;
- }
-
- return Win32Window::MessageHandler(hwnd, message, wparam, lparam);
-}
diff --git a/filcnaplo/windows/runner/flutter_window.h b/filcnaplo/windows/runner/flutter_window.h
deleted file mode 100644
index 6da0652..0000000
--- a/filcnaplo/windows/runner/flutter_window.h
+++ /dev/null
@@ -1,33 +0,0 @@
-#ifndef RUNNER_FLUTTER_WINDOW_H_
-#define RUNNER_FLUTTER_WINDOW_H_
-
-#include
-#include
-
-#include
-
-#include "win32_window.h"
-
-// A window that does nothing but host a Flutter view.
-class FlutterWindow : public Win32Window {
- public:
- // Creates a new FlutterWindow hosting a Flutter view running |project|.
- explicit FlutterWindow(const flutter::DartProject& project);
- virtual ~FlutterWindow();
-
- protected:
- // Win32Window:
- bool OnCreate() override;
- void OnDestroy() override;
- LRESULT MessageHandler(HWND window, UINT const message, WPARAM const wparam,
- LPARAM const lparam) noexcept override;
-
- private:
- // The project to run.
- flutter::DartProject project_;
-
- // The Flutter instance hosted by this window.
- std::unique_ptr flutter_controller_;
-};
-
-#endif // RUNNER_FLUTTER_WINDOW_H_
diff --git a/filcnaplo/windows/runner/main.cpp b/filcnaplo/windows/runner/main.cpp
deleted file mode 100644
index 2847838..0000000
--- a/filcnaplo/windows/runner/main.cpp
+++ /dev/null
@@ -1,43 +0,0 @@
-#include
-#include
-#include
-
-#include "flutter_window.h"
-#include "utils.h"
-
-int APIENTRY wWinMain(_In_ HINSTANCE instance, _In_opt_ HINSTANCE prev,
- _In_ wchar_t *command_line, _In_ int show_command) {
- // Attach to console when present (e.g., 'flutter run') or create a
- // new console when running with a debugger.
- if (!::AttachConsole(ATTACH_PARENT_PROCESS) && ::IsDebuggerPresent()) {
- CreateAndAttachConsole();
- }
-
- // Initialize COM, so that it is available for use in the library and/or
- // plugins.
- ::CoInitializeEx(nullptr, COINIT_APARTMENTTHREADED);
-
- flutter::DartProject project(L"data");
-
- std::vector command_line_arguments =
- GetCommandLineArguments();
-
- project.set_dart_entrypoint_arguments(std::move(command_line_arguments));
-
- FlutterWindow window(project);
- Win32Window::Point origin(10, 10);
- Win32Window::Size size(800, 720);
- if (!window.Create(L"reFilc", origin, size)) {
- return EXIT_FAILURE;
- }
- window.SetQuitOnClose(true);
-
- ::MSG msg;
- while (::GetMessage(&msg, nullptr, 0, 0)) {
- ::TranslateMessage(&msg);
- ::DispatchMessage(&msg);
- }
-
- ::CoUninitialize();
- return EXIT_SUCCESS;
-}
diff --git a/filcnaplo/windows/runner/resource.h b/filcnaplo/windows/runner/resource.h
deleted file mode 100644
index 66a65d1..0000000
--- a/filcnaplo/windows/runner/resource.h
+++ /dev/null
@@ -1,16 +0,0 @@
-//{{NO_DEPENDENCIES}}
-// Microsoft Visual C++ generated include file.
-// Used by Runner.rc
-//
-#define IDI_APP_ICON 101
-
-// Next default values for new objects
-//
-#ifdef APSTUDIO_INVOKED
-#ifndef APSTUDIO_READONLY_SYMBOLS
-#define _APS_NEXT_RESOURCE_VALUE 102
-#define _APS_NEXT_COMMAND_VALUE 40001
-#define _APS_NEXT_CONTROL_VALUE 1001
-#define _APS_NEXT_SYMED_VALUE 101
-#endif
-#endif
diff --git a/filcnaplo/windows/runner/resources/app_icon.ico b/filcnaplo/windows/runner/resources/app_icon.ico
deleted file mode 100644
index 49c0c16..0000000
Binary files a/filcnaplo/windows/runner/resources/app_icon.ico and /dev/null differ
diff --git a/filcnaplo/windows/runner/runner.exe.manifest b/filcnaplo/windows/runner/runner.exe.manifest
deleted file mode 100644
index a42ea76..0000000
--- a/filcnaplo/windows/runner/runner.exe.manifest
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
-
- PerMonitorV2
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/filcnaplo/windows/runner/utils.cpp b/filcnaplo/windows/runner/utils.cpp
deleted file mode 100644
index b2b0873..0000000
--- a/filcnaplo/windows/runner/utils.cpp
+++ /dev/null
@@ -1,65 +0,0 @@
-#include "utils.h"
-
-#include
-#include
-#include
-#include
-
-#include
-
-void CreateAndAttachConsole() {
- if (::AllocConsole()) {
- FILE *unused;
- if (freopen_s(&unused, "CONOUT$", "w", stdout)) {
- _dup2(_fileno(stdout), 1);
- }
- if (freopen_s(&unused, "CONOUT$", "w", stderr)) {
- _dup2(_fileno(stdout), 2);
- }
- std::ios::sync_with_stdio();
- FlutterDesktopResyncOutputStreams();
- }
-}
-
-std::vector GetCommandLineArguments() {
- // Convert the UTF-16 command line arguments to UTF-8 for the Engine to use.
- int argc;
- wchar_t** argv = ::CommandLineToArgvW(::GetCommandLineW(), &argc);
- if (argv == nullptr) {
- return std::vector();
- }
-
- std::vector command_line_arguments;
-
- // Skip the first argument as it's the binary name.
- for (int i = 1; i < argc; i++) {
- command_line_arguments.push_back(Utf8FromUtf16(argv[i]));
- }
-
- ::LocalFree(argv);
-
- return command_line_arguments;
-}
-
-std::string Utf8FromUtf16(const wchar_t* utf16_string) {
- if (utf16_string == nullptr) {
- return std::string();
- }
- int target_length = ::WideCharToMultiByte(
- CP_UTF8, WC_ERR_INVALID_CHARS, utf16_string,
- -1, nullptr, 0, nullptr, nullptr)
- -1; // remove the trailing null character
- int input_length = (int)wcslen(utf16_string);
- std::string utf8_string;
- if (target_length <= 0 || target_length > utf8_string.max_size()) {
- return utf8_string;
- }
- utf8_string.resize(target_length);
- int converted_length = ::WideCharToMultiByte(
- CP_UTF8, WC_ERR_INVALID_CHARS, utf16_string,
- input_length, utf8_string.data(), target_length, nullptr, nullptr);
- if (converted_length == 0) {
- return std::string();
- }
- return utf8_string;
-}
diff --git a/filcnaplo/windows/runner/utils.h b/filcnaplo/windows/runner/utils.h
deleted file mode 100644
index 3879d54..0000000
--- a/filcnaplo/windows/runner/utils.h
+++ /dev/null
@@ -1,19 +0,0 @@
-#ifndef RUNNER_UTILS_H_
-#define RUNNER_UTILS_H_
-
-#include
-#include
-
-// Creates a console for the process, and redirects stdout and stderr to
-// it for both the runner and the Flutter library.
-void CreateAndAttachConsole();
-
-// Takes a null-terminated wchar_t* encoded in UTF-16 and returns a std::string
-// encoded in UTF-8. Returns an empty std::string on failure.
-std::string Utf8FromUtf16(const wchar_t* utf16_string);
-
-// Gets the command line arguments passed in as a std::vector,
-// encoded in UTF-8. Returns an empty std::vector on failure.
-std::vector GetCommandLineArguments();
-
-#endif // RUNNER_UTILS_H_
diff --git a/filcnaplo/windows/runner/win32_window.cpp b/filcnaplo/windows/runner/win32_window.cpp
deleted file mode 100644
index 60608d0..0000000
--- a/filcnaplo/windows/runner/win32_window.cpp
+++ /dev/null
@@ -1,288 +0,0 @@
-#include "win32_window.h"
-
-#include
-#include
-
-#include "resource.h"
-
-namespace {
-
-/// Window attribute that enables dark mode window decorations.
-///
-/// Redefined in case the developer's machine has a Windows SDK older than
-/// version 10.0.22000.0.
-/// See: https://docs.microsoft.com/windows/win32/api/dwmapi/ne-dwmapi-dwmwindowattribute
-#ifndef DWMWA_USE_IMMERSIVE_DARK_MODE
-#define DWMWA_USE_IMMERSIVE_DARK_MODE 20
-#endif
-
-constexpr const wchar_t kWindowClassName[] = L"FLUTTER_RUNNER_WIN32_WINDOW";
-
-/// Registry key for app theme preference.
-///
-/// A value of 0 indicates apps should use dark mode. A non-zero or missing
-/// value indicates apps should use light mode.
-constexpr const wchar_t kGetPreferredBrightnessRegKey[] =
- L"Software\\Microsoft\\Windows\\CurrentVersion\\Themes\\Personalize";
-constexpr const wchar_t kGetPreferredBrightnessRegValue[] = L"AppsUseLightTheme";
-
-// The number of Win32Window objects that currently exist.
-static int g_active_window_count = 0;
-
-using EnableNonClientDpiScaling = BOOL __stdcall(HWND hwnd);
-
-// Scale helper to convert logical scaler values to physical using passed in
-// scale factor
-int Scale(int source, double scale_factor) {
- return static_cast(source * scale_factor);
-}
-
-// Dynamically loads the |EnableNonClientDpiScaling| from the User32 module.
-// This API is only needed for PerMonitor V1 awareness mode.
-void EnableFullDpiSupportIfAvailable(HWND hwnd) {
- HMODULE user32_module = LoadLibraryA("User32.dll");
- if (!user32_module) {
- return;
- }
- auto enable_non_client_dpi_scaling =
- reinterpret_cast(
- GetProcAddress(user32_module, "EnableNonClientDpiScaling"));
- if (enable_non_client_dpi_scaling != nullptr) {
- enable_non_client_dpi_scaling(hwnd);
- }
- FreeLibrary(user32_module);
-}
-
-} // namespace
-
-// Manages the Win32Window's window class registration.
-class WindowClassRegistrar {
- public:
- ~WindowClassRegistrar() = default;
-
- // Returns the singleton registrar instance.
- static WindowClassRegistrar* GetInstance() {
- if (!instance_) {
- instance_ = new WindowClassRegistrar();
- }
- return instance_;
- }
-
- // Returns the name of the window class, registering the class if it hasn't
- // previously been registered.
- const wchar_t* GetWindowClass();
-
- // Unregisters the window class. Should only be called if there are no
- // instances of the window.
- void UnregisterWindowClass();
-
- private:
- WindowClassRegistrar() = default;
-
- static WindowClassRegistrar* instance_;
-
- bool class_registered_ = false;
-};
-
-WindowClassRegistrar* WindowClassRegistrar::instance_ = nullptr;
-
-const wchar_t* WindowClassRegistrar::GetWindowClass() {
- if (!class_registered_) {
- WNDCLASS window_class{};
- window_class.hCursor = LoadCursor(nullptr, IDC_ARROW);
- window_class.lpszClassName = kWindowClassName;
- window_class.style = CS_HREDRAW | CS_VREDRAW;
- window_class.cbClsExtra = 0;
- window_class.cbWndExtra = 0;
- window_class.hInstance = GetModuleHandle(nullptr);
- window_class.hIcon =
- LoadIcon(window_class.hInstance, MAKEINTRESOURCE(IDI_APP_ICON));
- window_class.hbrBackground = 0;
- window_class.lpszMenuName = nullptr;
- window_class.lpfnWndProc = Win32Window::WndProc;
- RegisterClass(&window_class);
- class_registered_ = true;
- }
- return kWindowClassName;
-}
-
-void WindowClassRegistrar::UnregisterWindowClass() {
- UnregisterClass(kWindowClassName, nullptr);
- class_registered_ = false;
-}
-
-Win32Window::Win32Window() {
- ++g_active_window_count;
-}
-
-Win32Window::~Win32Window() {
- --g_active_window_count;
- Destroy();
-}
-
-bool Win32Window::Create(const std::wstring& title,
- const Point& origin,
- const Size& size) {
- Destroy();
-
- const wchar_t* window_class =
- WindowClassRegistrar::GetInstance()->GetWindowClass();
-
- const POINT target_point = {static_cast(origin.x),
- static_cast(origin.y)};
- HMONITOR monitor = MonitorFromPoint(target_point, MONITOR_DEFAULTTONEAREST);
- UINT dpi = FlutterDesktopGetDpiForMonitor(monitor);
- double scale_factor = dpi / 96.0;
-
- HWND window = CreateWindow(
- window_class, title.c_str(), WS_OVERLAPPEDWINDOW,
- Scale(origin.x, scale_factor), Scale(origin.y, scale_factor),
- Scale(size.width, scale_factor), Scale(size.height, scale_factor),
- nullptr, nullptr, GetModuleHandle(nullptr), this);
-
- if (!window) {
- return false;
- }
-
- UpdateTheme(window);
-
- return OnCreate();
-}
-
-bool Win32Window::Show() {
- return ShowWindow(window_handle_, SW_SHOWNORMAL);
-}
-
-// static
-LRESULT CALLBACK Win32Window::WndProc(HWND const window,
- UINT const message,
- WPARAM const wparam,
- LPARAM const lparam) noexcept {
- if (message == WM_NCCREATE) {
- auto window_struct = reinterpret_cast(lparam);
- SetWindowLongPtr(window, GWLP_USERDATA,
- reinterpret_cast(window_struct->lpCreateParams));
-
- auto that = static_cast(window_struct->lpCreateParams);
- EnableFullDpiSupportIfAvailable(window);
- that->window_handle_ = window;
- } else if (Win32Window* that = GetThisFromHandle(window)) {
- return that->MessageHandler(window, message, wparam, lparam);
- }
-
- return DefWindowProc(window, message, wparam, lparam);
-}
-
-LRESULT
-Win32Window::MessageHandler(HWND hwnd,
- UINT const message,
- WPARAM const wparam,
- LPARAM const lparam) noexcept {
- switch (message) {
- case WM_DESTROY:
- window_handle_ = nullptr;
- Destroy();
- if (quit_on_close_) {
- PostQuitMessage(0);
- }
- return 0;
-
- case WM_DPICHANGED: {
- auto newRectSize = reinterpret_cast(lparam);
- LONG newWidth = newRectSize->right - newRectSize->left;
- LONG newHeight = newRectSize->bottom - newRectSize->top;
-
- SetWindowPos(hwnd, nullptr, newRectSize->left, newRectSize->top, newWidth,
- newHeight, SWP_NOZORDER | SWP_NOACTIVATE);
-
- return 0;
- }
- case WM_SIZE: {
- RECT rect = GetClientArea();
- if (child_content_ != nullptr) {
- // Size and position the child window.
- MoveWindow(child_content_, rect.left, rect.top, rect.right - rect.left,
- rect.bottom - rect.top, TRUE);
- }
- return 0;
- }
-
- case WM_ACTIVATE:
- if (child_content_ != nullptr) {
- SetFocus(child_content_);
- }
- return 0;
-
- case WM_DWMCOLORIZATIONCOLORCHANGED:
- UpdateTheme(hwnd);
- return 0;
- }
-
- return DefWindowProc(window_handle_, message, wparam, lparam);
-}
-
-void Win32Window::Destroy() {
- OnDestroy();
-
- if (window_handle_) {
- DestroyWindow(window_handle_);
- window_handle_ = nullptr;
- }
- if (g_active_window_count == 0) {
- WindowClassRegistrar::GetInstance()->UnregisterWindowClass();
- }
-}
-
-Win32Window* Win32Window::GetThisFromHandle(HWND const window) noexcept {
- return reinterpret_cast(
- GetWindowLongPtr(window, GWLP_USERDATA));
-}
-
-void Win32Window::SetChildContent(HWND content) {
- child_content_ = content;
- SetParent(content, window_handle_);
- RECT frame = GetClientArea();
-
- MoveWindow(content, frame.left, frame.top, frame.right - frame.left,
- frame.bottom - frame.top, true);
-
- SetFocus(child_content_);
-}
-
-RECT Win32Window::GetClientArea() {
- RECT frame;
- GetClientRect(window_handle_, &frame);
- return frame;
-}
-
-HWND Win32Window::GetHandle() {
- return window_handle_;
-}
-
-void Win32Window::SetQuitOnClose(bool quit_on_close) {
- quit_on_close_ = quit_on_close;
-}
-
-bool Win32Window::OnCreate() {
- // No-op; provided for subclasses.
- return true;
-}
-
-void Win32Window::OnDestroy() {
- // No-op; provided for subclasses.
-}
-
-void Win32Window::UpdateTheme(HWND const window) {
- DWORD light_mode;
- DWORD light_mode_size = sizeof(light_mode);
- LSTATUS result = RegGetValue(HKEY_CURRENT_USER, kGetPreferredBrightnessRegKey,
- kGetPreferredBrightnessRegValue,
- RRF_RT_REG_DWORD, nullptr, &light_mode,
- &light_mode_size);
-
- if (result == ERROR_SUCCESS) {
- BOOL enable_dark_mode = light_mode == 0;
- DwmSetWindowAttribute(window, DWMWA_USE_IMMERSIVE_DARK_MODE,
- &enable_dark_mode, sizeof(enable_dark_mode));
- }
-}
diff --git a/filcnaplo/windows/runner/win32_window.h b/filcnaplo/windows/runner/win32_window.h
deleted file mode 100644
index e901dde..0000000
--- a/filcnaplo/windows/runner/win32_window.h
+++ /dev/null
@@ -1,102 +0,0 @@
-#ifndef RUNNER_WIN32_WINDOW_H_
-#define RUNNER_WIN32_WINDOW_H_
-
-#include
-
-#include
-#include
-#include
-
-// A class abstraction for a high DPI-aware Win32 Window. Intended to be
-// inherited from by classes that wish to specialize with custom
-// rendering and input handling
-class Win32Window {
- public:
- struct Point {
- unsigned int x;
- unsigned int y;
- Point(unsigned int x, unsigned int y) : x(x), y(y) {}
- };
-
- struct Size {
- unsigned int width;
- unsigned int height;
- Size(unsigned int width, unsigned int height)
- : width(width), height(height) {}
- };
-
- Win32Window();
- virtual ~Win32Window();
-
- // Creates a win32 window with |title| that is positioned and sized using
- // |origin| and |size|. New windows are created on the default monitor. Window
- // sizes are specified to the OS in physical pixels, hence to ensure a
- // consistent size this function will scale the inputted width and height as
- // as appropriate for the default monitor. The window is invisible until
- // |Show| is called. Returns true if the window was created successfully.
- bool Create(const std::wstring& title, const Point& origin, const Size& size);
-
- // Show the current window. Returns true if the window was successfully shown.
- bool Show();
-
- // Release OS resources associated with window.
- void Destroy();
-
- // Inserts |content| into the window tree.
- void SetChildContent(HWND content);
-
- // Returns the backing Window handle to enable clients to set icon and other
- // window properties. Returns nullptr if the window has been destroyed.
- HWND GetHandle();
-
- // If true, closing this window will quit the application.
- void SetQuitOnClose(bool quit_on_close);
-
- // Return a RECT representing the bounds of the current client area.
- RECT GetClientArea();
-
- protected:
- // Processes and route salient window messages for mouse handling,
- // size change and DPI. Delegates handling of these to member overloads that
- // inheriting classes can handle.
- virtual LRESULT MessageHandler(HWND window,
- UINT const message,
- WPARAM const wparam,
- LPARAM const lparam) noexcept;
-
- // Called when CreateAndShow is called, allowing subclass window-related
- // setup. Subclasses should return false if setup fails.
- virtual bool OnCreate();
-
- // Called when Destroy is called.
- virtual void OnDestroy();
-
- private:
- friend class WindowClassRegistrar;
-
- // OS callback called by message pump. Handles the WM_NCCREATE message which
- // is passed when the non-client area is being created and enables automatic
- // non-client DPI scaling so that the non-client area automatically
- // responds to changes in DPI. All other messages are handled by
- // MessageHandler.
- static LRESULT CALLBACK WndProc(HWND const window,
- UINT const message,
- WPARAM const wparam,
- LPARAM const lparam) noexcept;
-
- // Retrieves a class instance pointer for |window|
- static Win32Window* GetThisFromHandle(HWND const window) noexcept;
-
- // Update the window frame's theme to match the system theme.
- static void UpdateTheme(HWND const window);
-
- bool quit_on_close_ = false;
-
- // window handle for top level window.
- HWND window_handle_ = nullptr;
-
- // window handle for hosted content.
- HWND child_content_ = nullptr;
-};
-
-#endif // RUNNER_WIN32_WINDOW_H_
diff --git a/filcnaplo_desktop_ui/lib/pages/grades/grades_count.dart b/filcnaplo_desktop_ui/lib/pages/grades/grades_count.dart
deleted file mode 100644
index c3c75f6..0000000
--- a/filcnaplo_desktop_ui/lib/pages/grades/grades_count.dart
+++ /dev/null
@@ -1,25 +0,0 @@
-import 'package:flutter/material.dart';
-import 'package:filcnaplo_kreta_api/models/grade.dart';
-import 'package:filcnaplo_desktop_ui/pages/grades/grades_count_item.dart';
-import 'package:collection/collection.dart';
-
-class GradesCount extends StatelessWidget {
- const GradesCount({Key? key, required this.grades}) : super(key: key);
-
- final List grades;
-
- @override
- Widget build(BuildContext context) {
- List gradesCount = List.generate(5, (int index) => grades.where((e) => e.value.value == index + 1).length);
-
- return Container(
- width: 75,
- padding: const EdgeInsets.only(bottom: 6.0, top: 6.0, left: 12.0, right: 0.0),
- margin: const EdgeInsets.symmetric(horizontal: 12.0),
- child: Column(
- mainAxisAlignment: MainAxisAlignment.spaceAround,
- children: gradesCount.mapIndexed((index, e) => GradesCountItem(count: e, value: index + 1)).toList(),
- ),
- );
- }
-}
diff --git a/filcnaplo_kreta_api/.github/dependabot.yml b/filcnaplo_kreta_api/.github/dependabot.yml
deleted file mode 100644
index 9fc48a7..0000000
--- a/filcnaplo_kreta_api/.github/dependabot.yml
+++ /dev/null
@@ -1,11 +0,0 @@
-# To get started with Dependabot version updates, you'll need to specify which
-# package ecosystems to update and where the package manifests are located.
-# Please see the documentation for all configuration options:
-# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
-
-version: 2
-updates:
- - package-ecosystem: "pub" # See documentation for possible values
- directory: "/" # Location of package manifests
- schedule:
- interval: "daily"
diff --git a/filcnaplo_mobile_ui/.github/dependabot.yml b/filcnaplo_mobile_ui/.github/dependabot.yml
deleted file mode 100644
index 9fc48a7..0000000
--- a/filcnaplo_mobile_ui/.github/dependabot.yml
+++ /dev/null
@@ -1,11 +0,0 @@
-# To get started with Dependabot version updates, you'll need to specify which
-# package ecosystems to update and where the package manifests are located.
-# Please see the documentation for all configuration options:
-# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
-
-version: 2
-updates:
- - package-ecosystem: "pub" # See documentation for possible values
- directory: "/" # Location of package manifests
- schedule:
- interval: "daily"
diff --git a/fix-darwin.sh b/fix-darwin.sh
index a4c501e..db5bde3 100755
--- a/fix-darwin.sh
+++ b/fix-darwin.sh
@@ -1,19 +1,19 @@
-cd ./filcnaplo
+cd ./refilc
flutter clean
flutter pub get
cd ..
-cd ./filcnaplo_kreta_api
+cd ./refilc_kreta_api
flutter clean
flutter pub get
cd ..
-cd ./filcnaplo_mobile_ui
+cd ./refilc_mobile_ui
flutter clean
flutter pub get
cd ..
-cd ./filcnaplo_desktop_ui
+cd ./refilc_desktop_ui
flutter clean
flutter pub get
cd ..
diff --git a/fix-pub.sh b/fix-pub.sh
index 6f10e0f..560bae9 100755
--- a/fix-pub.sh
+++ b/fix-pub.sh
@@ -1,7 +1,7 @@
-cd filcnaplo && flutter clean && flutter pub get && cd ..
-cd filcnaplo_kreta_api && flutter clean && flutter pub get && cd ..
-cd filcnaplo_mobile_ui && flutter clean && flutter pub get && cd ..
-cd filcnaplo_desktop_ui && flutter clean && flutter pub get && cd ..
+cd refilc && flutter clean && flutter pub get && cd ..
+cd refilc_kreta_api && flutter clean && flutter pub get && cd ..
+cd refilc_mobile_ui && flutter clean && flutter pub get && cd ..
+cd refilc_desktop_ui && flutter clean && flutter pub get && cd ..
cd refilc_plus && flutter clean && flutter pub get && cd ..
echo Fixed pub.
\ No newline at end of file
diff --git a/filcnaplo/.gitignore b/refilc/.gitignore
similarity index 100%
rename from filcnaplo/.gitignore
rename to refilc/.gitignore
diff --git a/filcnaplo/.metadata b/refilc/.metadata
similarity index 100%
rename from filcnaplo/.metadata
rename to refilc/.metadata
diff --git a/filcnaplo/README.md b/refilc/README.md
similarity index 86%
rename from filcnaplo/README.md
rename to refilc/README.md
index 02c4c20..775cf06 100644
--- a/filcnaplo/README.md
+++ b/refilc/README.md
@@ -1,3 +1,3 @@
-# refilc
-
-Main lib
+# refilc
+
+Main lib
diff --git a/filcnaplo_desktop_ui/analysis_options.yaml b/refilc/analysis_options.yaml
similarity index 98%
rename from filcnaplo_desktop_ui/analysis_options.yaml
rename to refilc/analysis_options.yaml
index 16f5f56..61b6c4d 100644
--- a/filcnaplo_desktop_ui/analysis_options.yaml
+++ b/refilc/analysis_options.yaml
@@ -1,28 +1,29 @@
-# This file configures the analyzer, which statically analyzes Dart code to
-# check for errors, warnings, and lints.
-#
-# The issues identified by the analyzer are surfaced in the UI of Dart-enabled
-# IDEs (https://dart.dev/tools#ides-and-editors). The analyzer can also be
-# invoked from the command line by running `flutter analyze`.
-
-# The following line activates a set of recommended lints for Flutter apps,
-# packages, and plugins designed to encourage good coding practices.
-include: package:flutter_lints/flutter.yaml
-
-linter:
- # The lint rules applied to this project can be customized in the
- # section below to disable rules from the `package:flutter_lints/flutter.yaml`
- # included above or to enable additional rules. A list of all available lints
- # and their documentation is published at
- # https://dart-lang.github.io/linter/lints/index.html.
- #
- # Instead of disabling a lint rule for the entire project in the
- # section below, it can also be suppressed for a single line of code
- # or a specific dart file by using the `// ignore: name_of_lint` and
- # `// ignore_for_file: name_of_lint` syntax on the line or in the file
- # producing the lint.
- rules:
- # avoid_print: false # Uncomment to disable the `avoid_print` rule
- # prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule
-# Additional information about this file can be found at
-# https://dart.dev/guides/language/analysis-options
+# This file configures the analyzer, which statically analyzes Dart code to
+# check for errors, warnings, and lints.
+#
+# The issues identified by the analyzer are surfaced in the UI of Dart-enabled
+# IDEs (https://dart.dev/tools#ides-and-editors). The analyzer can also be
+# invoked from the command line by running `flutter analyze`.
+
+# The following line activates a set of recommended lints for Flutter apps,
+# packages, and plugins designed to encourage good coding practices.
+include: package:flutter_lints/flutter.yaml
+
+linter:
+ # The lint rules applied to this project can be customized in the
+ # section below to disable rules from the `package:flutter_lints/flutter.yaml`
+ # included above or to enable additional rules. A list of all available lints
+ # and their documentation is published at
+ # https://dart-lang.github.io/linter/lints/index.html.
+ #
+ # Instead of disabling a lint rule for the entire project in the
+ # section below, it can also be suppressed for a single line of code
+ # or a specific dart file by using the `// ignore: name_of_lint` and
+ # `// ignore_for_file: name_of_lint` syntax on the line or in the file
+ # producing the lint.
+ rules:
+ # avoid_print: false # Uncomment to disable the `avoid_print` rule
+ # prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule
+
+# Additional information about this file can be found at
+# https://dart.dev/guides/language/analysis-options
diff --git a/filcnaplo/assets/animations/backpack-2.riv b/refilc/assets/animations/backpack-2.riv
similarity index 100%
rename from filcnaplo/assets/animations/backpack-2.riv
rename to refilc/assets/animations/backpack-2.riv
diff --git a/filcnaplo/assets/animations/bell-alert.json b/refilc/assets/animations/bell-alert.json
similarity index 100%
rename from filcnaplo/assets/animations/bell-alert.json
rename to refilc/assets/animations/bell-alert.json
diff --git a/filcnaplo/assets/fonts/FilcIcons.ttf b/refilc/assets/fonts/FilcIcons.ttf
similarity index 100%
rename from filcnaplo/assets/fonts/FilcIcons.ttf
rename to refilc/assets/fonts/FilcIcons.ttf
diff --git a/filcnaplo/assets/fonts/Montserrat/Montserrat-Black.ttf b/refilc/assets/fonts/Montserrat/Montserrat-Black.ttf
similarity index 100%
rename from filcnaplo/assets/fonts/Montserrat/Montserrat-Black.ttf
rename to refilc/assets/fonts/Montserrat/Montserrat-Black.ttf
diff --git a/filcnaplo/assets/fonts/Montserrat/Montserrat-BlackItalic.ttf b/refilc/assets/fonts/Montserrat/Montserrat-BlackItalic.ttf
similarity index 100%
rename from filcnaplo/assets/fonts/Montserrat/Montserrat-BlackItalic.ttf
rename to refilc/assets/fonts/Montserrat/Montserrat-BlackItalic.ttf
diff --git a/filcnaplo/assets/fonts/Montserrat/Montserrat-Bold.ttf b/refilc/assets/fonts/Montserrat/Montserrat-Bold.ttf
similarity index 100%
rename from filcnaplo/assets/fonts/Montserrat/Montserrat-Bold.ttf
rename to refilc/assets/fonts/Montserrat/Montserrat-Bold.ttf
diff --git a/filcnaplo/assets/fonts/Montserrat/Montserrat-BoldItalic.ttf b/refilc/assets/fonts/Montserrat/Montserrat-BoldItalic.ttf
similarity index 100%
rename from filcnaplo/assets/fonts/Montserrat/Montserrat-BoldItalic.ttf
rename to refilc/assets/fonts/Montserrat/Montserrat-BoldItalic.ttf
diff --git a/filcnaplo/assets/fonts/Montserrat/Montserrat-ExtraBold.ttf b/refilc/assets/fonts/Montserrat/Montserrat-ExtraBold.ttf
similarity index 100%
rename from filcnaplo/assets/fonts/Montserrat/Montserrat-ExtraBold.ttf
rename to refilc/assets/fonts/Montserrat/Montserrat-ExtraBold.ttf
diff --git a/filcnaplo/assets/fonts/Montserrat/Montserrat-ExtraBoldItalic.ttf b/refilc/assets/fonts/Montserrat/Montserrat-ExtraBoldItalic.ttf
similarity index 100%
rename from filcnaplo/assets/fonts/Montserrat/Montserrat-ExtraBoldItalic.ttf
rename to refilc/assets/fonts/Montserrat/Montserrat-ExtraBoldItalic.ttf
diff --git a/filcnaplo/assets/fonts/Montserrat/Montserrat-ExtraLight.ttf b/refilc/assets/fonts/Montserrat/Montserrat-ExtraLight.ttf
similarity index 100%
rename from filcnaplo/assets/fonts/Montserrat/Montserrat-ExtraLight.ttf
rename to refilc/assets/fonts/Montserrat/Montserrat-ExtraLight.ttf
diff --git a/filcnaplo/assets/fonts/Montserrat/Montserrat-ExtraLightItalic.ttf b/refilc/assets/fonts/Montserrat/Montserrat-ExtraLightItalic.ttf
similarity index 100%
rename from filcnaplo/assets/fonts/Montserrat/Montserrat-ExtraLightItalic.ttf
rename to refilc/assets/fonts/Montserrat/Montserrat-ExtraLightItalic.ttf
diff --git a/filcnaplo/assets/fonts/Montserrat/Montserrat-Italic.ttf b/refilc/assets/fonts/Montserrat/Montserrat-Italic.ttf
similarity index 100%
rename from filcnaplo/assets/fonts/Montserrat/Montserrat-Italic.ttf
rename to refilc/assets/fonts/Montserrat/Montserrat-Italic.ttf
diff --git a/filcnaplo/assets/fonts/Montserrat/Montserrat-Light.ttf b/refilc/assets/fonts/Montserrat/Montserrat-Light.ttf
similarity index 100%
rename from filcnaplo/assets/fonts/Montserrat/Montserrat-Light.ttf
rename to refilc/assets/fonts/Montserrat/Montserrat-Light.ttf
diff --git a/filcnaplo/assets/fonts/Montserrat/Montserrat-LightItalic.ttf b/refilc/assets/fonts/Montserrat/Montserrat-LightItalic.ttf
similarity index 100%
rename from filcnaplo/assets/fonts/Montserrat/Montserrat-LightItalic.ttf
rename to refilc/assets/fonts/Montserrat/Montserrat-LightItalic.ttf
diff --git a/filcnaplo/assets/fonts/Montserrat/Montserrat-Medium.ttf b/refilc/assets/fonts/Montserrat/Montserrat-Medium.ttf
similarity index 100%
rename from filcnaplo/assets/fonts/Montserrat/Montserrat-Medium.ttf
rename to refilc/assets/fonts/Montserrat/Montserrat-Medium.ttf
diff --git a/filcnaplo/assets/fonts/Montserrat/Montserrat-MediumItalic.ttf b/refilc/assets/fonts/Montserrat/Montserrat-MediumItalic.ttf
similarity index 100%
rename from filcnaplo/assets/fonts/Montserrat/Montserrat-MediumItalic.ttf
rename to refilc/assets/fonts/Montserrat/Montserrat-MediumItalic.ttf
diff --git a/filcnaplo/assets/fonts/Montserrat/Montserrat-Regular.ttf b/refilc/assets/fonts/Montserrat/Montserrat-Regular.ttf
similarity index 100%
rename from filcnaplo/assets/fonts/Montserrat/Montserrat-Regular.ttf
rename to refilc/assets/fonts/Montserrat/Montserrat-Regular.ttf
diff --git a/filcnaplo/assets/fonts/Montserrat/Montserrat-SemiBold.ttf b/refilc/assets/fonts/Montserrat/Montserrat-SemiBold.ttf
similarity index 100%
rename from filcnaplo/assets/fonts/Montserrat/Montserrat-SemiBold.ttf
rename to refilc/assets/fonts/Montserrat/Montserrat-SemiBold.ttf
diff --git a/filcnaplo/assets/fonts/Montserrat/Montserrat-SemiBoldItalic.ttf b/refilc/assets/fonts/Montserrat/Montserrat-SemiBoldItalic.ttf
similarity index 100%
rename from filcnaplo/assets/fonts/Montserrat/Montserrat-SemiBoldItalic.ttf
rename to refilc/assets/fonts/Montserrat/Montserrat-SemiBoldItalic.ttf
diff --git a/filcnaplo/assets/fonts/Montserrat/Montserrat-Thin.ttf b/refilc/assets/fonts/Montserrat/Montserrat-Thin.ttf
similarity index 100%
rename from filcnaplo/assets/fonts/Montserrat/Montserrat-Thin.ttf
rename to refilc/assets/fonts/Montserrat/Montserrat-Thin.ttf
diff --git a/filcnaplo/assets/fonts/Montserrat/Montserrat-ThinItalic.ttf b/refilc/assets/fonts/Montserrat/Montserrat-ThinItalic.ttf
similarity index 100%
rename from filcnaplo/assets/fonts/Montserrat/Montserrat-ThinItalic.ttf
rename to refilc/assets/fonts/Montserrat/Montserrat-ThinItalic.ttf
diff --git a/filcnaplo/assets/fonts/SpaceMono/SpaceMono-Bold.ttf b/refilc/assets/fonts/SpaceMono/SpaceMono-Bold.ttf
similarity index 100%
rename from filcnaplo/assets/fonts/SpaceMono/SpaceMono-Bold.ttf
rename to refilc/assets/fonts/SpaceMono/SpaceMono-Bold.ttf
diff --git a/filcnaplo/assets/fonts/SpaceMono/SpaceMono-BoldItalic.ttf b/refilc/assets/fonts/SpaceMono/SpaceMono-BoldItalic.ttf
similarity index 100%
rename from filcnaplo/assets/fonts/SpaceMono/SpaceMono-BoldItalic.ttf
rename to refilc/assets/fonts/SpaceMono/SpaceMono-BoldItalic.ttf
diff --git a/filcnaplo/assets/fonts/SpaceMono/SpaceMono-Italic.ttf b/refilc/assets/fonts/SpaceMono/SpaceMono-Italic.ttf
similarity index 100%
rename from filcnaplo/assets/fonts/SpaceMono/SpaceMono-Italic.ttf
rename to refilc/assets/fonts/SpaceMono/SpaceMono-Italic.ttf
diff --git a/filcnaplo/assets/fonts/SpaceMono/SpaceMono-Regular.ttf b/refilc/assets/fonts/SpaceMono/SpaceMono-Regular.ttf
similarity index 100%
rename from filcnaplo/assets/fonts/SpaceMono/SpaceMono-Regular.ttf
rename to refilc/assets/fonts/SpaceMono/SpaceMono-Regular.ttf
diff --git a/filcnaplo/assets/icons/ic_android.png b/refilc/assets/icons/ic_android.png
similarity index 100%
rename from filcnaplo/assets/icons/ic_android.png
rename to refilc/assets/icons/ic_android.png
diff --git a/filcnaplo/assets/icons/ic_launcher.png b/refilc/assets/icons/ic_launcher.png
similarity index 100%
rename from filcnaplo/assets/icons/ic_launcher.png
rename to refilc/assets/icons/ic_launcher.png
diff --git a/filcnaplo/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png b/refilc/assets/icons/ic_launcher_foreground.png
similarity index 100%
rename from filcnaplo/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png
rename to refilc/assets/icons/ic_launcher_foreground.png
diff --git a/filcnaplo/assets/icons/ic_launcher_monochrome.png b/refilc/assets/icons/ic_launcher_monochrome.png
similarity index 100%
rename from filcnaplo/assets/icons/ic_launcher_monochrome.png
rename to refilc/assets/icons/ic_launcher_monochrome.png
diff --git a/filcnaplo/assets/icons/ic_rounded.png b/refilc/assets/icons/ic_rounded.png
similarity index 100%
rename from filcnaplo/assets/icons/ic_rounded.png
rename to refilc/assets/icons/ic_rounded.png
diff --git a/filcnaplo/assets/icons/ic_splash.png b/refilc/assets/icons/ic_splash.png
similarity index 100%
rename from filcnaplo/assets/icons/ic_splash.png
rename to refilc/assets/icons/ic_splash.png
diff --git a/filcnaplo/assets/images/btn_github.svg b/refilc/assets/images/btn_github.svg
similarity index 100%
rename from filcnaplo/assets/images/btn_github.svg
rename to refilc/assets/images/btn_github.svg
diff --git a/filcnaplo/assets/images/card_border.png b/refilc/assets/images/card_border.png
similarity index 100%
rename from filcnaplo/assets/images/card_border.png
rename to refilc/assets/images/card_border.png
diff --git a/filcnaplo/assets/images/desktop_icon.svg b/refilc/assets/images/desktop_icon.svg
similarity index 99%
rename from filcnaplo/assets/images/desktop_icon.svg
rename to refilc/assets/images/desktop_icon.svg
index b0abc6a..547426f 100644
--- a/filcnaplo/assets/images/desktop_icon.svg
+++ b/refilc/assets/images/desktop_icon.svg
@@ -1,3 +1,3 @@
-
+
diff --git a/filcnaplo/assets/images/github.svg b/refilc/assets/images/github.svg
similarity index 99%
rename from filcnaplo/assets/images/github.svg
rename to refilc/assets/images/github.svg
index 2b3a4e3..849d5c6 100644
--- a/filcnaplo/assets/images/github.svg
+++ b/refilc/assets/images/github.svg
@@ -1,3 +1,3 @@
-
+
diff --git a/filcnaplo/assets/images/goal_icon.svg b/refilc/assets/images/goal_icon.svg
similarity index 99%
rename from filcnaplo/assets/images/goal_icon.svg
rename to refilc/assets/images/goal_icon.svg
index cb3aeff..a4bd0e5 100644
--- a/filcnaplo/assets/images/goal_icon.svg
+++ b/refilc/assets/images/goal_icon.svg
@@ -1,3 +1,3 @@
-
+
diff --git a/filcnaplo/assets/images/heart.png b/refilc/assets/images/heart.png
similarity index 100%
rename from filcnaplo/assets/images/heart.png
rename to refilc/assets/images/heart.png
diff --git a/filcnaplo/assets/images/kupak.svg b/refilc/assets/images/kupak.svg
similarity index 99%
rename from filcnaplo/assets/images/kupak.svg
rename to refilc/assets/images/kupak.svg
index 5cedfa9..9a7c0df 100644
--- a/filcnaplo/assets/images/kupak.svg
+++ b/refilc/assets/images/kupak.svg
@@ -1,3 +1,3 @@
-
+
diff --git a/filcnaplo/assets/images/logo.png b/refilc/assets/images/logo.png
similarity index 100%
rename from filcnaplo/assets/images/logo.png
rename to refilc/assets/images/logo.png
diff --git a/filcnaplo/assets/images/nickname_icon.svg b/refilc/assets/images/nickname_icon.svg
similarity index 99%
rename from filcnaplo/assets/images/nickname_icon.svg
rename to refilc/assets/images/nickname_icon.svg
index cf0ded3..90269de 100644
--- a/filcnaplo/assets/images/nickname_icon.svg
+++ b/refilc/assets/images/nickname_icon.svg
@@ -1,3 +1,3 @@
-
+
diff --git a/filcnaplo/assets/images/plus_tier_cap.png b/refilc/assets/images/plus_tier_cap.png
similarity index 100%
rename from filcnaplo/assets/images/plus_tier_cap.png
rename to refilc/assets/images/plus_tier_cap.png
diff --git a/filcnaplo/assets/images/plus_tier_ink.png b/refilc/assets/images/plus_tier_ink.png
similarity index 100%
rename from filcnaplo/assets/images/plus_tier_ink.png
rename to refilc/assets/images/plus_tier_ink.png
diff --git a/filcnaplo/assets/images/plus_tier_sponge.png b/refilc/assets/images/plus_tier_sponge.png
similarity index 100%
rename from filcnaplo/assets/images/plus_tier_sponge.png
rename to refilc/assets/images/plus_tier_sponge.png
diff --git a/filcnaplo/assets/images/premium_top_banner.png b/refilc/assets/images/premium_top_banner.png
similarity index 100%
rename from filcnaplo/assets/images/premium_top_banner.png
rename to refilc/assets/images/premium_top_banner.png
diff --git a/filcnaplo/assets/images/static_confetti.png b/refilc/assets/images/static_confetti.png
similarity index 100%
rename from filcnaplo/assets/images/static_confetti.png
rename to refilc/assets/images/static_confetti.png
diff --git a/filcnaplo/assets/images/stats_icon.svg b/refilc/assets/images/stats_icon.svg
similarity index 99%
rename from filcnaplo/assets/images/stats_icon.svg
rename to refilc/assets/images/stats_icon.svg
index 43be2f6..8bb9e56 100644
--- a/filcnaplo/assets/images/stats_icon.svg
+++ b/refilc/assets/images/stats_icon.svg
@@ -1,3 +1,3 @@
-
+
diff --git a/filcnaplo/assets/images/subject_covers/math_light.png b/refilc/assets/images/subject_covers/math_light.png
similarity index 100%
rename from filcnaplo/assets/images/subject_covers/math_light.png
rename to refilc/assets/images/subject_covers/math_light.png
diff --git a/filcnaplo/assets/images/theme_icon.svg b/refilc/assets/images/theme_icon.svg
similarity index 99%
rename from filcnaplo/assets/images/theme_icon.svg
rename to refilc/assets/images/theme_icon.svg
index 33f2db5..0cb9a51 100644
--- a/filcnaplo/assets/images/theme_icon.svg
+++ b/refilc/assets/images/theme_icon.svg
@@ -1,3 +1,3 @@
-
+
diff --git a/filcnaplo/assets/images/timetable_icon.svg b/refilc/assets/images/timetable_icon.svg
similarity index 99%
rename from filcnaplo/assets/images/timetable_icon.svg
rename to refilc/assets/images/timetable_icon.svg
index 212098d..f77b745 100644
--- a/filcnaplo/assets/images/timetable_icon.svg
+++ b/refilc/assets/images/timetable_icon.svg
@@ -1,5 +1,5 @@
-
+
diff --git a/filcnaplo/assets/images/tinta.svg b/refilc/assets/images/tinta.svg
similarity index 99%
rename from filcnaplo/assets/images/tinta.svg
rename to refilc/assets/images/tinta.svg
index a9dfd9e..29fbd76 100644
--- a/filcnaplo/assets/images/tinta.svg
+++ b/refilc/assets/images/tinta.svg
@@ -1,3 +1,3 @@
-
+
diff --git a/filcnaplo/assets/images/widget_icon.svg b/refilc/assets/images/widget_icon.svg
similarity index 98%
rename from filcnaplo/assets/images/widget_icon.svg
rename to refilc/assets/images/widget_icon.svg
index 4b6be9f..73e4782 100644
--- a/filcnaplo/assets/images/widget_icon.svg
+++ b/refilc/assets/images/widget_icon.svg
@@ -1,3 +1,3 @@
-
+
diff --git a/filcnaplo/assets/launch_icons/refilc_concept.png b/refilc/assets/launch_icons/refilc_concept.png
similarity index 100%
rename from filcnaplo/assets/launch_icons/refilc_concept.png
rename to refilc/assets/launch_icons/refilc_concept.png
diff --git a/filcnaplo/assets/launch_icons/refilc_default.png b/refilc/assets/launch_icons/refilc_default.png
similarity index 100%
rename from filcnaplo/assets/launch_icons/refilc_default.png
rename to refilc/assets/launch_icons/refilc_default.png
diff --git a/filcnaplo/assets/launch_icons/refilc_overcomplicated.png b/refilc/assets/launch_icons/refilc_overcomplicated.png
similarity index 100%
rename from filcnaplo/assets/launch_icons/refilc_overcomplicated.png
rename to refilc/assets/launch_icons/refilc_overcomplicated.png
diff --git a/filcnaplo/assets/launch_icons/refilc_pride.png b/refilc/assets/launch_icons/refilc_pride.png
similarity index 100%
rename from filcnaplo/assets/launch_icons/refilc_pride.png
rename to refilc/assets/launch_icons/refilc_pride.png
diff --git a/filcnaplo/build-ipa.sh b/refilc/build-ipa.sh
old mode 100755
new mode 100644
similarity index 100%
rename from filcnaplo/build-ipa.sh
rename to refilc/build-ipa.sh
diff --git a/filcnaplo/build.sh b/refilc/build.sh
old mode 100755
new mode 100644
similarity index 100%
rename from filcnaplo/build.sh
rename to refilc/build.sh
diff --git a/filcnaplo/lib/api/client.dart b/refilc/lib/api/client.dart
similarity index 93%
rename from filcnaplo/lib/api/client.dart
rename to refilc/lib/api/client.dart
index 1736f25..ca5106a 100644
--- a/filcnaplo/lib/api/client.dart
+++ b/refilc/lib/api/client.dart
@@ -1,357 +1,357 @@
-import 'dart:async';
-import 'dart:convert';
-import 'dart:developer';
-import 'dart:io';
-
-import 'package:filcnaplo/models/ad.dart';
-import 'package:filcnaplo/models/config.dart';
-import 'package:filcnaplo/models/news.dart';
-import 'package:filcnaplo/models/release.dart';
-import 'package:filcnaplo/models/settings.dart';
-import 'package:filcnaplo/models/shared_theme.dart';
-import 'package:filcnaplo/models/supporter.dart';
-import 'package:filcnaplo_kreta_api/models/school.dart';
-import 'package:flutter/foundation.dart';
-import 'package:flutter/material.dart';
-import 'package:http/http.dart' as http;
-import 'package:connectivity_plus/connectivity_plus.dart';
-
-class FilcAPI {
- // API base
- static const baseUrl = "https://api.refilc.hu";
-
- // Public API
- static const schoolList = "$baseUrl/v1/public/school-list";
- static const news = "$baseUrl/v1/public/news";
- static const supporters = "$baseUrl/v1/public/supporters";
-
- // Private API
- static const ads = "$baseUrl/v1/private/ads";
- static const config = "$baseUrl/v1/private/config";
- static const reportApi = "$baseUrl/v1/private/crash-report";
- static const rfPlus = "$baseUrl/v2/rf-plus";
- static const plusAuthLogin = "$rfPlus/auth/login";
- static const plusAuthCallback = "$rfPlus/auth/callback";
- static const plusActivation = "$rfPlus/activate";
- static const plusScopes = "$rfPlus/scopes";
-
- // Updates
- static const repo = "refilc/naplo";
- static const releases = "https://api.github.com/repos/$repo/releases";
-
- // Share API
- static const themeShare = "$baseUrl/v2/shared/theme/add";
- static const themeGet = "$baseUrl/v2/shared/theme/get";
- static const allThemes = "$themeGet/all";
- static const themeByID = "$themeGet/";
-
- static const gradeColorsShare = "$baseUrl/v2/shared/grade-colors/add";
- static const gradeColorsGet = "$baseUrl/v2/shared/grade-colors/get";
- static const allGradeColors = "$gradeColorsGet/all";
- static const gradeColorsByID = "$gradeColorsGet/";
-
- static Future checkConnectivity() async =>
- (await Connectivity().checkConnectivity()) != ConnectivityResult.none;
-
- static Future?> getSchools() async {
- try {
- http.Response res = await http.get(Uri.parse(schoolList));
-
- if (res.statusCode == 200) {
- List schools = (jsonDecode(res.body) as List)
- .cast