All Projects → vanniktech → RxBilling

vanniktech / RxBilling

Licence: Apache-2.0 License
Reactive wrapper around the Android Billing API

Programming Languages

kotlin
9241 projects
java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to RxBilling

Billing Android
RxJava wrapper for Android Play Billing Library
Stars: ✭ 40 (+233.33%)
Mutual labels:  rxjava, billing
pos-billing-and-invoicing-software
Most Advanced POS, Billing, Inventory & Invoicing Software which can perfectly fit on your WholeSale & Retail Business --- Demo :
Stars: ✭ 33 (+175%)
Mutual labels:  billing
pterobilling
An open-source Laravel 8 online store, client area, and billing software specially made for Pterodactyl panel
Stars: ✭ 258 (+2050%)
Mutual labels:  billing
WanAndroid
Kotlin版 玩Android 客户端
Stars: ✭ 37 (+208.33%)
Mutual labels:  rxjava
Kotlin-Starter
☕ Kotlin starter with rx
Stars: ✭ 22 (+83.33%)
Mutual labels:  rxjava
magnusbilling7
MagnusBilling is a fast, secure, efficient, high availability, VOIP Billing.
Stars: ✭ 136 (+1033.33%)
Mutual labels:  billing
RxValidationTextInputLayout
The easiest way to bring validation to your project
Stars: ✭ 45 (+275%)
Mutual labels:  rxjava
Dribbbler
A Dribbble client with MVP+Repository pattern , RxJava ,Retrofit , Dagger
Stars: ✭ 56 (+366.67%)
Mutual labels:  rxjava
TMDB-App
Demo app using TMDB api
Stars: ✭ 13 (+8.33%)
Mutual labels:  rxjava
RxCoroutineSchedulers
Kotlin Coroutines as RxJava Schedulers 😈
Stars: ✭ 31 (+158.33%)
Mutual labels:  rxjava
RxFBase
🔥 wrapping firebase with rx
Stars: ✭ 12 (+0%)
Mutual labels:  rxjava
BookReader
📕 "任阅" 网络小说阅读器,3D翻页效果、txt/pdf/epub书籍阅读、Wifi传书~
Stars: ✭ 6,113 (+50841.67%)
Mutual labels:  rxjava
Android-RxFirebase
RxJava implementation for the Android Firebase client by Ezhome
Stars: ✭ 30 (+150%)
Mutual labels:  rxjava
ReactiveBus
🚍 Reactive Event Bus for JVM (1.7+) and Android apps built with RxJava 2
Stars: ✭ 17 (+41.67%)
Mutual labels:  rxjava
dropwizard-mongo
A Dropwizard bundle for MongoDB
Stars: ✭ 20 (+66.67%)
Mutual labels:  rxjava
WanAndroid-Java
一款采用Java语言、MVVM + Retrofit + RxJava架构开发的玩Android客户端 (https://www.wanandroid.com/) 。PS: Kotlin版 (https://github.com/chongyucaiyan/WanAndroid-Kotlin) 。
Stars: ✭ 32 (+166.67%)
Mutual labels:  rxjava
Fineract-CN-mobile
DEPRECATED project - Check the Apache fineract-cn-mobile project instead
Stars: ✭ 17 (+41.67%)
Mutual labels:  rxjava
servant
Serving you with GoogleApiClients any way you like them
Stars: ✭ 17 (+41.67%)
Mutual labels:  rxjava
RxFbLiveVideoEmoticons
Demo of Fb Live Video Reactions using RxJava2
Stars: ✭ 93 (+675%)
Mutual labels:  rxjava
android-online-course
Android Online Course
Stars: ✭ 22 (+83.33%)
Mutual labels:  rxjava

RxBilling

Reactive wrapper around the Android Billing API that makes in app purchases and subscriptions really easy to handle. I've been using this library in my apps for years and it has been working nicely.

Usage

The core functionality is provided via an interface:

public interface RxBilling {
  Observable<InventoryInApp> queryInAppPurchases(String... skuIds);

  Observable<InventorySubscription> querySubscriptions(String... skuIds);

  Completable isBillingForInAppSupported();

  Completable isBillingForSubscriptionsSupported();

  Single<PurchaseResponse> purchase(Inventory inventory, String developerPayload);

  Observable<PurchasedInApp> getPurchasedInApps();

  Observable<PurchasedSubscription> getPurchasedSubscriptions();

  Single<Integer> acknowledgePurchase(Purchased purchased);

  Single<Integer> consumePurchase(Purchased purchased);

  void destroy();

  @interface BillingResponse {
    int OK = 0;
    int USER_CANCELED = 1;
    int SERVICE_UNAVAILABLE = 2;
    int BILLING_UNAVAILABLE = 3;
    int ITEM_UNAVAILABLE = 4;
    int DEVELOPER_ERROR = 5;
    int ERROR = 6;
    int ITEM_ALREADY_OWNED = 7;
    int ITEM_NOT_OWNED = 8;
  }
}

The actual interface also contains documentation.

This library offers different implementations.

Google Play Billing Library v3 implementation

implementation 'com.vanniktech:rxbilling-google-play-library:0.5.0'
class YourActivity extends Activity {
  private RxBilling rxBilling;

  @Override public void onCreate(Bundle savedInstanceState) {
    super.onCreate();
    rxBilling = new RxBillingGooglePlayLibraryV3(this);
  }

  @Override public void onDestroy() {
    super.onDestroy();
    rxBilling.destroy();
  }
}

Testing

There's also a dedicated testing artifact.

implementation 'com.vanniktech:rxbilling-testing:0.5.0'

License

Copyright (C) 2018 Vanniktech - Niklas Baudy

Licensed under the Apache License, Version 2.0

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].