Skip to content
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
11 changes: 11 additions & 0 deletions wartube-final/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
*.iml
.gradle
/local.properties
/.idea/caches/build_file_checksums.ser
/.idea/libraries
/.idea/modules.xml
/.idea/workspace.xml
.DS_Store
/build
/captures
.externalNativeBuild
29 changes: 29 additions & 0 deletions wartube-final/.idea/codeStyles/Project.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 18 additions & 0 deletions wartube-final/.idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

38 changes: 38 additions & 0 deletions wartube-final/.idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions wartube-final/.idea/runConfigurations.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions wartube-final/.idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

43 changes: 43 additions & 0 deletions wartube-final/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# wartube
Wartube for MDG Droid Wars 2018

## Latest Feature : Notifications for new posts(using FCM server)

## Realtime Subscriber Count and difference

![Live Stats](https://raw.githubusercontent.com/git-amish/wartube/final/screenshots/stats.jpeg)


## Realtime graph

![Live Stats](https://raw.githubusercontent.com/git-amish/wartube/final/screenshots/Realtime%20(2).jpeg)

## Posts

Posts may be with or without image

![Live Stats](https://raw.githubusercontent.com/git-amish/wartube/final/screenshots/Posts.jpeg)

## Like and or on a post

![Live Stats](https://raw.githubusercontent.com/git-amish/wartube/final/screenshots/LikeComment.jpeg)

## New post

Add Image via camera or gallery or don't add image

![Live Stats](https://raw.githubusercontent.com/git-amish/wartube/final/screenshots/NewPost.jpeg)

## My profile and Posts

![Live Stats](https://raw.githubusercontent.com/git-amish/wartube/final/screenshots/MyProfile.jpeg)

## Login using email or google

![Live Stats](https://raw.githubusercontent.com/git-amish/wartube/final/screenshots/LogInGoogleorEmail.jpeg)

## Sign in using email

You can upload your profile pic via gallery/camera

![Live Stats](https://raw.githubusercontent.com/git-amish/wartube/final/screenshots/SignUpWithEmail.jpeg)
Binary file added wartube-final/WarTube.apk
Binary file not shown.
1 change: 1 addition & 0 deletions wartube-final/app/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/build
111 changes: 111 additions & 0 deletions wartube-final/app/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'

apply plugin: 'com.google.gms.google-services'


android {

dataBinding {
enabled = true
}

compileSdkVersion 28
defaultConfig {
applicationId "com.amishgarg.wartube"
minSdkVersion 23
targetSdkVersion 28
versionCode 1
versionName "1.0"
multiDexEnabled true
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"

}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
packagingOptions {
exclude 'META-INF/proguard/androidx-annotations.pro'
exclude 'META-INF/DEPENDENCIES'
exclude 'META-INF/LICENSE'
exclude 'META-INF/LICENSE.txt'
exclude 'META-INF/license.txt'
exclude 'META-INF/NOTICE'
exclude 'META-INF/NOTICE.txt'
exclude 'META-INF/notice.txt'
exclude 'META-INF/ASL2.0'
}
repositories {
maven { url 'https://jitpack.io' }
}

}

dependencies {

implementation 'com.google.android.gms:play-services-auth:16.0.1'
implementation 'com.google.firebase:firebase-database:16.0.5'
implementation 'com.google.firebase:firebase-auth:16.1.0'
implementation 'com.google.firebase:firebase-storage:16.0.5'

def lifecycle_version = "2.0.0"
// ViewModel and LiveData
implementation "androidx.lifecycle:lifecycle-extensions:$lifecycle_version"

implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'androidx.appcompat:appcompat:1.0.2'

implementation 'androidx.constraintlayout:constraintlayout:2.0.0-alpha3'

def nav_version = "1.0.0-alpha09"
implementation "android.arch.navigation:navigation-fragment-ktx:$nav_version"
implementation "android.arch.navigation:navigation-ui-ktx:$nav_version"

//material
implementation 'com.google.android.material:material:1.0.0'

//youtube
implementation 'com.google.apis:google-api-services-youtube:v3-rev206-1.25.0'

//retrofit library
implementation 'com.google.code.gson:gson:2.8.5'
implementation 'com.squareup.retrofit2:retrofit:2.5.0'
implementation 'com.squareup.retrofit2:converter-gson:2.5.0'

implementation 'androidx.legacy:legacy-support-v4:1.0'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test:runner:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"

//Graph
implementation 'com.jjoe64:graphview:4.2.2'
implementation 'com.github.PhilJay:MPAndroidChart:v3.1.0-alpha'

//Fire base
implementation 'com.squareup.picasso:picasso:2.71828'
implementation 'com.fasterxml.jackson.core:jackson-databind:2.7.3'
//glide
implementation 'com.github.bumptech.glide:glide:4.8.0'
annotationProcessor 'com.github.bumptech.glide:compiler:4.8.0'

//CIrcular Image view
implementation 'com.mikhaellopez:circularimageview:3.2.0'
implementation 'com.shobhitpuri.custombuttons:google-signin:1.0.0'

//Animations
implementation 'com.airbnb.android:lottie:2.8.0'

//FirebaseUI
implementation 'com.firebaseui:firebase-ui-database:4.3.1'
implementation 'com.google.firebase:firebase-messaging:17.3.4'


}
repositories {
mavenCentral()
}
55 changes: 55 additions & 0 deletions wartube-final/app/google-services.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
{
"project_info": {
"project_number": "96270419709",
"firebase_url": "https://wartube-bc4d7.firebaseio.com",
"project_id": "wartube-bc4d7",
"storage_bucket": "wartube-bc4d7.appspot.com"
},
"client": [
{
"client_info": {
"mobilesdk_app_id": "1:96270419709:android:21e97a31be22a130",
"android_client_info": {
"package_name": "com.amishgarg.wartube"
}
},
"oauth_client": [
{
"client_id": "96270419709-oaei2v53h3pjr60pv9crt3m88bn40jj0.apps.googleusercontent.com",
"client_type": 1,
"android_info": {
"package_name": "com.amishgarg.wartube",
"certificate_hash": "0e17655619f86a7895752d32f95a3715f6afa796"
}
},
{
"client_id": "96270419709-b9tkkuje7t89i55h0pj60ufnitrg55fn.apps.googleusercontent.com",
"client_type": 3
}
],
"api_key": [
{
"current_key": "AIzaSyDQMH3EtbCNlW_jcVfcCI_y-9Dh7cIRJjg"
}
],
"services": {
"analytics_service": {
"status": 1
},
"appinvite_service": {
"status": 2,
"other_platform_oauth_client": [
{
"client_id": "96270419709-b9tkkuje7t89i55h0pj60ufnitrg55fn.apps.googleusercontent.com",
"client_type": 3
}
]
},
"ads_service": {
"status": 2
}
}
}
],
"configuration_version": "1"
}
21 changes: 21 additions & 0 deletions wartube-final/app/proguard-rules.pro
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Add project specific ProGuard rules here.
# You can control the set of applied configuration files using the
# proguardFiles setting in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html

# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}

# Uncomment this to preserve the line number information for
# debugging stack traces.
#-keepattributes SourceFile,LineNumberTable

# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
package com.amishgarg.wartube;

import android.content.Context;
import androidx.test.InstrumentationRegistry;
import androidx.test.runner.AndroidJUnit4;

import org.junit.Test;
import org.junit.runner.RunWith;

import static org.junit.Assert.*;

/**
* Instrumented test, which will execute on an Android device.
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
@RunWith(AndroidJUnit4.class)
public class ExampleInstrumentedTest {
@Test
public void useAppContext() {
// Context of the app under test.
Context appContext = InstrumentationRegistry.getTargetContext();

assertEquals("com.amishgarg.wartube", appContext.getPackageName());
}
}
Loading