Coder Social home page Coder Social logo

Comments (25)

Sav22999 avatar Sav22999 commented on May 24, 2024

Good idea. Now, if there is and exception, it should show a message dialog and there is the button "Details" where it prints the exception.

from common-voice-android.

bentleypark avatar bentleypark commented on May 24, 2024

@Sav22999 Do you know the library called Sentry? Using this library, the crash log and device details will be reported automatically when the app is crashed.

from common-voice-android.

Sav22999 avatar Sav22999 commented on May 24, 2024

@bentleypark Nope, I don't know it. Is it open source and compatible with F-Droid?

from common-voice-android.

bentleypark avatar bentleypark commented on May 24, 2024

@Sav22999 I am not familiar with F-droid. Senty is opensource. Once you join sentry.io and use the library, you can get crash log throuh the site.

from common-voice-android.

Sav22999 avatar Sav22999 commented on May 24, 2024

I understand. I don't really like the idea, also because data are sent to an external website, and I don't really know what theyvdo with those data.

It will be better find a solution to save on file, and then you should be able to send the log here, as file

from common-voice-android.

bentleypark avatar bentleypark commented on May 24, 2024

I get it. Let me get this straight, first log needs to be saved as file and user can access the file to be able to upload on here. And we shoud give the option to user if they can save a logfile or not.

from common-voice-android.

bentleypark avatar bentleypark commented on May 24, 2024

Using RxLogs library, log can be captured as file on device. Please see the picture below.
Screenshot_20200928-111239_My Files

from common-voice-android.

Sav22999 avatar Sav22999 commented on May 24, 2024

I've seen. Could you rename the file name? (just "log.txt" and if exists already a log.txt it should be renamed as "log_old.txt")

In addition, as usual, is it compatible with F-Droid policy?

from common-voice-android.

MrIndeciso avatar MrIndeciso commented on May 24, 2024

I was thinking of using the good old Timber instead, saving the logs in a SharedPreferences file.
RxLogs seems a little bit too advanced and bloated for what our usage would be.

from common-voice-android.

bentleypark avatar bentleypark commented on May 24, 2024

@MrIndeciso I think Timber is a good option for debugging. @Sav22999 This feature is only for developer who wants to contribue and report a bug?

from common-voice-android.

Sav22999 avatar Sav22999 commented on May 24, 2024

@bentleypark Have you tried the app?
The "log feature" is available for everyone who wants to report a bug, not just for developer 😃

from common-voice-android.

bentleypark avatar bentleypark commented on May 24, 2024

@Sav22999 I have used app 😁
Is it ok use RxLogs to deveop this feature? Or Timber? How can I find put if the library is compatable with F-Droid policy?

from common-voice-android.

Sav22999 avatar Sav22999 commented on May 24, 2024

@Sav22999 I have used app 😁
Is it ok use RxLogs to deveop this feature? Or Timber? How can I find put if the library is compatable with F-Droid policy?

It should be open source, and Google Service free.
You could try, at least, ask to the F-Droid forum

from common-voice-android.

bentleypark avatar bentleypark commented on May 24, 2024

I can work on this with Timber which is compatable with F-Droid.

from common-voice-android.

Sav22999 avatar Sav22999 commented on May 24, 2024

@bentleypark perfect

from common-voice-android.

bentleypark avatar bentleypark commented on May 24, 2024

Is there any use case which accesses external storage except for saving log file?

from common-voice-android.

Sav22999 avatar Sav22999 commented on May 24, 2024

@bentleypark In future i would like implementing also the "Export settings"/"Import settings" and also saving of recordings (see #107)

from common-voice-android.

bentleypark avatar bentleypark commented on May 24, 2024

@Sav22999 On pulic area or private area(eg. /Android/data/org.commonvoice.saverio/foldername)?

from common-voice-android.

Sav22999 avatar Sav22999 commented on May 24, 2024

What do you mean with "Public area"?

from common-voice-android.

bentleypark avatar bentleypark commented on May 24, 2024

Like Download Directory. Are you considering applying Scoped storage when implemeting #107 feature?

from common-voice-android.

Sav22999 avatar Sav22999 commented on May 24, 2024

Of course the user should be able to change it, but the default is "private storage"

from common-voice-android.

bentleypark avatar bentleypark commented on May 24, 2024

Ok. if "private storage" will be choosen, the permission of External Storage should be removed.

from common-voice-android.

Sav22999 avatar Sav22999 commented on May 24, 2024

But you should be able to change, si it's easier it remains

from common-voice-android.

bentleypark avatar bentleypark commented on May 24, 2024

I know. But I don't undetstand why the user should be able change where to save.

from common-voice-android.

Sav22999 avatar Sav22999 commented on May 24, 2024

Because the user should be able to change always everything, this is my opinion 😄

from common-voice-android.

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.