Skip to content
This repository was archived by the owner on Feb 23, 2021. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 48 additions & 0 deletions team#7-{9}/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# Miscellaneous
*.class
*.log
*.pyc
*.swp
.DS_Store
.atom/
.buildlog/
.history
.svn/

# IntelliJ related
*.iml
*.ipr
*.iws
.idea/

# The .vscode folder contains launch configuration and tasks you configure in
# VS Code which you may wish to be included in version control, so this line
# is commented out by default.
#.vscode/

# Flutter/Dart/Pub related
**/doc/api/
**/ios/Flutter/.last_build_id
.dart_tool/
.flutter-plugins
.flutter-plugins-dependencies
.packages
.pub-cache/
.pub/
/build/

# Web related
lib/generated_plugin_registrant.dart

# Symbolication related
app.*.symbols

# Obfuscation related
app.*.map.json

# Android Studio will place build artifacts here
/android/app/debug
/android/app/profile
/android/app/release

/lib/globals.dart
10 changes: 10 additions & 0 deletions team#7-{9}/.metadata
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# This file tracks properties of this Flutter project.
# Used by Flutter tool to assess capabilities and perform upgrades etc.
#
# This file should be version controlled and should not be manually edited.

version:
revision: 5d36f2e7f5387b6c751449258ade8e4e6edf99be
channel: beta

project_type: app
13 changes: 13 additions & 0 deletions team#7-{9}/.vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "cf_pursuit",
"request": "launch",
"type": "dart"
}
]
}
48 changes: 48 additions & 0 deletions team#7-{9}/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# CF Pursuit


# About our Project:
CF Pursuit is an app that uses codeforces API to collect the user's data and show them in a very analytical and pictorial manner giving insight to self-improvement in the area of competitive programming. There are many unique and creative features for a competitive app which are discussed in detail below:

### Features:

| Feature Detail | Screenshot |
| ------- | :---: |
| __*Problem recommender*__ : A customized and dynamic set of problems with valid links different for every different users depending on their recent submissions and their respective tags.| <a href="https://drive.google.com/uc?export=view&id=1T7vRiGqj-jM8Kh7kb0zJupKu7M4L9rLU"></a><img src="https://drive.google.com/uc?export=view&id=1UxdFD8eL_M4x4sk8rO_JEmxJ5egRqsn0"/></img>|
|__*Customized ranklist*__ : Showing ranklist of users for recent 10 contests at a single time in order to provide ease for parallel comparisons.| <a href="https://drive.google.com/uc?export=view&id=1T7vRiGqj-jM8Kh7kb0zJupKu7M4L9rLU"></a><img src="https://drive.google.com/uc?export=view&id=1qQKXQGq79zLRQ-mHYEuWATqcmTqhL31P" /></img> |
|__*Profile viewer*__ : With a submission piechart as well as customized graph plot for ratings:chart_with_upwards_trend: of different years for good pictorial analysis.|<a href="https://drive.google.com/uc?export=view&id=1T7vRiGqj-jM8Kh7kb0zJupKu7M4L9rLU"></a><img src="https://drive.google.com/uc?export=view&id=17GNmSAz6LiFdO4zsS0lKCqrl7O-wm6p8" /></img> |
|__*Mark future contests*__ : To show the upcoming contests of codeforces with their time and countdown with an amazing feature to mark it in the user's google calender to ensure that the user gets notified with an alarm 10-15 mins before the contests starts. | <a href="https://drive.google.com/uc?export=view&id=1T7vRiGqj-jM8Kh7kb0zJupKu7M4L9rLU"></a><img src="https://drive.google.com/uc?export=view&id=1ohHIrvcx_6IUAoQeBSznBjjmF2cUKSgp"/></img> |

____

# How to run:running: the app:
<ul>
<li>You can install app from the apks provided in the tags section</li>
</ul>

```
If it fails to install because of the mobile settings, try to reinstall it.
```

<p align="center"><b>-OR-</b></p>
<ul>
<li>Download apk from this <a href="https://drive.google.com/uc?export=view&id=1Y_Z0WuhddoVkOfqtFl644m11Z1O-wnwT">link</a>.</li>
</ul>

# APIs used:key::
<ul>
<li><a href="https://codeforces.com/apiHelp">Codeforces API</a></li>
<li><a href="https://developers.google.com/calendar">Google Calendar API</a></li>
<li><a href="https://firebase.google.com/docs/reference/rest/database">Firebase Realtime Database API</a></li>
</ul>


# Lets see what we developed:computer::
<p align="center">
<a href="https://drive.google.com/uc?export=view&id=1_NOl7RORVOolkclCbECngqPM3ck8F4Xh"></a><img src="https://drive.google.com/uc?export=view&id=1_NOl7RORVOolkclCbECngqPM3ck8F4Xh" width="250" height="500"/></img></p>

____

# Team Details
<h4>Team Name:</h4><p>Donaghys</p>
<h4>Participants:</h4><ul><li>Monikinderjit Singh</li><li>Vidit Shukla</li></ul>
11 changes: 11 additions & 0 deletions team#7-{9}/android/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
gradle-wrapper.jar
/.gradle
/captures/
/gradlew
/gradlew.bat
/local.properties
GeneratedPluginRegistrant.java

# Remember to never publicly share your keystore.
# See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app
key.properties
71 changes: 71 additions & 0 deletions team#7-{9}/android/app/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
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) {
flutterVersionCode = '1'
}

def flutterVersionName = localProperties.getProperty('flutter.versionName')
if (flutterVersionName == null) {
flutterVersionName = '1.0'
}

apply plugin: 'com.android.application'
apply plugin: 'com.google.gms.google-services'
apply plugin: 'kotlin-android'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
def keystoreProperties = new Properties()
def keystorePropertiesFile = rootProject.file('key.properties')
if (keystorePropertiesFile.exists()) {
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
}

android {
compileSdkVersion 30

sourceSets {
main.java.srcDirs += 'src/main/kotlin'
}

defaultConfig {
applicationId "com.example.cf_pursuit"
minSdkVersion 16
targetSdkVersion 30
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
}
signingConfigs {
release {
keyAlias keystoreProperties['keyAlias']
keyPassword keystoreProperties['keyPassword']
storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null
storePassword keystoreProperties['storePassword']
}
}
buildTypes {
release {
signingConfig signingConfigs.debug
}
}
}

flutter {
source '../..'
}

dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation platform('com.google.firebase:firebase-bom:26.5.0')
implementation 'com.google.firebase:firebase-analytics'
}
47 changes: 47 additions & 0 deletions team#7-{9}/android/app/google-services.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"project_info": {
"project_number": "82586800751",
"project_id": "cf-pursuit",
"storage_bucket": "cf-pursuit.appspot.com"
},
"client": [
{
"client_info": {
"mobilesdk_app_id": "1:82586800751:android:b0210ea7d282291197339a",
"android_client_info": {
"package_name": "com.example.cf_pursuit"
}
},
"oauth_client": [
{
"client_id": "82586800751-orjh1ua0qgaebkvuseh3gdet328cu2h1.apps.googleusercontent.com",
"client_type": 1,
"android_info": {
"package_name": "com.example.cf_pursuit",
"certificate_hash": "2fca51acf4fab53ebc1c765af8744dd704b3001a"
}
},
{
"client_id": "82586800751-pohjad31a9rc2g0fpsknh86qrnk0ejtg.apps.googleusercontent.com",
"client_type": 3
}
],
"api_key": [
{
"current_key": "AIzaSyA15PrZGcTcUiDZ6dZrKlpC5rT6yj0sjE0"
}
],
"services": {
"appinvite_service": {
"other_platform_oauth_client": [
{
"client_id": "82586800751-pohjad31a9rc2g0fpsknh86qrnk0ejtg.apps.googleusercontent.com",
"client_type": 3
}
]
}
}
}
],
"configuration_version": "1"
}
7 changes: 7 additions & 0 deletions team#7-{9}/android/app/src/debug/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.cf_pursuit">
<!-- Flutter needs it to communicate with the running application
to allow setting breakpoints, to provide hot reload, etc.
-->
<uses-permission android:name="android.permission.INTERNET"/>
</manifest>
41 changes: 41 additions & 0 deletions team#7-{9}/android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.cf_pursuit">
<application
android:label="cf_pursuit"
android:icon="@mipmap/ic_launcher">
<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">
<!-- Specifies an Android theme to apply to this Activity as soon as
the Android process has started. This theme is visible to the user
while the Flutter UI initializes. After that, this theme continues
to determine the Window background behind the Flutter UI. -->
<meta-data
android:name="io.flutter.embedding.android.NormalTheme"
android:resource="@style/NormalTheme"
/>
<!-- Displays an Android View that continues showing the launch screen
Drawable until Flutter paints its first frame, then this splash
screen fades out. A splash screen is useful to avoid any visual
gap between the end of Android's launch screen and the painting of
Flutter's first frame. -->
<meta-data
android:name="io.flutter.embedding.android.SplashScreenDrawable"
android:resource="@drawable/launch_background"
/>
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
<!-- Don't delete the meta-data below.
This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
<meta-data
android:name="flutterEmbedding"
android:value="2" />
</application>
</manifest>
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
package com.example.cf_pursuit

import io.flutter.embedding.android.FlutterActivity

class MainActivity: FlutterActivity() {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Modify this file to customize your launch splash screen -->
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="?android:colorBackground" />

<!-- You can insert your own image assets here -->
<!-- <item>
<bitmap
android:gravity="center"
android:src="@mipmap/launch_image" />
</item> -->
</layer-list>
12 changes: 12 additions & 0 deletions team#7-{9}/android/app/src/main/res/drawable/launch_background.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Modify this file to customize your launch splash screen -->
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@android:color/white" />

<!-- You can insert your own image assets here -->
<!-- <item>
<bitmap
android:gravity="center"
android:src="@mipmap/launch_image" />
</item> -->
</layer-list>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions team#7-{9}/android/app/src/main/res/values-night/styles.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- Theme applied to the Android Window while the process is starting when the OS's Dark Mode setting is on -->
<style name="LaunchTheme" parent="@android:style/Theme.Black.NoTitleBar">
<!-- Show a splash screen on the activity. Automatically removed when
Flutter draws its first frame -->
<item name="android:windowBackground">@drawable/launch_background</item>
</style>
<!-- Theme applied to the Android Window as soon as the process has started.
This theme determines the color of the Android Window while your
Flutter UI initializes, as well as behind your Flutter UI while its
running.

This Theme is only used starting with V2 of Flutter's Android embedding. -->
<style name="NormalTheme" parent="@android:style/Theme.Black.NoTitleBar">
<item name="android:windowBackground">?android:colorBackground</item>
</style>
</resources>
18 changes: 18 additions & 0 deletions team#7-{9}/android/app/src/main/res/values/styles.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- Theme applied to the Android Window while the process is starting when the OS's Dark Mode setting is off -->
<style name="LaunchTheme" parent="@android:style/Theme.Light.NoTitleBar">
<!-- Show a splash screen on the activity. Automatically removed when
Flutter draws its first frame -->
<item name="android:windowBackground">@drawable/launch_background</item>
</style>
<!-- Theme applied to the Android Window as soon as the process has started.
This theme determines the color of the Android Window while your
Flutter UI initializes, as well as behind your Flutter UI while its
running.

This Theme is only used starting with V2 of Flutter's Android embedding. -->
<style name="NormalTheme" parent="@android:style/Theme.Light.NoTitleBar">
<item name="android:windowBackground">?android:colorBackground</item>
</style>
</resources>
7 changes: 7 additions & 0 deletions team#7-{9}/android/app/src/profile/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.cf_pursuit">
<!-- Flutter needs it to communicate with the running application
to allow setting breakpoints, to provide hot reload, etc.
-->
<uses-permission android:name="android.permission.INTERNET"/>
</manifest>
Loading