Skip to content

Commit

Permalink
Changed logo
Browse files Browse the repository at this point in the history
  • Loading branch information
tanweer919 committed Feb 2, 2021
2 parents ea84cfe + d99d0ce commit bc5d180
Show file tree
Hide file tree
Showing 181 changed files with 7,661 additions and 1,230 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@ app.*.map.json
!/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages

lib/secret.dart
android/
android/key.properties
28 changes: 21 additions & 7 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ 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')
if (keystorePropertiesFile.exists()) {
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
}

android {
compileSdkVersion 28

Expand All @@ -37,19 +43,24 @@ android {
}

defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "com.example.sportsmojo"
applicationId "com.footballmojo"
minSdkVersion 16
targetSdkVersion 28
targetSdkVersion 29
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
multiDexEnabled true
}
signingConfigs {
release {
keyAlias keystoreProperties['keyAlias']
keyPassword keystoreProperties['keyPassword']
storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null
storePassword keystoreProperties['storePassword']
}
}

buildTypes {
release {
// TODO: Add your own signing config for the release build.
// Signing with the debug keys for now, so `flutter run --release` works.
signingConfig signingConfigs.debug
signingConfig signingConfigs.release
}
}
}
Expand All @@ -61,3 +72,6 @@ flutter {
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
}

apply plugin: 'io.fabric'
apply plugin: 'com.google.gms.google-services'
48 changes: 48 additions & 0 deletions android/app/google-services.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
{
"project_info": {
"project_number": "941839892238",
"firebase_url": "https://football-mojo.firebaseio.com",
"project_id": "football-mojo",
"storage_bucket": "football-mojo.appspot.com"
},
"client": [
{
"client_info": {
"mobilesdk_app_id": "1:941839892238:android:d0657eb268d58fe8ac215f",
"android_client_info": {
"package_name": "com.footballmojo"
}
},
"oauth_client": [
{
"client_id": "941839892238-4kjeusgddi8jd3euohqngn9quts111bh.apps.googleusercontent.com",
"client_type": 1,
"android_info": {
"package_name": "com.footballmojo",
"certificate_hash": "6ab1580b9c5164660d0fed14658959d0002689c2"
}
},
{
"client_id": "941839892238-156mnil47ubu5nmgvgpj64c5g7flg6vp.apps.googleusercontent.com",
"client_type": 3
}
],
"api_key": [
{
"current_key": "AIzaSyAvqa03yfFA8iiMuUdfvYUAiqPeLG4O_ek"
}
],
"services": {
"appinvite_service": {
"other_platform_oauth_client": [
{
"client_id": "941839892238-156mnil47ubu5nmgvgpj64c5g7flg6vp.apps.googleusercontent.com",
"client_type": 3
}
]
}
}
}
],
"configuration_version": "1"
}
2 changes: 1 addition & 1 deletion android/app/src/debug/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.sportsmojo">
package="com.footballmojo">
<!-- Flutter needs it to communicate with the running application
to allow setting breakpoints, to provide hot reload, etc.
-->
Expand Down
17 changes: 13 additions & 4 deletions android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,20 +1,21 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.sportsmojo">
package="com.footballmojo">
<!-- io.flutter.app.FlutterApplication is an android.app.Application that
calls FlutterMain.startInitialization(this); in its onCreate method.
In most cases you can leave this as-is, but you if you want to provide
additional functionality it is fine to subclass or reimplement
FlutterApplication and put your custom class here. -->
<application
android:name="io.flutter.app.FlutterApplication"
android:label="sportsmojo"
android:icon="@mipmap/ic_launcher">
android:label="Football Mojo"
android:icon="@mipmap/launcher_icon">
<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:screenOrientation="portrait"
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
Expand All @@ -37,11 +38,19 @@
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
<intent-filter>
<action android:name="FLUTTER_NOTIFICATION_CLICK" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
<meta-data
android:name="com.google.firebase.messaging.default_notification_channel_id"
android:value="@string/default_notification_channel_id" />
</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>
<uses-permission android:name="android.permission.INTERNET"/>
</manifest>

This file was deleted.

9 changes: 9 additions & 0 deletions android/app/src/main/kotlin/com/footballmojo/MainActivity.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
package com.footballmojo

import io.flutter.embedding.android.FlutterActivity

import android.os.Build
import android.view.ViewTreeObserver
import android.view.WindowManager
class MainActivity: FlutterActivity() {
}
Binary file added android/app/src/main/res/drawable-hdpi/splash.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added android/app/src/main/res/drawable-mdpi/splash.png
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.
6 changes: 5 additions & 1 deletion android/app/src/main/res/drawable/launch_background.xml
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
<?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" />
<item android:drawable="@color/splash_color" />

<!-- You can insert your own image assets here -->
<!-- <item>
<bitmap
android:gravity="center"
android:src="@mipmap/launch_image" />
</item> -->
<item>
<bitmap android:gravity="fill" android:src="@drawable/splash" />
</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.
4 changes: 4 additions & 0 deletions android/app/src/main/res/values/colors.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="splash_color">#50C878</color>
</resources>
4 changes: 4 additions & 0 deletions android/app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="default_notification_channel_id" translatable="false">fcm_default_channel</string>
</resources>
4 changes: 3 additions & 1 deletion android/app/src/main/res/values/styles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,7 @@
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:color/white</item>
<item name="android:windowFullscreen">true</item>

</style>
</resources>
</resources>
2 changes: 1 addition & 1 deletion android/app/src/profile/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.sportsmojo">
package="com.footballmojo">
<!-- Flutter needs it to communicate with the running application
to allow setting breakpoints, to provide hot reload, etc.
-->
Expand Down
8 changes: 8 additions & 0 deletions android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,26 @@ buildscript {
repositories {
google()
jcenter()
maven {
url 'https://maven.fabric.io/public'
}
}

dependencies {
classpath 'com.android.tools.build:gradle:3.5.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'com.google.gms:google-services:4.3.3'
classpath 'io.fabric.tools:gradle:1.26.1'
}
}

allprojects {
repositories {
google()
jcenter()
maven {
url 'https://maven.fabric.io/public'
}
}
}

Expand Down
1 change: 1 addition & 0 deletions android/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ org.gradle.jvmargs=-Xmx1536M
android.enableR8=true
android.useAndroidX=true
android.enableJetifier=true
android.bundle.enableUncompressedNativeLibs=false
Binary file added assets/images/empty.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/football_cover.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/google_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/moon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/news_source_default.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/nointernet.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/notfound.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/splash_screen.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/sun.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/user-placeholder.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions flutter_native_splash.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
flutter_native_splash:
image: assets/images/splash_screen.png
color: "50C878"
android: true
fill: true
10 changes: 10 additions & 0 deletions ios/Flutter/Generated 12.xcconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// This is a generated file; do not edit or check into version control.
FLUTTER_ROOT=/Users/tanweeranwar/Downloads/flutter/flutter
FLUTTER_APPLICATION_PATH=/Users/tanweeranwar/Documents/flutter/sportsmojo
FLUTTER_TARGET=lib/main.dart
FLUTTER_BUILD_DIR=build
SYMROOT=${SOURCE_ROOT}/../build/ios
OTHER_LDFLAGS=$(inherited) -framework Flutter
FLUTTER_FRAMEWORK_DIR=/Users/tanweeranwar/Downloads/flutter/flutter/bin/cache/artifacts/engine/ios
FLUTTER_BUILD_NAME=1.0.0
FLUTTER_BUILD_NUMBER=1
10 changes: 10 additions & 0 deletions ios/Flutter/Generated 13.xcconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// This is a generated file; do not edit or check into version control.
FLUTTER_ROOT=/Users/tanweeranwar/Downloads/flutter/flutter
FLUTTER_APPLICATION_PATH=/Users/tanweeranwar/Documents/flutter/sportsmojo
FLUTTER_TARGET=lib/main.dart
FLUTTER_BUILD_DIR=build
SYMROOT=${SOURCE_ROOT}/../build/ios
OTHER_LDFLAGS=$(inherited) -framework Flutter
FLUTTER_FRAMEWORK_DIR=/Users/tanweeranwar/Downloads/flutter/flutter/bin/cache/artifacts/engine/ios
FLUTTER_BUILD_NAME=1.0.0
FLUTTER_BUILD_NUMBER=1
10 changes: 10 additions & 0 deletions ios/Flutter/Generated 14.xcconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// This is a generated file; do not edit or check into version control.
FLUTTER_ROOT=/Users/tanweeranwar/Downloads/flutter/flutter
FLUTTER_APPLICATION_PATH=/Users/tanweeranwar/Documents/flutter/sportsmojo
FLUTTER_TARGET=lib/main.dart
FLUTTER_BUILD_DIR=build
SYMROOT=${SOURCE_ROOT}/../build/ios
OTHER_LDFLAGS=$(inherited) -framework Flutter
FLUTTER_FRAMEWORK_DIR=/Users/tanweeranwar/Downloads/flutter/flutter/bin/cache/artifacts/engine/ios
FLUTTER_BUILD_NAME=1.0.0
FLUTTER_BUILD_NUMBER=1
10 changes: 10 additions & 0 deletions ios/Flutter/Generated 15.xcconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// This is a generated file; do not edit or check into version control.
FLUTTER_ROOT=/Users/tanweeranwar/Downloads/flutter/flutter
FLUTTER_APPLICATION_PATH=/Users/tanweeranwar/Documents/flutter/sportsmojo
FLUTTER_TARGET=lib/main.dart
FLUTTER_BUILD_DIR=build
SYMROOT=${SOURCE_ROOT}/../build/ios
OTHER_LDFLAGS=$(inherited) -framework Flutter
FLUTTER_FRAMEWORK_DIR=/Users/tanweeranwar/Downloads/flutter/flutter/bin/cache/artifacts/engine/ios
FLUTTER_BUILD_NAME=1.0.0
FLUTTER_BUILD_NUMBER=1
10 changes: 10 additions & 0 deletions ios/Flutter/Generated 16.xcconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// This is a generated file; do not edit or check into version control.
FLUTTER_ROOT=/Users/tanweeranwar/Downloads/flutter/flutter
FLUTTER_APPLICATION_PATH=/Users/tanweeranwar/Documents/flutter/sportsmojo
FLUTTER_TARGET=lib/main.dart
FLUTTER_BUILD_DIR=build
SYMROOT=${SOURCE_ROOT}/../build/ios
OTHER_LDFLAGS=$(inherited) -framework Flutter
FLUTTER_FRAMEWORK_DIR=/Users/tanweeranwar/Downloads/flutter/flutter/bin/cache/artifacts/engine/ios
FLUTTER_BUILD_NAME=1.0.0
FLUTTER_BUILD_NUMBER=1
10 changes: 10 additions & 0 deletions ios/Flutter/Generated 17.xcconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// This is a generated file; do not edit or check into version control.
FLUTTER_ROOT=/Users/tanweeranwar/Downloads/flutter/flutter
FLUTTER_APPLICATION_PATH=/Users/tanweeranwar/Documents/flutter/sportsmojo
FLUTTER_TARGET=lib/main.dart
FLUTTER_BUILD_DIR=build
SYMROOT=${SOURCE_ROOT}/../build/ios
OTHER_LDFLAGS=$(inherited) -framework Flutter
FLUTTER_FRAMEWORK_DIR=/Users/tanweeranwar/Downloads/flutter/flutter/bin/cache/artifacts/engine/ios
FLUTTER_BUILD_NAME=1.0.0
FLUTTER_BUILD_NUMBER=1
10 changes: 10 additions & 0 deletions ios/Flutter/Generated 18.xcconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// This is a generated file; do not edit or check into version control.
FLUTTER_ROOT=/Users/tanweeranwar/Downloads/flutter/flutter
FLUTTER_APPLICATION_PATH=/Users/tanweeranwar/Documents/flutter/sportsmojo
FLUTTER_TARGET=lib/main.dart
FLUTTER_BUILD_DIR=build
SYMROOT=${SOURCE_ROOT}/../build/ios
OTHER_LDFLAGS=$(inherited) -framework Flutter
FLUTTER_FRAMEWORK_DIR=/Users/tanweeranwar/Downloads/flutter/flutter/bin/cache/artifacts/engine/ios
FLUTTER_BUILD_NAME=1.0.0
FLUTTER_BUILD_NUMBER=1
10 changes: 10 additions & 0 deletions ios/Flutter/Generated 19.xcconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// This is a generated file; do not edit or check into version control.
FLUTTER_ROOT=/Users/tanweeranwar/Downloads/flutter/flutter
FLUTTER_APPLICATION_PATH=/Users/tanweeranwar/Documents/flutter/sportsmojo
FLUTTER_TARGET=lib/main.dart
FLUTTER_BUILD_DIR=build
SYMROOT=${SOURCE_ROOT}/../build/ios
OTHER_LDFLAGS=$(inherited) -framework Flutter
FLUTTER_FRAMEWORK_DIR=/Users/tanweeranwar/Downloads/flutter/flutter/bin/cache/artifacts/engine/ios
FLUTTER_BUILD_NAME=1.0.0
FLUTTER_BUILD_NUMBER=1
10 changes: 10 additions & 0 deletions ios/Flutter/Generated 20.xcconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// This is a generated file; do not edit or check into version control.
FLUTTER_ROOT=/Users/tanweeranwar/Downloads/flutter/flutter
FLUTTER_APPLICATION_PATH=/Users/tanweeranwar/Documents/flutter/sportsmojo
FLUTTER_TARGET=lib/main.dart
FLUTTER_BUILD_DIR=build
SYMROOT=${SOURCE_ROOT}/../build/ios
OTHER_LDFLAGS=$(inherited) -framework Flutter
FLUTTER_FRAMEWORK_DIR=/Users/tanweeranwar/Downloads/flutter/flutter/bin/cache/artifacts/engine/ios
FLUTTER_BUILD_NAME=1.0.0
FLUTTER_BUILD_NUMBER=1
10 changes: 10 additions & 0 deletions ios/Flutter/Generated 21.xcconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// This is a generated file; do not edit or check into version control.
FLUTTER_ROOT=/Users/tanweeranwar/Downloads/flutter/flutter
FLUTTER_APPLICATION_PATH=/Users/tanweeranwar/Documents/flutter/sportsmojo
FLUTTER_TARGET=lib/main.dart
FLUTTER_BUILD_DIR=build
SYMROOT=${SOURCE_ROOT}/../build/ios
OTHER_LDFLAGS=$(inherited) -framework Flutter
FLUTTER_FRAMEWORK_DIR=/Users/tanweeranwar/Downloads/flutter/flutter/bin/cache/artifacts/engine/ios
FLUTTER_BUILD_NAME=1.0.0
FLUTTER_BUILD_NUMBER=1
10 changes: 10 additions & 0 deletions ios/Flutter/Generated 22.xcconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// This is a generated file; do not edit or check into version control.
FLUTTER_ROOT=/Users/tanweeranwar/Downloads/flutter/flutter
FLUTTER_APPLICATION_PATH=/Users/tanweeranwar/Documents/flutter/sportsmojo
FLUTTER_TARGET=lib/main.dart
FLUTTER_BUILD_DIR=build
SYMROOT=${SOURCE_ROOT}/../build/ios
OTHER_LDFLAGS=$(inherited) -framework Flutter
FLUTTER_FRAMEWORK_DIR=/Users/tanweeranwar/Downloads/flutter/flutter/bin/cache/artifacts/engine/ios
FLUTTER_BUILD_NAME=1.0.0
FLUTTER_BUILD_NUMBER=1
10 changes: 10 additions & 0 deletions ios/Flutter/Generated 23.xcconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// This is a generated file; do not edit or check into version control.
FLUTTER_ROOT=/Users/tanweeranwar/Downloads/flutter/flutter
FLUTTER_APPLICATION_PATH=/Users/tanweeranwar/Documents/flutter/sportsmojo
FLUTTER_TARGET=lib/main.dart
FLUTTER_BUILD_DIR=build
SYMROOT=${SOURCE_ROOT}/../build/ios
OTHER_LDFLAGS=$(inherited) -framework Flutter
FLUTTER_FRAMEWORK_DIR=/Users/tanweeranwar/Downloads/flutter/flutter/bin/cache/artifacts/engine/ios
FLUTTER_BUILD_NAME=1.0.0
FLUTTER_BUILD_NUMBER=1
Loading

0 comments on commit bc5d180

Please sign in to comment.