Android SDK
Guide for integrating Purchasely SDK inside your Android app
Last updated
Was this helpful?
Guide for integrating Purchasely SDK inside your Android app
Last updated
Was this helpful?
Make sure you are fetching your dependencies from Maven Central.
Add the core sdk to your dependencies
The core SDK does not contains a billing store, you need to add the ones you want to use as a dependency otherwise your users won't be able to make purchases.
If you have videos in your paywall, you must provide a video player to play them. Since version 3.1.0, Purchasely core dependency does not include a video player to avoid dependency conflicts.
Huawei requires you to provide the SHA-1 of your certificate and add their configuration file to your project (agconnect-services.json). Please refer to their documentation :
To integrate Huawei Mobile Services, you need to add dependencies to huawei repository and plug-in as referred in their documentation :
We provide a new player dependency which will be detected automatically by our SDK.
implementation 'io.purchasely:player:3.7.3'
You can also provide your own player view, more information in our