Skip to content

Commit 5e73224

Browse files
Intial - Commit
0 parents  commit 5e73224

47 files changed

Lines changed: 1213 additions & 0 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
*.iml
2+
.gradle
3+
/local.properties
4+
/.idea/caches
5+
/.idea/libraries
6+
/.idea/modules.xml
7+
/.idea/workspace.xml
8+
/.idea/navEditor.xml
9+
/.idea/assetWizardSettings.xml
10+
.DS_Store
11+
/build
12+
/captures
13+
.externalNativeBuild
14+
.cxx
15+
local.properties

.idea/.gitignore

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/compiler.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/gradle.xml

Lines changed: 21 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

Lines changed: 19 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/build

app/build.gradle

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
plugins {
2+
id 'com.android.application'
3+
}
4+
apply plugin: 'com.android.application'
5+
apply plugin: 'com.google.gms.google-services'
6+
7+
android {
8+
compileSdk 31
9+
10+
defaultConfig {
11+
applicationId "com.assistant.android.bolchal"
12+
minSdk 21
13+
targetSdk 31
14+
versionCode 1
15+
versionName "1.0"
16+
17+
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
18+
}
19+
20+
buildTypes {
21+
release {
22+
minifyEnabled false
23+
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
24+
}
25+
}
26+
compileOptions {
27+
sourceCompatibility JavaVersion.VERSION_1_8
28+
targetCompatibility JavaVersion.VERSION_1_8
29+
}
30+
}
31+
32+
dependencies {
33+
34+
// Import the Firebase BoM
35+
implementation platform('com.google.firebase:firebase-bom:29.0.3')
36+
37+
38+
// Add the dependency for the Firebase SDK for Google Analytics
39+
// When using the BoM, don't specify versions in Firebase dependencies
40+
implementation 'com.google.firebase:firebase-analytics'
41+
42+
// Declare the dependency for the Realtime Database library
43+
// When using the BoM, you don't specify versions in Firebase library dependencies
44+
implementation 'com.google.firebase:firebase-database'
45+
46+
47+
implementation 'androidx.appcompat:appcompat:1.4.0'
48+
implementation 'com.google.android.material:material:1.4.0'
49+
implementation 'androidx.constraintlayout:constraintlayout:2.1.2'
50+
testImplementation 'junit:junit:4.13.2'
51+
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
52+
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
53+
54+
//Implement glide library
55+
implementation 'com.github.bumptech.glide:glide:4.12.0'
56+
annotationProcessor 'com.github.bumptech.glide:compiler:4.12.0'
57+
}

app/google-services.json

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
{
2+
"project_info": {
3+
"project_number": "49795660525",
4+
"firebase_url": "https://bolchal-3fc82-default-rtdb.firebaseio.com",
5+
"project_id": "bolchal-3fc82",
6+
"storage_bucket": "bolchal-3fc82.appspot.com"
7+
},
8+
"client": [
9+
{
10+
"client_info": {
11+
"mobilesdk_app_id": "1:49795660525:android:104758c9b7581d826beae4",
12+
"android_client_info": {
13+
"package_name": "com.assistant.android.bolchal"
14+
}
15+
},
16+
"oauth_client": [
17+
{
18+
"client_id": "49795660525-mjnvu13ldui34bs757dj2vhjs9v8mumf.apps.googleusercontent.com",
19+
"client_type": 3
20+
}
21+
],
22+
"api_key": [
23+
{
24+
"current_key": "AIzaSyDpAlFbfSRhRkt-2_06zgjIXkAKQz9Tims"
25+
}
26+
],
27+
"services": {
28+
"appinvite_service": {
29+
"other_platform_oauth_client": [
30+
{
31+
"client_id": "49795660525-mjnvu13ldui34bs757dj2vhjs9v8mumf.apps.googleusercontent.com",
32+
"client_type": 3
33+
}
34+
]
35+
}
36+
}
37+
}
38+
],
39+
"configuration_version": "1"
40+
}

app/proguard-rules.pro

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Add project specific ProGuard rules here.
2+
# You can control the set of applied configuration files using the
3+
# proguardFiles setting in build.gradle.
4+
#
5+
# For more details, see
6+
# http://developer.android.com/guide/developing/tools/proguard.html
7+
8+
# If your project uses WebView with JS, uncomment the following
9+
# and specify the fully qualified class name to the JavaScript interface
10+
# class:
11+
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
12+
# public *;
13+
#}
14+
15+
# Uncomment this to preserve the line number information for
16+
# debugging stack traces.
17+
#-keepattributes SourceFile,LineNumberTable
18+
19+
# If you keep the line number information, uncomment this to
20+
# hide the original source file name.
21+
#-renamesourcefileattribute SourceFile
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
package com.assistant.android.bolchal;
2+
3+
import android.content.Context;
4+
5+
import androidx.test.platform.app.InstrumentationRegistry;
6+
import androidx.test.ext.junit.runners.AndroidJUnit4;
7+
8+
import org.junit.Test;
9+
import org.junit.runner.RunWith;
10+
11+
import static org.junit.Assert.*;
12+
13+
/**
14+
* Instrumented test, which will execute on an Android device.
15+
*
16+
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
17+
*/
18+
@RunWith(AndroidJUnit4.class)
19+
public class ExampleInstrumentedTest {
20+
@Test
21+
public void useAppContext() {
22+
// Context of the app under test.
23+
Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext();
24+
assertEquals("com.assistant.android.bolchal", appContext.getPackageName());
25+
}
26+
}

0 commit comments

Comments
 (0)