Skip to content

Commit dfec1e6

Browse files
jsurreaSnowArtziGotty
authored
Sprint 3 Release - Flutter (#128)
This is the release for the Sprint 3 --------- Co-authored-by: David Santiago Ortiz Almanza <69651671+SnowArtz@users.noreply.github.com> Co-authored-by: Gotty <78111224+iGotty@users.noreply.github.com> Co-authored-by: SnowArtz <ds.ortiz@uniandes.edu.co>
1 parent fb82f59 commit dfec1e6

148 files changed

Lines changed: 5257 additions & 2623 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.idea/Flutter.iml

Lines changed: 11 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 29 additions & 9 deletions

unischedule/.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -478,3 +478,8 @@ ios/Podfile
478478
# freezer
479479
**/*.g.dart
480480
**/*.freezed.dart
481+
482+
# Firebase
483+
ios/Runner/GoogleService-Info.plist
484+
android/app/google-services.json
485+
lib/firebase_options.dart

unischedule/README.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

unischedule/analysis_options.yaml

Lines changed: 2 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,6 @@
1-
# This file configures the analyzer, which statically analyzes Dart code to
2-
# check for errors, warnings, and lints.
3-
#
4-
# The issues identified by the analyzer are surfaced in the UI of Dart-enabled
5-
# IDEs (https://dart.dev/tools#ides-and-editors). The analyzer can also be
6-
# invoked from the command line by running `flutter analyze`.
7-
8-
# The following line activates a set of recommended lints for Flutter apps,
9-
# packages, and plugins designed to encourage good coding practices.
101
include: package:flutter_lints/flutter.yaml
112

123
linter:
13-
# The lint rules applied to this project can be customized in the
14-
# section below to disable rules from the `package:flutter_lints/flutter.yaml`
15-
# included above or to enable additional rules. A list of all available lints
16-
# and their documentation is published at https://dart.dev/lints.
17-
#
18-
# Instead of disabling a lint rule for the entire project in the
19-
# section below, it can also be suppressed for a single line of code
20-
# or a specific dart file by using the `// ignore: name_of_lint` and
21-
# `// ignore_for_file: name_of_lint` syntax on the line or in the file
22-
# producing the lint.
234
rules:
24-
# avoid_print: false # Uncomment to disable the `avoid_print` rule
25-
# prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule
26-
27-
# Additional information about this file can be found at
28-
# https://dart.dev/guides/language/analysis-options
5+
avoid_print: false
6+
prefer_single_quotes: true

unischedule/android/app/build.gradle

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
1+
buildscript {
2+
dependencies {
3+
classpath 'com.android.tools.build:gradle:7.3.1'
4+
}
5+
}
6+
17
plugins {
28
id "com.android.application"
9+
// START: FlutterFire Configuration
10+
id 'com.google.gms.google-services'
11+
id 'com.google.firebase.crashlytics'
12+
// END: FlutterFire Configuration
313
id "kotlin-android"
414
id "dev.flutter.flutter-gradle-plugin"
515
}
@@ -24,10 +34,12 @@ if (flutterVersionName == null) {
2434

2535
android {
2636
namespace "com.example.unischedule"
37+
compileSdk 34
2738
compileSdkVersion 34
2839
ndkVersion flutter.ndkVersion
2940

3041
compileOptions {
42+
coreLibraryDesugaringEnabled true
3143
sourceCompatibility JavaVersion.VERSION_1_8
3244
targetCompatibility JavaVersion.VERSION_1_8
3345
}
@@ -49,6 +61,7 @@ android {
4961
targetSdkVersion flutter.targetSdkVersion
5062
versionCode flutterVersionCode.toInteger()
5163
versionName flutterVersionName
64+
multiDexEnabled true
5265
}
5366

5467
buildTypes {
@@ -64,4 +77,8 @@ flutter {
6477
source '../..'
6578
}
6679

67-
dependencies {}
80+
dependencies {
81+
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.2.2'
82+
implementation 'androidx.window:window:1.0.0'
83+
implementation 'androidx.window:window-java:1.0.0'
84+
}
Lines changed: 30 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,48 @@
11
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
2-
<uses-permission android:name="android.permission.USE_BIOMETRIC"/>
3-
<uses-permission android:name="android.permission.SCHEDULE_EXACT_ALARM"/>
4-
<uses-permission android:name="android.permission.USE_EXACT_ALARM"/>
2+
<uses-permission
3+
android:name="android.permission.USE_BIOMETRIC"/>
4+
<uses-permission
5+
android:name="android.permission.SCHEDULE_EXACT_ALARM"/>
6+
<uses-permission
7+
android:name="android.permission.USE_EXACT_ALARM"/>
8+
<uses-permission
9+
android:name="android.permission.INTERNET"/>
10+
<uses-permission
11+
android:name="android.permission.ACCESS_NETWORK_STATE"/>
12+
<uses-permission
13+
android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
14+
<uses-permission
15+
android:name="android.permission.USE_FULL_SCREEN_INTENT" />
516
<application
6-
android:label="unischedule"
17+
android:label="UniSchedule"
718
android:name="${applicationName}"
819
android:icon="@mipmap/ic_launcher">
20+
<receiver android:exported="false" android:name="com.dexterous.flutterlocalnotifications.ActionBroadcastReceiver" />
21+
<receiver android:exported="false" android:name="com.dexterous.flutterlocalnotifications.ScheduledNotificationReceiver" />
22+
<receiver android:exported="false" android:name="com.dexterous.flutterlocalnotifications.ScheduledNotificationBootReceiver">
23+
<intent-filter>
24+
<action android:name="android.intent.action.BOOT_COMPLETED"/>
25+
<action android:name="android.intent.action.MY_PACKAGE_REPLACED"/>
26+
<action android:name="android.intent.action.QUICKBOOT_POWERON" />
27+
<action android:name="com.htc.intent.action.QUICKBOOT_POWERON"/>
28+
</intent-filter>
29+
</receiver>
930
<activity
1031
android:name=".MainActivity"
1132
android:exported="true"
1233
android:launchMode="singleTop"
1334
android:theme="@style/LaunchTheme"
1435
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
1536
android:hardwareAccelerated="true"
16-
android:windowSoftInputMode="adjustResize"
17-
android:screenOrientation="portrait"> <!-- Línea agregada para bloquear la orientación en modo retrato -->
37+
android:windowSoftInputMode="adjustResize">
38+
<!-- Línea agregada para bloquear la orientación en modo retrato -->
1839
<!-- Specifies an Android theme to apply to this Activity as soon as
1940
the Android process has started. This theme is visible to the user
2041
while the Flutter UI initializes. After that, this theme continues
2142
to determine the Window background behind the Flutter UI. -->
2243
<meta-data
2344
android:name="io.flutter.embedding.android.NormalTheme"
24-
android:resource="@style/NormalTheme"
25-
/>
45+
android:resource="@style/NormalTheme"/>
2646
<intent-filter>
2747
<action android:name="android.intent.action.MAIN"/>
2848
<category android:name="android.intent.category.LAUNCHER"/>
@@ -32,6 +52,6 @@
3252
This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
3353
<meta-data
3454
android:name="flutterEmbedding"
35-
android:value="2" />
55+
android:value="2"/>
3656
</application>
37-
</manifest>
57+
</manifest>
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
// Generated file.
2+
//
3+
// If you wish to remove Flutter's multidex support, delete this entire file.
4+
//
5+
// Modifications to this file should be done in a copy under a different name
6+
// as this file may be regenerated.
7+
8+
package io.flutter.app;
9+
10+
import android.app.Application;
11+
import android.content.Context;
12+
import androidx.annotation.CallSuper;
13+
import androidx.multidex.MultiDex;
14+
15+
/**
16+
* Extension of {@link android.app.Application}, adding multidex support.
17+
*/
18+
public class FlutterMultiDexApplication extends Application {
19+
@Override
20+
@CallSuper
21+
protected void attachBaseContext(Context base) {
22+
super.attachBaseContext(base);
23+
MultiDex.install(this);
24+
}
25+
}
432 Bytes
312 Bytes

0 commit comments

Comments
 (0)