Skip to content

Commit

Permalink
Fixed login error
Browse files Browse the repository at this point in the history
  • Loading branch information
prashasth-nair committed Nov 4, 2023
1 parent 826f173 commit 15ed583
Show file tree
Hide file tree
Showing 1,061 changed files with 29,353 additions and 64,550 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@
.externalNativeBuild
.cxx
local.properties
/app/src/main/assets/keys.json
Binary file modified .gradle/8.0/checksums/checksums.lock
Binary file not shown.
Binary file modified .gradle/8.0/checksums/md5-checksums.bin
Binary file not shown.
Binary file modified .gradle/8.0/checksums/sha1-checksums.bin
Binary file not shown.
Binary file modified .gradle/8.0/executionHistory/executionHistory.bin
Binary file not shown.
Binary file modified .gradle/8.0/executionHistory/executionHistory.lock
Binary file not shown.
Binary file modified .gradle/8.0/fileHashes/fileHashes.bin
Binary file not shown.
Binary file modified .gradle/8.0/fileHashes/fileHashes.lock
Binary file not shown.
Binary file modified .gradle/8.0/fileHashes/resourceHashesCache.bin
Binary file not shown.
Binary file modified .gradle/buildOutputCleanup/buildOutputCleanup.lock
Binary file not shown.
Binary file modified .gradle/buildOutputCleanup/outputFiles.bin
Binary file not shown.
Binary file modified .gradle/file-system.probe
Binary file not shown.
1 change: 0 additions & 1 deletion app/.gitignore

This file was deleted.

21 changes: 12 additions & 9 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ plugins {

android {
namespace 'com.example.animepeak'
compileSdk 33
compileSdk 34

defaultConfig {
applicationId "com.example.animepeak"
minSdk 26
targetSdk 33
targetSdk 34
versionCode 1
versionName "Beta"

Expand All @@ -34,12 +34,16 @@ android {
dependencies {

implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'com.google.android.material:material:1.9.0'
implementation 'com.google.android.material:material:1.10.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
implementation 'com.google.firebase:firebase-database:20.2.2'

// Firebase Database
implementation 'com.google.firebase:firebase-database:20.3.0'

testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
// Splash Screen
implementation 'androidx.core:core-splashscreen:1.0.1'
// Image Loader
implementation 'com.github.bumptech.glide:glide:4.12.0'
Expand All @@ -49,23 +53,22 @@ dependencies {

implementation 'com.github.mancj:MaterialSearchBar:0.8.5'

implementation 'com.google.android.material:material:1.9.0'
implementation 'com.google.android.material:material:1.10.0'

// Google Login
implementation 'com.google.android.gms:play-services-auth:20.7.0'
implementation 'com.google.android.gms:play-services-drive:17.0.0'
// Import the BoM for the Firebase platform
implementation platform('com.google.firebase:firebase-bom:32.1.1')

// Add the dependency for the Firebase Authentication library
// When using the BoM, you don't specify versions in Firebase library dependencies
implementation 'com.google.firebase:firebase-auth:22.1.2'
// Firebase Authentication library
implementation 'com.google.firebase:firebase-auth:22.2.0'


// Also add the dependency for the Google Play services library and specify its version
implementation 'com.google.android.gms:play-services-auth:20.7.0'


implementation("io.appwrite:sdk-for-android:4.0.0")

// Exoplayer
implementation 'com.google.android.exoplayer:exoplayer:2.19.1'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ public final class FragmentHomeBinding implements ViewBinding {
@NonNull
public final ImageView loading;

@NonNull
public final ImageView moreLoading;

@NonNull
public final TextView netError;

Expand All @@ -45,12 +48,14 @@ public final class FragmentHomeBinding implements ViewBinding {

private FragmentHomeBinding(@NonNull RelativeLayout rootView, @NonNull ImageView ProfilePic,
@NonNull RecyclerView homeRecycler, @NonNull TextView homeTitle, @NonNull ImageView loading,
@NonNull TextView netError, @NonNull CardView profileCard, @NonNull RelativeLayout titleBar) {
@NonNull ImageView moreLoading, @NonNull TextView netError, @NonNull CardView profileCard,
@NonNull RelativeLayout titleBar) {
this.rootView = rootView;
this.ProfilePic = ProfilePic;
this.homeRecycler = homeRecycler;
this.homeTitle = homeTitle;
this.loading = loading;
this.moreLoading = moreLoading;
this.netError = netError;
this.profileCard = profileCard;
this.titleBar = titleBar;
Expand Down Expand Up @@ -107,6 +112,12 @@ public static FragmentHomeBinding bind(@NonNull View rootView) {
break missingId;
}

id = R.id.more_loading;
ImageView moreLoading = ViewBindings.findChildViewById(rootView, id);
if (moreLoading == null) {
break missingId;
}

id = R.id.net_error;
TextView netError = ViewBindings.findChildViewById(rootView, id);
if (netError == null) {
Expand All @@ -126,7 +137,7 @@ public static FragmentHomeBinding bind(@NonNull View rootView) {
}

return new FragmentHomeBinding((RelativeLayout) rootView, ProfilePic, homeRecycler, homeTitle,
loading, netError, profileCard, titleBar);
loading, moreLoading, netError, profileCard, titleBar);
}
String missingId = rootView.getResources().getResourceName(id);
throw new NullPointerException("Missing required view with ID: ".concat(missingId));
Expand Down
Binary file modified app/build/intermediates/apk/debug/app-debug.apk
Binary file not shown.
7 changes: 7 additions & 0 deletions app/build/intermediates/assets/debug/keys.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[

{
"name": "Google_request_ID",
"value": "273585373512-epar6ilnklafq0v15kfgg8ieqc6r451p.apps.googleusercontent.com"
}
]
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?><Layout layout="activity_anime_details" modulePackage="com.example.animepeak" filePath="app/src/main/res/layout/activity_anime_details.xml" directory="layout" isMerge="false" isBindingData="false" rootNodeType="android.widget.RelativeLayout" rootNodeViewId="@+id/anime_details_main"><Targets><Target id="@+id/anime_details_main" tag="layout/activity_anime_details_0" view="RelativeLayout"><Expressions/><location startLine="1" startOffset="0" endLine="200" endOffset="16"/></Target><Target id="@+id/net_error_ani_details" view="TextView"><Expressions/><location startLine="11" startOffset="4" endLine="24" endOffset="9"/></Target><Target id="@+id/custom_toolbar" view="androidx.appcompat.widget.Toolbar"><Expressions/><location startLine="26" startOffset="4" endLine="51" endOffset="39"/></Target><Target id="@+id/toolbar_title" view="androidx.appcompat.widget.AppCompatTextView"><Expressions/><location startLine="36" startOffset="8" endLine="50" endOffset="40"/></Target><Target id="@+id/loading" view="ImageView"><Expressions/><location startLine="53" startOffset="4" endLine="57" endOffset="46"/></Target><Target id="@+id/ani_details" view="androidx.cardview.widget.CardView"><Expressions/><location startLine="68" startOffset="12" endLine="166" endOffset="47"/></Target><Target id="@+id/Anime_Image_card" view="androidx.cardview.widget.CardView"><Expressions/><location startLine="85" startOffset="20" endLine="96" endOffset="55"/></Target><Target id="@+id/Anime_Image" view="ImageView"><Expressions/><location startLine="91" startOffset="24" endLine="95" endOffset="55"/></Target><Target id="@+id/fav_button" view="ImageButton"><Expressions/><location startLine="97" startOffset="20" endLine="107" endOffset="25"/></Target><Target id="@+id/expand_txt" view="io.github.glailton.expandabletextview.ExpandableTextView"><Expressions/><location startLine="109" startOffset="20" endLine="120" endOffset="121"/></Target><Target id="@+id/release_date" view="LinearLayout"><Expressions/><location startLine="130" startOffset="24" endLine="161" endOffset="38"/></Target><Target id="@+id/Anime_release" view="TextView"><Expressions/><location startLine="136" startOffset="28" endLine="144" endOffset="65"/></Target><Target id="@+id/Anime_status" view="TextView"><Expressions/><location startLine="146" startOffset="28" endLine="154" endOffset="64"/></Target><Target id="@+id/genre_recycler" view="androidx.recyclerview.widget.RecyclerView"><Expressions/><location startLine="155" startOffset="28" endLine="160" endOffset="33"/></Target><Target id="@+id/episode_text" view="RelativeLayout"><Expressions/><location startLine="168" startOffset="12" endLine="183" endOffset="28"/></Target><Target id="@+id/episode_list" view="androidx.recyclerview.widget.RecyclerView"><Expressions/><location startLine="185" startOffset="12" endLine="194" endOffset="52"/></Target></Targets></Layout>
<?xml version="1.0" encoding="utf-8" standalone="yes"?><Layout layout="activity_anime_details" modulePackage="com.example.animepeak" filePath="app\src\main\res\layout\activity_anime_details.xml" directory="layout" isMerge="false" isBindingData="false" rootNodeType="android.widget.RelativeLayout" rootNodeViewId="@+id/anime_details_main"><Targets><Target id="@+id/anime_details_main" tag="layout/activity_anime_details_0" view="RelativeLayout"><Expressions/><location startLine="1" startOffset="0" endLine="200" endOffset="16"/></Target><Target id="@+id/net_error_ani_details" view="TextView"><Expressions/><location startLine="11" startOffset="4" endLine="24" endOffset="9"/></Target><Target id="@+id/custom_toolbar" view="androidx.appcompat.widget.Toolbar"><Expressions/><location startLine="26" startOffset="4" endLine="51" endOffset="39"/></Target><Target id="@+id/toolbar_title" view="androidx.appcompat.widget.AppCompatTextView"><Expressions/><location startLine="36" startOffset="8" endLine="50" endOffset="40"/></Target><Target id="@+id/loading" view="ImageView"><Expressions/><location startLine="53" startOffset="4" endLine="57" endOffset="46"/></Target><Target id="@+id/ani_details" view="androidx.cardview.widget.CardView"><Expressions/><location startLine="68" startOffset="12" endLine="166" endOffset="47"/></Target><Target id="@+id/Anime_Image_card" view="androidx.cardview.widget.CardView"><Expressions/><location startLine="85" startOffset="20" endLine="96" endOffset="55"/></Target><Target id="@+id/Anime_Image" view="ImageView"><Expressions/><location startLine="91" startOffset="24" endLine="95" endOffset="55"/></Target><Target id="@+id/fav_button" view="ImageButton"><Expressions/><location startLine="97" startOffset="20" endLine="107" endOffset="25"/></Target><Target id="@+id/expand_txt" view="io.github.glailton.expandabletextview.ExpandableTextView"><Expressions/><location startLine="109" startOffset="20" endLine="120" endOffset="121"/></Target><Target id="@+id/release_date" view="LinearLayout"><Expressions/><location startLine="130" startOffset="24" endLine="161" endOffset="38"/></Target><Target id="@+id/Anime_release" view="TextView"><Expressions/><location startLine="136" startOffset="28" endLine="144" endOffset="65"/></Target><Target id="@+id/Anime_status" view="TextView"><Expressions/><location startLine="146" startOffset="28" endLine="154" endOffset="64"/></Target><Target id="@+id/genre_recycler" view="androidx.recyclerview.widget.RecyclerView"><Expressions/><location startLine="155" startOffset="28" endLine="160" endOffset="33"/></Target><Target id="@+id/episode_text" view="RelativeLayout"><Expressions/><location startLine="168" startOffset="12" endLine="183" endOffset="28"/></Target><Target id="@+id/episode_list" view="androidx.recyclerview.widget.RecyclerView"><Expressions/><location startLine="185" startOffset="12" endLine="194" endOffset="52"/></Target></Targets></Layout>
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?><Layout layout="activity_main" modulePackage="com.example.animepeak" filePath="app/src/main/res/layout/activity_main.xml" directory="layout" isMerge="false" isBindingData="false" rootNodeType="android.widget.RelativeLayout"><Targets><Target tag="layout/activity_main_0" view="RelativeLayout"><Expressions/><location startLine="1" startOffset="0" endLine="30" endOffset="16"/></Target><Target id="@+id/container" view="FrameLayout"><Expressions/><location startLine="9" startOffset="4" endLine="13" endOffset="54"/></Target><Target id="@+id/bottom_navigation" view="com.google.android.material.bottomnavigation.BottomNavigationView"><Expressions/><location startLine="15" startOffset="4" endLine="28" endOffset="9"/></Target></Targets></Layout>
<?xml version="1.0" encoding="utf-8" standalone="yes"?><Layout layout="activity_main" modulePackage="com.example.animepeak" filePath="app\src\main\res\layout\activity_main.xml" directory="layout" isMerge="false" isBindingData="false" rootNodeType="android.widget.RelativeLayout"><Targets><Target tag="layout/activity_main_0" view="RelativeLayout"><Expressions/><location startLine="1" startOffset="0" endLine="30" endOffset="16"/></Target><Target id="@+id/container" view="FrameLayout"><Expressions/><location startLine="9" startOffset="4" endLine="13" endOffset="54"/></Target><Target id="@+id/bottom_navigation" view="com.google.android.material.bottomnavigation.BottomNavigationView"><Expressions/><location startLine="15" startOffset="4" endLine="28" endOffset="9"/></Target></Targets></Layout>
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?><Layout layout="activity_profile" modulePackage="com.example.animepeak" filePath="app/src/main/res/layout/activity_profile.xml" directory="layout" isMerge="false" isBindingData="false" rootNodeType="android.widget.RelativeLayout"><Targets><Target tag="layout/activity_profile_0" view="RelativeLayout"><Expressions/><location startLine="1" startOffset="0" endLine="129" endOffset="16"/></Target><Target id="@+id/profile_title_bar" view="LinearLayout"><Expressions/><location startLine="8" startOffset="4" endLine="35" endOffset="18"/></Target><Target id="@+id/profile_back" view="ImageView"><Expressions/><location startLine="12" startOffset="8" endLine="18" endOffset="13"/></Target><Target id="@+id/profile_title" view="TextView"><Expressions/><location startLine="20" startOffset="8" endLine="32" endOffset="13"/></Target><Target id="@+id/banner_card" view="androidx.cardview.widget.CardView"><Expressions/><location startLine="41" startOffset="4" endLine="55" endOffset="39"/></Target><Target id="@+id/bannerImage" view="ImageView"><Expressions/><location startLine="49" startOffset="4" endLine="54" endOffset="34"/></Target><Target id="@+id/headerLayout" view="LinearLayout"><Expressions/><location startLine="57" startOffset="4" endLine="103" endOffset="18"/></Target><Target id="@+id/profile_card" view="androidx.cardview.widget.CardView"><Expressions/><location startLine="67" startOffset="8" endLine="83" endOffset="43"/></Target><Target id="@+id/profileImage" view="ImageView"><Expressions/><location startLine="76" startOffset="8" endLine="82" endOffset="43"/></Target><Target id="@+id/nameTextView" view="TextView"><Expressions/><location startLine="85" startOffset="8" endLine="93" endOffset="37"/></Target><Target id="@+id/bioTextView" view="TextView"><Expressions/><location startLine="95" startOffset="8" endLine="101" endOffset="36"/></Target><Target id="@+id/sign_in_button" view="com.google.android.gms.common.SignInButton"><Expressions/><location startLine="108" startOffset="8" endLine="115" endOffset="36"/></Target><Target id="@+id/logout" view="Button"><Expressions/><location startLine="117" startOffset="8" endLine="125" endOffset="13"/></Target></Targets></Layout>
<?xml version="1.0" encoding="utf-8" standalone="yes"?><Layout layout="activity_profile" modulePackage="com.example.animepeak" filePath="app\src\main\res\layout\activity_profile.xml" directory="layout" isMerge="false" isBindingData="false" rootNodeType="android.widget.RelativeLayout"><Targets><Target tag="layout/activity_profile_0" view="RelativeLayout"><Expressions/><location startLine="1" startOffset="0" endLine="129" endOffset="16"/></Target><Target id="@+id/profile_title_bar" view="LinearLayout"><Expressions/><location startLine="8" startOffset="4" endLine="35" endOffset="18"/></Target><Target id="@+id/profile_back" view="ImageView"><Expressions/><location startLine="12" startOffset="8" endLine="18" endOffset="13"/></Target><Target id="@+id/profile_title" view="TextView"><Expressions/><location startLine="20" startOffset="8" endLine="32" endOffset="13"/></Target><Target id="@+id/banner_card" view="androidx.cardview.widget.CardView"><Expressions/><location startLine="41" startOffset="4" endLine="55" endOffset="39"/></Target><Target id="@+id/bannerImage" view="ImageView"><Expressions/><location startLine="49" startOffset="4" endLine="54" endOffset="34"/></Target><Target id="@+id/headerLayout" view="LinearLayout"><Expressions/><location startLine="57" startOffset="4" endLine="103" endOffset="18"/></Target><Target id="@+id/profile_card" view="androidx.cardview.widget.CardView"><Expressions/><location startLine="67" startOffset="8" endLine="83" endOffset="43"/></Target><Target id="@+id/profileImage" view="ImageView"><Expressions/><location startLine="76" startOffset="8" endLine="82" endOffset="43"/></Target><Target id="@+id/nameTextView" view="TextView"><Expressions/><location startLine="85" startOffset="8" endLine="93" endOffset="37"/></Target><Target id="@+id/bioTextView" view="TextView"><Expressions/><location startLine="95" startOffset="8" endLine="101" endOffset="36"/></Target><Target id="@+id/sign_in_button" view="com.google.android.gms.common.SignInButton"><Expressions/><location startLine="108" startOffset="8" endLine="115" endOffset="36"/></Target><Target id="@+id/logout" view="Button"><Expressions/><location startLine="117" startOffset="8" endLine="125" endOffset="13"/></Target></Targets></Layout>
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?><Layout layout="activity_video_player" modulePackage="com.example.animepeak" filePath="app/src/main/res/layout/activity_video_player.xml" directory="layout" isMerge="false" isBindingData="false" rootNodeType="android.widget.RelativeLayout"><Targets><Target tag="layout/activity_video_player_0" view="RelativeLayout"><Expressions/><location startLine="1" startOffset="0" endLine="70" endOffset="16"/></Target><Target id="@+id/loading" view="ImageView"><Expressions/><location startLine="9" startOffset="4" endLine="13" endOffset="46"/></Target><Target id="@+id/videoView" view="com.google.android.exoplayer2.ui.PlayerView"><Expressions/><location startLine="16" startOffset="4" endLine="33" endOffset="35"/></Target><Target id="@+id/temp_rewind" view="ImageView"><Expressions/><location startLine="41" startOffset="8" endLine="50" endOffset="39"/></Target><Target id="@+id/temp_fast_forward" view="ImageView"><Expressions/><location startLine="57" startOffset="8" endLine="66" endOffset="39"/></Target></Targets></Layout>
<?xml version="1.0" encoding="utf-8" standalone="yes"?><Layout layout="activity_video_player" modulePackage="com.example.animepeak" filePath="app\src\main\res\layout\activity_video_player.xml" directory="layout" isMerge="false" isBindingData="false" rootNodeType="android.widget.RelativeLayout"><Targets><Target tag="layout/activity_video_player_0" view="RelativeLayout"><Expressions/><location startLine="1" startOffset="0" endLine="70" endOffset="16"/></Target><Target id="@+id/loading" view="ImageView"><Expressions/><location startLine="9" startOffset="4" endLine="13" endOffset="46"/></Target><Target id="@+id/videoView" view="com.google.android.exoplayer2.ui.PlayerView"><Expressions/><location startLine="16" startOffset="4" endLine="33" endOffset="35"/></Target><Target id="@+id/temp_rewind" view="ImageView"><Expressions/><location startLine="41" startOffset="8" endLine="50" endOffset="39"/></Target><Target id="@+id/temp_fast_forward" view="ImageView"><Expressions/><location startLine="57" startOffset="8" endLine="66" endOffset="39"/></Target></Targets></Layout>
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?><Layout layout="dropdown" modulePackage="com.example.animepeak" filePath="app/src/main/res/layout/dropdown.xml" directory="layout" isMerge="false" isBindingData="false" rootNodeType="android.widget.TextView"><Targets><Target tag="layout/dropdown_0" view="TextView"><Expressions/><location startLine="1" startOffset="0" endLine="10" endOffset="5"/></Target></Targets></Layout>
<?xml version="1.0" encoding="utf-8" standalone="yes"?><Layout layout="dropdown" modulePackage="com.example.animepeak" filePath="app\src\main\res\layout\dropdown.xml" directory="layout" isMerge="false" isBindingData="false" rootNodeType="android.widget.TextView"><Targets><Target tag="layout/dropdown_0" view="TextView"><Expressions/><location startLine="1" startOffset="0" endLine="10" endOffset="5"/></Target></Targets></Layout>
Loading

0 comments on commit 15ed583

Please sign in to comment.