Giter Club home page Giter Club logo

freddyfridge's Introduction


FreddyFridge, a Fridge Manager and food expiring date app

A smart Fridge Manager free app for wasting food no more !

It is easy to use, do not forget no more food expiration date and stop wasting your food.

Check out it on Google Play!

Main features :

  • insert easily your food description by writing or by speech recognition, and the expiring date.

  • be aware through notifications when your food is going to expire : FreddyFridge remembers for you!

  • keep a list of expiring food in the next days, and another for expiring food today

  • keep track of your consumed food in a specific list

  • small sized and optimized app

  • beautiful and relaxing graphic

Contributions? Yes please! Every help would be really appreciated! Check out here for easy how-to : See CONTRIBUTING.md Thank you a lot! πŸ˜ƒ

freddyfridge's People

Contributors

nadar71 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

freddyfridge's Issues

FridgeManagerRepository_test

Launching every single tests by itself they are passed, but running altogether only the first
it's ok, the other no, independently by which tests are active in the class.

Tried with reset mocks in teardown function and remock explicitly inside @before method,
as well as doing it inside each test (both reset and remock), check the commented code.

Migrating from FirebaseJobDispatcher to WorkManager

timeline 1/11/2020 , check google mail below :

Hello Google Play Developer,

With the introduction of Jetpack WorkManager, we’re focusing on offering you a single go-to solution to background job scheduling on Android and are excited about the improvements in stability and the features it will bring. Read more in our recent blog post.

Starting November 1, 2020, GCMNetworkManager client libraries will be deprecated and no longer supported.

Our records indicate that you have used this API in the last 6 months, and we want to help ensure that you can continue to take advantage of background job scheduling in your app.

Note: FirebaseJobDispatcher (FJD) relies on GcmNetworkManager libraries and has already been deprecated.

To confirm that you currently do use FJD / GcmNetworkManager, please inspect your project code:

FJD:
com.firebase:firebase-jobdispatcher in your project dependencies
GcmNetworkManager
com.google.android.gms:play-services-gcm in your project dependencies AND
Use of com.google.android.gms.gcm.GcmNetworkManager in your code.
Once your app targets a future version of Android (> Android 10), GCMNetworkManager API calls via GcmNetworkManager or FJD client libraries will no longer work on devices running Android M and above.

Action required:

Please migrate to Jetpack WorkManager for your background job scheduling needs. We understand that code changes will be required, and we encourage you to factor in time for adequate testing as well.

Migration resources:

Migrating from FJD
Migrating from GcmNetworkManager
Please report feature requests and any issues you face while migrating to Jetpack WorkManager via the public issue tracker.

CRITICAL - at eu.indiewalkabout.fridgemanager.util.PreferenceUtility.getDaysCount

Many error here, and 238 loose 238 users the 28/04 : must migrate to workmanager

java.lang.NumberFormatException:
at java.lang.Integer.parseInt (Integer.java:627)
at java.lang.Integer.parseInt (Integer.java:650)
at eu.indiewalkabout.fridgemanager.util.PreferenceUtility.getDaysCount (PreferenceUtility.java:19)
at eu.indiewalkabout.fridgemanager.reminder.FoodReminder_fbjob.onStartJob (FoodReminder_fbjob.java:36)
at com.firebase.jobdispatcher.JobService$2.run (JobService.java:164)
at android.os.Handler.handleCallback (Handler.java:873)
at android.os.Handler.dispatchMessage (Handler.java:99)
at android.os.Looper.loop (Looper.java:214)
at android.app.ActivityThread.main (ActivityThread.java:7099)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:494)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:965)

List filtering

Allow different list filtering for each food expiring date, must be after implementing #8

FoodDbDao_test error

Running the test, it ends with :
java.lang.NullPointerException: Attempt to invoke interface method 'java.lang.Object java.util.List.get(int)' on a null object reference

as if the foodList from LiveData<List> foodListLive is null.
foodListLive is null as well if I comment all what is after : Observer<List> observer = res -> assertEquals(1,res.size());

The pb happens both if I use this for creating db :
foodDatabase = ((SingletonProvider) SingletonProvider.Companion.getsContext()).getDatabase();

or this :
foodDatabase = Room.inMemoryDatabaseBuilder(
InstrumentationRegistry.getInstrumentation().getContext(),
FoodDatabase.class)
//.addMigrations(FoodDatabase.Companion.MIGRATION_1_2)
.build();

with only differences that in the first data are inserted in the physical db on device, so they are in, but no list is recovered.

Maybe depending of not using androidx ?

Allow food image

Show food image as thumbnail icon, and visualize it in pip at touch

Crash report 1 (226 rep/60 dd)

java.lang.NumberFormatException
eu.indiewalkabout.fridgemanager.util.PreferenceUtility.getDaysCount

13 lug 01:33 sulla versione dell'app 4
a7y18lte, Android 9
Rapporto 1

java.lang.NumberFormatException:
at java.lang.Integer.parseInt (Integer.java:627)
at java.lang.Integer.parseInt (Integer.java:650)
at eu.indiewalkabout.fridgemanager.util.PreferenceUtility.getDaysCount (PreferenceUtility.java:19)
at eu.indiewalkabout.fridgemanager.reminder.FoodReminder_fbjob.onStartJob (FoodReminder_fbjob.java:36)
at com.firebase.jobdispatcher.JobService$2.run (JobService.java:164)
at android.os.Handler.handleCallback (Handler.java:873)
at android.os.Handler.dispatchMessage (Handler.java:99)
at android.os.Looper.loop (Looper.java:214)
at android.app.ActivityThread.main (ActivityThread.java:7073)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:493)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:964)

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.