-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
Hi,
I'm experiencing this issue where Superwall.configure() doesn't complete. The problem seems related/same as issue#288.
Superwall.configure() is called with:
- the right api key,
- products have been linked to playstore products
- manifest is updated with permissions and superwall activity tags (as mentioned in the sdk guide and as I've already done with other apps)
- for the parameter
applicationContextI'm using my classCustomApplication(relevant code below)
@HiltAndroidApp
public class CustomApplication extends AbstractCustomApplication implements Configuration.Provider, SuperwallDelegate, Application.ActivityLifecycleCallbacks {
@Inject
HiltWorkerFactory workerFactory;
@Inject
WearDevice wearDevice;
AbstractCustomApplication extends MultiDexApplication
Configuration.Provider is from package androidx.work
Application.ActivityLifecycleCallbacks is from package android.app
If i set SuperwallOptions as:
SuperwallOptions().apply {
logging.level = LogLevel.debug
}
I get in logs:
💬 [!!Superwall] [receipts] DEBUG: Refreshing receipts
‼️ [!!Superwall] [nativePurchaseController] ERROR: Unable to query for purchases.
💬 [!!Superwall] [productsManager] DEBUG: Billing client connected
And of course the sdk cannot present paywall and such as it's not properly initialized:
Handling event from Delegate -> SuperwallEventInfo(event=PaywallPresentationRequest(
status=com.superwall.sdk.paywall.presentation.internal.PaywallPresentationRequestStatus$Timeout@54a4e17, reason=com.superwall.sdk.paywall.presentation.internal.PaywallPresentationRequestStatusReason$SubscriptionStatusTimeout), params={is_superwall=true, status_reason=subscription_status_timeout,
source_event_name=after_splash,
pipeline_type=getPresentationResult, status=timeout,
app_session_id=ffe325a9-a597-458f-af8f-9b6f29268c17})
Metadata
Metadata
Assignees
Labels
No labels