Git Product home page Git Product logo

Comments (22)

faisalcodes avatar faisalcodes commented on June 12, 2024 1

We are gradually moving away from the firebase. I will tell you how to fix this in a moment.

from quranapp.

faisalcodes avatar faisalcodes commented on June 12, 2024 1

Wait until tommorow, You will find all the resources here.

from quranapp.

faisalcodes avatar faisalcodes commented on June 12, 2024

I don't see any forks in your GitHub profile. Kindly fork this project and then clone your repository.

from quranapp.

rai61354 avatar rai61354 commented on June 12, 2024

I don't see any forks in your GitHub profile. Kindly fork this project and then clone your repository.

1: I've frok the project.
2: I've configured the package name and enable Realtime Database, Cloud Storage, Authentication and Cloud Firestore from firebase
3: I placed the google-services.json inside the app folder

but now I'm getting the error No matching client found for package name 'com.raiadnan.quranreader.debug'

Screenshot: https://i.ibb.co/D5BXGRg/Error.png

from quranapp.

rai61354 avatar rai61354 commented on June 12, 2024

When I removed id 'com.google.gms.google-services' from gradle then No matching client found for package name issue resolved but getting another error
Caused by: java.lang.IllegalStateException: Default FirebaseApp is not initialized in this process com.raiadnan.quranreader.debug. Make sure to call FirebaseApp.initializeApp(Context) first.

Screenshot 2: https://i.ibb.co/zRyyQPh/Error.png

but the question is here is my packagename com.raiadnan.quranreader but android studio automatically generated this packagename com.raiadnan.quranreader.debug

why android studio generated .debug in the package name?

from quranapp.

faisalcodes avatar faisalcodes commented on June 12, 2024

Kindly do not change the package name. I am working on removing the Firebase from the app. So you can wait until I complete that or try to figure out your problem.

from quranapp.

faisalcodes avatar faisalcodes commented on June 12, 2024

This project is setup to create two variants of the app one for debug and another for release. So you need to add the package name with debug suffix in your Firebase for it to work.

image

Try to update your branch as I have made new changes. You only need to enable storage in your Firebase at the moment.

from quranapp.

rai61354 avatar rai61354 commented on June 12, 2024

Kindly do not change the package name. I am working on removing the Firebase from the app. So you can wait until I complete

1: All previous errors resolved now getting another error
java.lang.IllegalArgumentException: The supplied bucketname does not match the storage bucket of the current instance.

App Crashed when open any surah in the app. Please check the attached screenshot for the reference.

Screenshot 3: https://i.ibb.co/G350cQk/Error.png

from quranapp.

faisalcodes avatar faisalcodes commented on June 12, 2024

@rai61354 In the ApiConfig.kt change gs://the-quranapp.appspot.com with your own. You can find your bucket name in google-services.json.

from quranapp.

rai61354 avatar rai61354 commented on June 12, 2024

@rai61354 In the ApiConfig.kt change gs://the-quranapp.appspot.com with your own. You can find your bucket name in google-services.json.

Alhamdulillah all errors resolved and App running without crash. But when I try to play any verse I got error
Something happened wrong while loading the verse.

When I go to settings to select the reciter also got error
Could not load recitations from the server. Please try again later.

Screenshot: https://i.ibb.co/xYB4d96/Error2.jpg

from quranapp.

faisalcodes avatar faisalcodes commented on June 12, 2024

@rai61354 Yes, those things will not work in debug mode because these resources are uploaded on firebase which your firebase projects doesn't have. If you want you can contribute to other feature or wait few days until I move away from firebase.

from quranapp.

rai61354 avatar rai61354 commented on June 12, 2024

Ye

@rai61354 Yes, those things will not work in debug mode because these resources are uploaded on firebase which your firebase projects doesn't have. If you want you can contribute to other feature or wait few days until I move away from firebase.

Yes I will start work on translations. I've some verified translations. Also can you please share filebase json files to load reciters and verse?

from quranapp.

rai61354 avatar rai61354 commented on June 12, 2024

JazakAllah :-)

from quranapp.

rai61354 avatar rai61354 commented on June 12, 2024

Wait until tommorow, You will find all the resources here.

Aslam o alaikum bro from where I find all the resources?

from quranapp.

faisalcodes avatar faisalcodes commented on June 12, 2024

Walaikum Assalam, I am still working on it. If you'd like to contribute a translation you can read this.

from quranapp.

rai61354 avatar rai61354 commented on June 12, 2024

I am still working on it. If you'd like to contribute a translation you can read this.

Yes I'm working to implement mufti taqi usmani urdu translation's in json file according to your format but yesterday you said you will post resources here. That's why I'm saying app working fine but other features not working from my side due to resources , can you please share the resources?

from quranapp.

faisalcodes avatar faisalcodes commented on June 12, 2024

It may take more time to migrate away from firebase. I hope it to complete by today InshaAllah. You can try the live app for other features to work. Link

from quranapp.

faisalcodes avatar faisalcodes commented on June 12, 2024

@rai61354 You may find all the resources in inventory. Be sure to update your branch and share this project with others if you can. Jazakallah

from quranapp.

rai61354 avatar rai61354 commented on June 12, 2024

@rai61354 You may find all the resources in inventory. Be sure to update your branch and share this project with others if you can. Jazakallah

1: Alhamdulillah I've successfully translated first 19 Surah. Today I tested your complete app and one thing I noticed in debug mode your app working fine but when you release the signed apk and install in your device Reciter not loaded and showing "No recitations available" I didn't tested full app yet but I noticed an error in the reciter section.

2: also tell me do you know any way to copy translations from sql to json? because I've verified mufti taqi usmani urdu translation that is available in Islam360 and I'm trying to coping ayah by ayah in json file which is taking so much time so there is any way to copy translation from sql to json in easy way?

from quranapp.

faisalcodes avatar faisalcodes commented on June 12, 2024

I will look into your first point. Yes, we can copy translations from sql to json.

from quranapp.

faisalcodes avatar faisalcodes commented on June 12, 2024

@rai61354
Assalamualaikum brother. What's the progress of your translation?

You could also join this discord server to talk with current and future members.

from quranapp.

rai61354 avatar rai61354 commented on June 12, 2024

Wa alaikum Aslam brother. first 22 surah completed.
1: can you please guide me a quick way to copy the translation from sql and paste in json?
2: I've a question I'm learning firebase so can I configure your very first version on firebase and upload inventory for the learning purposes if you allow?
3: Did you check the issue why reciters not available on release version? because everything's fine in debug.

from quranapp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.