Skip to content

Commit 848273e

Browse files
committed
some errors handled
1 parent 39313f2 commit 848273e

15 files changed

Lines changed: 26 additions & 42 deletions

File tree

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,15 @@ This is a android application based on Codeforces.
4242

4343
![Search Handle](assets/ss/search-handle.png)
4444

45+
* Invalid handle exception handle
46+
![Invalid handle exception ](assets/ss/invalid.png)
47+
4548
- Handle Details
4649

4750
![Handle Details](assets/ss/user_profile.png)
4851

52+
![](assets/ss/profile.png)
53+
4954
* Compare handles
5055

5156
![Compare handles](assets/ss/compare.png)

android/app/src/main/AndroidManifest.xml

Lines changed: 15 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,12 @@
77
FlutterApplication and put your custom class here.
88
-->
99
<uses-permission android:name="android.permission.INTERNET" />
10-
1110
<!-- things for alarm management -->
12-
1311
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
1412
<uses-permission android:name="android.permission.WAKE_LOCK" />
15-
<uses-permission android:name="android.permission.SET_ALARM"/>
13+
<uses-permission android:name="android.permission.SET_ALARM" />
1614
<uses-permission android:name="android.permission.VIBRATE" />
17-
1815
<!-- things for alarm management -->
19-
2016
<application android:name="io.flutter.app.FlutterApplication" android:label="Codeforces" android:icon="@mipmap/ic_launcher">
2117
<activity android:name=".MainActivity" android:launchMode="singleTop" android:theme="@style/LaunchTheme" android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode" android:hardwareAccelerated="true" android:windowSoftInputMode="adjustResize">
2218
<!--
@@ -44,41 +40,22 @@
4440
This is used by the Flutter tool to generate GeneratedPluginRegistrant.java
4541
-->
4642
<meta-data android:name="flutterEmbedding" android:value="2" />
47-
4843
<!-- things for alarm management -->
49-
50-
<service
51-
android:name="io.flutter.plugins.androidalarmmanager.AlarmService"
52-
android:permission="android.permission.BIND_JOB_SERVICE"
53-
android:exported="false"
54-
/>
55-
56-
<receiver
57-
android:name="io.flutter.plugins.androidalarmmanager.AlarmBroadcastReceiver"
58-
android:exported="false"
59-
/>
60-
61-
<receiver
62-
android:name="io.flutter.plugins.androidalarmmanager.RebootBroadcastReceiver"
63-
android:enabled="false">
64-
<intent-filter>
65-
<action android:name="android.intent.action.BOOT_COMPLETED">
66-
</action>
67-
</intent-filter>
44+
<service android:name="io.flutter.plugins.androidalarmmanager.AlarmService" android:permission="android.permission.BIND_JOB_SERVICE" android:exported="false" />
45+
<receiver android:name="io.flutter.plugins.androidalarmmanager.AlarmBroadcastReceiver" android:exported="false" />
46+
<receiver android:name="io.flutter.plugins.androidalarmmanager.RebootBroadcastReceiver" android:enabled="false">
47+
<intent-filter>
48+
<action android:name="android.intent.action.BOOT_COMPLETED">
49+
</action>
50+
</intent-filter>
51+
</receiver>
52+
<receiver android:name="com.dexterous.flutterlocalnotifications.ScheduledNotificationBootReceiver">
53+
<intent-filter>
54+
<action android:name="android.intent.action.BOOT_COMPLETED">
55+
</action>
56+
</intent-filter>
6857
</receiver>
69-
70-
71-
72-
<receiver android:name="com.dexterous.flutterlocalnotifications.ScheduledNotificationBootReceiver">
73-
<intent-filter>
74-
<action android:name="android.intent.action.BOOT_COMPLETED"></action>
75-
</intent-filter>
76-
</receiver>
77-
78-
<receiver android:name="com.dexterous.flutterlocalnotifications.ScheduledNotificationReceiver" />
79-
58+
<receiver android:name="com.dexterous.flutterlocalnotifications.ScheduledNotificationReceiver" />
8059
<!-- things for alarm management -->
81-
8260
</application>
83-
8461
</manifest>
1.55 KB
Loading
1.55 KB
Loading
1.65 KB
Loading
1.38 KB
Loading
1.08 KB
Loading
693 Bytes
Loading

assets/ss/invalid.png

23.9 KB
Loading

assets/ss/profile.png

66 KB
Loading

0 commit comments

Comments
 (0)