Harshit Luthra avatar

Fixed Critical bug on openfoodfacts Android app

sachincool

Published: 24 Feb 2018 › Updated: 24 Feb 2018Fixed Critical bug on openfoodfacts Android app

Fixed Critical bug on openfoodfacts Android app

Open Food Facts is an org which combines data science and food ingredients together to output a variety of user helpfull detailed view on products.
In the app of OFF you can add a product picture,Barcode, Details of ingredients The app uses an OCR and stores the data in the OFF server. It's open and readable to all . They accept Crowdin translations and are Open to internationalization.

Bug Fixes

What i Fixed in my PR:-

  • Fixed TLS Certs on Nougat
  • And Added the onAllergensCallback.onAllergensResponse(false);
  • Freeze on Splash Screen
  • Login Issues
  • Implemented new Helper methods for HttpClient.

Solution

Nougat has a very bad effect on many apps, It's network calls cannot be sent to servers with custom strict configs and custom certificates, As Backend guy refused to change his config files of nginx. I had to add some TLS Old Certificates into the HTTP connection Call so that the request can be successful. then change the new HTTP Connection into Login and other calls aswell
Also i have to limit the new HTTP connection call to be applied only in Sdk 24. Other Sdks should use the normal TLS certificates for security purpose

New Projects

  • What is the project about?
    Explain in great detail what your project is about and briefly describe already existing features.

  • Technology Stack
    Perl Backend
    Android native app and IOS native App

  • Roadmap
    More contribution in this Project

  • How to contribute? Go to the Repository and pick some issues, Join the mailing list and chat on Slack



Posted on Utopian.io - Rewarding Open Source Contributors

Leave Fixed Critical bug on openfoodfacts Android app to:

Written by

*,..,* Sarcasm is my bitch ~!! I like my chocolates just like my humour....... Dark Very Very Dark

Read more #utopian-io posts


Best Posts From Harshit Luthra

We have not curated any of sachincool's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.

More Posts From Harshit Luthra