Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions RevenueCat/Plugins/Android/PurchasesWrapper.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import android.util.Log;

import androidx.annotation.Keep;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;

Expand Down Expand Up @@ -37,6 +38,7 @@

import kotlin.Unit;

@Keep
public class PurchasesWrapper {
private static final String RECEIVE_STOREFRONT = "_receiveStorefront";
private static final String RECEIVE_PRODUCTS = "_receiveProducts";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

import androidx.activity.ComponentActivity;
import androidx.activity.result.ActivityResultLauncher;
import androidx.annotation.Keep;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;

Expand All @@ -20,6 +21,7 @@

import kotlin.Unit;

@Keep
public class CustomerCenterTrampolineActivity extends ComponentActivity {
private static final String TAG = "PurchasesUnity";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
import androidx.activity.OnBackPressedDispatcher;
import androidx.activity.OnBackPressedDispatcherOwner;
import androidx.activity.ViewTreeOnBackPressedDispatcherOwner;
import androidx.annotation.Keep;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.core.graphics.Insets;
Expand Down Expand Up @@ -52,6 +53,7 @@

import kotlin.Unit;

@Keep
public class PaywallViewPresenter {

private static final String TAG = "PurchasesUnity";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,23 @@
import android.app.Activity;
import android.util.Log;

import androidx.annotation.Keep;
import androidx.annotation.Nullable;

import com.revenuecat.purchases.hybridcommon.ui.HybridPurchaseLogicBridge;

@Keep
public class RevenueCatUI {
@Keep
public interface PaywallCallbacks { void onPaywallResult(String result); }

@Keep
public interface PurchaseLogicCallbacks {
void onPerformPurchase(String requestId, String packageJson);
void onPerformRestore(String requestId);
}

@Keep
public interface CustomerCenterCallbacks {
void onCustomerCenterDismissed();
void onCustomerCenterError();
Expand Down