deepwall
HomeContact UsLogin
  • Overview
  • System Components
  • Key Concepts
  • How It Works
  • Sign In
  • 🚀GETTING STARTED
  • App Registration
  • Configure In-App Products
  • Paywall Setup
    • Create A Paywall
    • Configure Look & Feel
    • Texts and Translations
  • Displaying Paywalls
    • Activate Default Displays
    • Create Targeted Displays
    • Display Priorities
    • Display Reports
    • Edit Displays
    • Display Rules
    • On Close Paywalls
  • Store Configuration
  • Attributions Configuration
  • App Status and Settings
  • ⚙️ SDK Framework
    • SDK Installation
      • iOS SDK
      • Android SDK
      • React Native SDK
      • Flutter SDK
      • Cordova SDK
      • Unity SDK
    • Using the SDKs
      • Initialization
      • Configuration
      • Listening SDK Events
      • Requesting Paywalls
      • Closing a Paywall
      • Validating Receipts
      • Making Purchases
      • Upgrades and Downgrades
      • Non-subscription Purchases
      • Restoring Purchases
      • Transition To Another Paywall
  • 🧪EXPERIMENTS
    • Experiments Overview
    • Create Experiments
    • Experiment Reports
    • Manual Traffic Allocation
    • Update Experiments
    • How Optimization Works?
  • 📦Integrations
    • Integrations Overview
    • Events List
    • Adjust
      • Get App Token
      • Create Adjust Events
    • AppsFlyer
      • Get Dev Key
    • Webhooks
    • OneSignal
  •  App Tracking (iOS 14.5)
    • App Tracking Overview
    • Configure In-app Actions
    • Create ATT Prompt
    • Displaying ATT Prompts
    • Experiments
  • 📈DASHBOARD
    • App Overview
    • Invite Members
    • Access Management
  • GUIDES
    • Apple
      • Getting the App Credentials
      • Setup In-App Products
      • Getting the Shared Secret
      • Server to server notifications
    • Google
      • Getting App Credentials
      • Setup In-App Products
      • Create Service Account Key
      • Developer Notifications
    • Huawei
      • Getting App Credentials
      • Setup In-App Products
      • Developer Notifications
  • 🔍Testing
    • Test Flows
    • Troubleshooting
    • Sandbox Testing
      • Apple App Store
      • Google Play Store
  • 🔗SDK Links
  • iOS SDK
  • Android SDK
  • React Native SDK
  • Flutter SDK
  • Cordova SDK
  • Unity SDK
Powered by GitBook
On this page
  • Core Functions
  • Implementation Steps

Was this helpful?

  1. ⚙️ SDK Framework

Using the SDKs

Instructions for configuring and using Deepwall SDKs

PreviousUnity SDKNextInitialization

Last updated 4 years ago

Was this helpful?

Deepwall provides an easy-to-implement SDK framework.

By implementing the Deepwall SDK into your app, your app will be enabled for displaying paywalls, offering in-app purchases, validating user receipts, checking subscription statuses, and restoring purchases with no need for any client or server integration to App Store, Google Play Store, or Huawei AppGallery.

Deepwall also automatically integrates your app to attribution providers like Adjust and AppsFlyer for targeting and retargeting your users and logging events.

Core Functions

The Deepwall SDK is mainly responsible for the following functions:

  • Displaying paywalls in the app

  • Integration to mobile platforms to create and restore in-app purchases

  • Purchase receipt validation

  • Subscription status check

  • Integration to attribution providers like Adjust and AppsFlyer

Implementation Steps

1.Initialize Deepwall

After you have completed the SDK installation for your platform, you can import and initialize the Deepwall SDK in your app. See the following guide for initialization.

2. Configure User Properties

You need to provide the user properties to Deepwall at the time of configuration and also you should send an update whenever some of the properties change. See the following guide for configuration.

3. Request Paywall

After you have initialized and configured SDK with user properties, you are ready to request a paywall anywhere in your app. See the following guide for requesting paywalls.

4. Handle Purchase Events

Deepwall SDK creates and validates in-app purchases automatically without the need for any code. Deepwall SDK triggers various events while making in-app purchases, which gives you the ability to manage the purchase flow in your app. See the following guide for handling purchase events.

5. Handle Restore Events

Deepwall SDKs perform restore of purchases automatically without the need for any code. Deepwall SDK triggers events for restoration which gives you the ability to manage purchase flow in your app. See the following guide for handling restore events.

6. Handle the upgrade and downgrade of subscriptions

Even iOS users can manage upgrade/downgrade and crossgrade on App Store directly without the need for developer interaction. For Android apps, app developers can decide to support upgrade, downgrade or both in their apps by selecting their upgrade policy via Deepwall. See the following guide for handling upgrades and downgrades.

7. Handle Non-Subscription Purchases

Deepwall SDKs create and restore in-app purchases for both subscriptions and non-subscription products, and validate user receipts for you without the need for additional code. For consumable products, you need to mark the purchase as consumed for consumable products to be purchased again for Google apps. See the following guide for handling non-subscription purchases.

8. Close Paywall

When a purchase is made successfully, you can close the paywall if another purchase cannot be made by users. See the following guide for closing paywalls.

You can check out the following guide to learn about all the events and parameters:

You can also check out the following guide for troubleshooting the most common errors while setting up the in-app purchases and the Deepwall SDK:

Initialization
Configuration
Requesting Paywalls
Making Purchases
Restoring Purchases
Upgrades and Downgrades
Non-subscription Purchases
Closing a Paywall
Listening SDK Events
Troubleshooting