Coder Social home page Coder Social logo

Only Google Play Store working about openiab HOT 5 CLOSED

brstgt avatar brstgt commented on September 24, 2024
Only Google Play Store working

from openiab.

Comments (5)

oorlov avatar oorlov commented on September 24, 2024

Currently we are preparing GooglePlay+Amazon+OpenStore to release. I'm working on it in https://github.com/oorlov/OpenIAB/tree/openiab-0.1-cleanup

If your changes ready I will pull it. I'm going to change election approach a bit.

I have some obstacles with verifying everything is working. It would be great if someone kick me when something is fu***d up :)

from openiab.

brstgt avatar brstgt commented on September 24, 2024

Thanks for your answer!

I don't want to mess around too much in your code without knowing what your state is. I just added some code to avoid automatic election. I want to inject which store to choose. Reason is simple:
It is easier to test and more robust to deploy. I elect them manually by gradle build-variants. You can set a certain value in a resource file and then inject the appropriate store implementation.
No hazzle, no scary sandbox testing, no hardcoded "debug" flags, no unpredictable behaviour => less things that go wrong.
Thats just my feedback. After many years of coding experience, IMHO not the most comfortable way is the best but the most reliable and testable :)

from openiab.

oorlov avatar oorlov commented on September 24, 2024

Let me guess, you use your own version of AppstoreServiceManager without OpenStores discovering? If so I'll keep it

from openiab.

brstgt avatar brstgt commented on September 24, 2024

Just have a look here
https://github.com/Jaumo/OpenIAB/commit/81f87c1991a27d844534216ef4ffb33ef786a12f

And this could be very useful, too:
https://github.com/Jaumo/OpenIAB/commit/38134ef154606a2d923f92111fe80ec03b66099a

Android Studio chose gradle as their build system of choice. To be able to integrate it easily and properly into existing projects, a build file is essential.

from openiab.

oorlov avatar oorlov commented on September 24, 2024

recovered Amazon, GooglePlay and OpenStore. Election mechanism is changed.
8354aa7

from openiab.

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.