Git Product home page Git Product logo

roaim / dtbazar Goto Github PK

View Code? Open in Web Editor NEW
4.0 3.0 2.0 15.47 MB

A virtual market where people can donate to a specific food to subsidize it for people who can't afford

Home Page: https://roaim.github.io/DTBazar

License: GNU General Public License v3.0

Java 49.46% Kotlin 45.89% HTML 4.65%
android java kotlin spring-boot-webflux spring-cloud-config spring-cloud-gateway netflix-eureka netflix-hystrix spring-security spring-reactive-mongodb

dtbazar's People

Contributors

roaim avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

dtbazar's Issues

Update Readme

Describe the solution you'd like
Update readme.md with following changes:

  • Replace icon with the following banner
  • Remove DT Bazar from title
  • Update contribution guide with Create issue then contribute
  • Add android version strategy with api version as major, issue number as minor and patch
  • Add project link: https://roaim.github.io/DTBazar
  • Add playstore link: https://play.google.com/store/apps/details?id=app.roaim.dtbazar.demo
  • Update technology stack of android with map-sdk-android, camerax and firebase text recognization
  • Reduce image size of architecture in readme.md of both dtb-api and dtb-android
  • Update Screenshots of android
  • Add graphics source files

Additional context
Banner:

DT Bazar

Add force update feature

Is your feature request related to a problem? Please describe.
App need to have a way to force user to update to the latest version.

Describe the solution you'd like
Firebase remote config could be used here to check if any specific version need to be updated to latest version. If force update status is true then a new fragment should be opened as single top. It should have a update button which navigates the user to the playstore. Pressing back button will close the app.

Describe alternatives you've considered
A dialog fragment could be used instead of fragment.

Android: Make about screen look good in landscape

Is your feature request related to a problem? Please describe.
Icon and Privacy Policy button are not aligned. Privacy Policy button looks center aligned but Icon doesn't seem to be.

Describe the solution you'd like
Make Icon, Title and Version text center aligned.

Additional context
Screenshot taken from Oneplus 6, OxygenOS 10.3.3 (Android 10)

device-2020-06-05-231530

Firebase Test Lab: Can not get through facebook login

Describe the bug
When I upload the apk in firebase test lab, firebase robo can not login. It just tests the about screen.

To Reproduce
Steps to reproduce the behavior:

  1. Upload the apk/aab to firebase test lab
  2. Select robo test
  3. Wait for the result
  4. Watch the video to know it can not pass the facebook login screen

Expected behavior
Firebase robo should pass the facebook login

App doesn't logout automatically after jwt token expired

Describe the bug
App doesn't logout automatically after jwt token expired.

To Reproduce
Steps to reproduce the behavior:

  1. Login
  2. Wait for 7 days to jwt token be expired
  3. Open the app agin
  4. The app shows jwt token expire msg but doesn't logout automatically

Expected behavior
App should logout automatically.

Smartphone (please complete the following information):

  • Device: Nexus 5x emulator
  • OS: Android 7.0
  • Version: 1.35.43

Android: FirebaseRemoteConfigClientException: Failed to get Firebase Instance ID token for fetch.

Describe the bug
App crashes when device connected to the WiFi which isn't connected to the internet and remote config doesn't have previously stored value. It shows the following error message:
com.google.firebase.remoteconfig.FirebaseRemoteConfigClientException: Failed to get Firebase Instance ID token for fetch.

To Reproduce
Steps to reproduce the behavior:

  1. Connect to a WiFi which isn't connected to the internet
  2. Uninstall the previous app
  3. Install and open it
  4. Wait for a while
  5. After a while the app crashes

Expected behavior
App should not crash

Smartphone:

  • Device: Oneplus 6
  • OS: Android 10
  • Version: 1.35.36

Additional context
Stack trace:

2020-06-19 17:48:02.321 30241-30241/app.roaim.dtbazar.demo E/AndroidRuntime: FATAL EXCEPTION: main
    Process: app.roaim.dtbazar.demo, PID: 30241
    com.google.android.gms.tasks.RuntimeExecutionException: com.google.firebase.remoteconfig.FirebaseRemoteConfigClientException: Failed to get Firebase Instance ID token for fetch.
        at com.google.android.gms.tasks.zzu.getResult(Unknown Source:15)
        at app.roaim.dtbazar.MainActivity$onCreate$2.onComplete(MainActivity.kt:74)
        at com.google.android.gms.tasks.zzj.run(Unknown Source:4)
        at android.os.Handler.handleCallback(Handler.java:883)
        at android.os.Handler.dispatchMessage(Handler.java:100)
        at android.os.Looper.loop(Looper.java:214)
        at android.app.ActivityThread.main(ActivityThread.java:7682)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:516)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:950)
     Caused by: com.google.firebase.remoteconfig.FirebaseRemoteConfigClientException: Failed to get Firebase Instance ID token for fetch.
        at com.google.firebase.remoteconfig.internal.ConfigFetchHandler.lambda$fetchIfCacheExpiredAndNotThrottled$1(com.google.firebase:firebase-config@@19.1.4:201)
        at com.google.firebase.remoteconfig.internal.ConfigFetchHandler$$Lambda$2.then(Unknown Source:4)
        at com.google.android.gms.tasks.zzf.run(Unknown Source:2)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
        at java.lang.Thread.run(Thread.java:919)
     Caused by: java.io.IOException: SERVICE_NOT_AVAILABLE
        at com.google.firebase.iid.zzu.then(com.google.firebase:firebase-iid@@20.1.5:16)
        at com.google.android.gms.tasks.zzd.run(Unknown Source:5)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
        at com.google.android.gms.common.util.concurrent.zza.run(Unknown Source:6)
        at java.lang.Thread.run(Thread.java:919) 

Improve Map Filter Dialog and About UI

Is your feature request related to a problem? Please describe.

  • Map Filter Dialog in the Store tab in portrait mode's height is not sufficient.

  • About screen all content are not scroll-able in portrait mode and in landscape mode of low resolution devices are do not look as expected.

Describe the solution you'd like

  • The height of the Map Filter Dialog in the Store tab could be match_parent.

  • Make all content of about screen in portrait mode scroll-able and make the landscape mode look good in low res devices.

Android: Improve Store list spacing in landscape mode

Is your feature request related to a problem? Please describe.
When two adjacent items' heights are not same small item takes more than usual margin.

Describe the solution you'd like
Replace GridLayoutManager with StaggeredGridLayoutManager in RecyclerView

Additional context
Screenshot taken from Oneplus 6, OxygenOS 10.3.3 (Android 10)

device-2020-06-05-232030

Pending donation doesn't remove after approve

Describe the bug
If store owner approves a donation it is added in the store but doesn't remove automatically in the pending donation screen after showing Approved toast.

To Reproduce
Steps to reproduce the behavior:

  1. Go to a store you created
  2. Click on Pending Donation or the Notification Icon.
  3. Tap on a donation
  4. Tap Yes
  5. Approved Toast is shown but the item is not removed from the list

Expected behavior
The item should be removed from the list on showing Approve Toast

Smartphone (please complete the following information):

  • Device: Nexus 5x emulator
  • OS: Android 26
  • Version 1.35.36

java.lang.RuntimeException: Could not read input channel file descriptors from parcel in Firebase Test Lab Robo Test

Describe the bug
App crashes in firebase test lab robo test.
This issue is asked in stackoverflow

To Reproduce
The crash is only happening in firebase test lab robo test. Unable to reproduce manually.

Expected behavior
App should not crash in robo test.

Screenshots
Screen video

Smartphone (please complete the following information):

  • Device: [Nexus 5x emulator]
  • OS: [Android 8.0]
  • Version [1.1.5, 1.1.26]

Additional context
Logcat

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.