Skip to content

Conversation

@fire-at-will
Copy link
Contributor

Description

WIP for supporting the Galaxy Store.

### Description
Introduces the scaffolding for several classes that will be foundational
to Samsung development as we move forward:
- `GalaxyBillingWrapper`: implementation of `BillingAbstract`. The class
currently satisfies all of the BillingAbstract's requirements, but all
functions are stubbed with `TODO`s
- `GalaxyPurchasingData`: will be used when processing samsung purchases
- `GalaxyStoreProduct`: represents a product from the Samsung store
### Description
Adds the `GALAXY` to the list of supported Store types. 

> Note: This PR will have one failing integration test for the Customer
Center's localized strings not containing the Galaxy Store string until
a backend PR has been merged.
### Description
This PR creates a new module for the Galaxy Store, and allows developers
to set up the Android SDK to use the Galaxy Store when they configure
the SDK, like so:

```kotlin
val configuration = GalaxyConfiguration.Builder(
     context,
     apiKey,
     GalaxyBillingMode.PRODUCTION,
).build()

Purchases.configure(configuration)
```

It also:
- Introduces `GalaxyBillingMode`, an enum required when configuring the
SDK to use the Galaxy Store, which determines the environment that the
Galaxy Store processes IAPs with (prod, test, etc.).
- When a Galaxy configuration is used, `BillingFactory` will wire up a
`GalaxyBillingWrapper`
- Adds unit tests :)
…er (#2906)

### Description
The Galaxy Store doesn't support fetching the current storefront/country
code or showing in-app messages, so this PR:
- Logs + throws an error when `GalaxyBillingWrapper.getStorefront()` is
called
- Adds docs explaining that the storefront functions/properties aren't
supported for the Galaxy Store
- Adds a comment to `GalaxyBillingWrapper` to explicitly call out that
in-app messages aren't supported
@RevenueCat RevenueCat deleted a comment from codecov bot Dec 9, 2025
@RevenueCat-Danger-Bot
Copy link

RevenueCat-Danger-Bot commented Dec 12, 2025

1 Error
🚫 This PR increases the size of the repo by more than 250.00 KB (increased by 320.97 KB).
1 Message
📖 You can bypass the size check failure by adding the label "danger-bypass-size-limit". Please exercise caution.

Generated by 🚫 Danger

fire-at-will and others added 6 commits December 23, 2025 04:31
Added support for Galaxy Store product changes by introducing the
GalaxyReplacementMode enum and a new PurchaseParam config method
.galaxyReplacementMode().

---------

Co-authored-by: Will Taylor <[email protected]>
Co-authored-by: JayShortway <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants