Skip to content

Purchases are broken with SDK #17

Description

@shamruk

Got following bug in 1.2 SDK, but still here on 1.4 (ApphudSDK-Android:2.9.6)

Apphud is the outdated one. Here's what happens:

Apphud SDK 2.8.3 was compiled against Billing Library v5 or older — its code calls enablePendingPurchases() which existed back then
Unity IAP 4.14.2 requires Billing Library v8.0.0 — this version removed enablePendingPurchases() (pending purchases are now always on)
At build time, Gradle picks one billing library — the newest (8.0.0)
At runtime, Apphud's old code calls a method that no longer exists in 8.0.0 → crash

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions