Skip to content

Commit

Permalink
Merge pull request #29 from NEO-TAT/dev
Browse files Browse the repository at this point in the history
version 1.2.10
  • Loading branch information
morris13579 authored Aug 12, 2020
2 parents bf29c7b + 07d088d commit f5da551
Show file tree
Hide file tree
Showing 126 changed files with 4,614 additions and 3,958 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
<img width="180" alt='Get it on Google Play' src='https://play.google.com/intl/en_us/badges/images/generic/en_badge_web_generic.png'/>
</a>

<a href="https://apps.apple.com/tw/app/tat-北科生活/id1513875597?l=en">
<img alt='Get it on AppStore' src='https://linkmaker.itunes.apple.com/en-us/badge-lrg.svg?releaseDate=2019-04-02&kind=iossoftware&bubble=ios_apps' width='200'>
</a>

## 功能
1. 查詢北科學生課表
2. 查詢北科當學年行事曆
Expand Down
2 changes: 2 additions & 0 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ android {

lintOptions {
disable 'InvalidPackage'
checkReleaseBuilds false
abortOnError false
}

defaultConfig {
Expand Down
6 changes: 6 additions & 0 deletions android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@
android:theme="@style/LaunchTheme"
android:clearTaskOnLaunch="true"
android:windowSoftInputMode="adjustResize">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<meta-data
android:name="io.flutter.embedding.android.NormalTheme"
android:resource="@style/NormalTheme" />
Expand All @@ -37,10 +41,12 @@
<activity
android:name=".BootLoaderActivity"
android:theme="@style/LaunchTheme">
<!--
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
-->
</activity>

<receiver android:name="widget.CourseWidgetProvider">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import java.io.File;

import io.flutter.embedding.engine.loader.FlutterLoader;
import io.flutter.embedding.engine.loader.FlutterLoaderV011400;
import io.flutter.embedding.engine.loader.FlutterLoaderV012000;
import io.flutter.view.FlutterMain;

public class FlutterManager {
Expand All @@ -18,7 +18,7 @@ public static void startInitialization(Context context) {
}

public static void startInitialization(Context context, File aotFile) {
startInitialization(context, aotFile, FlutterVersion.VERSION_011400);
startInitialization(context, aotFile, FlutterVersion.VERSION_012000);
}

public static void startInitialization(Context context, File aotFile, FlutterVersion version) {
Expand Down Expand Up @@ -51,8 +51,8 @@ private static FlutterLoader.Settings getFlutterLoaderSettings(FlutterMain.Setti
}

private static FlutterCallback generateFlutterCallback(FlutterVersion version) {
if (FlutterVersion.VERSION_011400 == version) {
return FlutterLoaderV011400.getInstance();
if (FlutterVersion.VERSION_012000 == version) {
return FlutterLoaderV012000.getInstance();
}
return null;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ public enum FlutterVersion {
/**
* Flutter Version: 1.14.0
*/
VERSION_011400
VERSION_012000
}
Loading

0 comments on commit f5da551

Please sign in to comment.