Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request for Lightweight SDK for App Extension (Eg Widget) #3985

Open
jesus-mg-ios opened this issue Jun 23, 2024 · 1 comment
Open

Request for Lightweight SDK for App Extension (Eg Widget) #3985

jesus-mg-ios opened this issue Jun 23, 2024 · 1 comment

Comments

@jesus-mg-ios
Copy link

Description

We have strict memory constraints for our app extension, eg a widget. Our current integration with RevenueCat includes unnecessary components like prewarming paywall cache, attribution data, product caching, trial eligibility checks, rate limiters, etc., which are not essential for the app extension functionality.

Specific Requirements:

Authentication and Entitlement Check: We need a method to verify if the user, who has signed in through the main app (synced via RevenueCat groups), has a specific entitlement (let's call it X entitlement) and know if its valid.

Cache Management: Ability to invalidate or refresh purchase information automatically to reflect real-time changes in purchases.

Requested Features:

Minimal Footprint: Ensure the SDK is optimized to consume minimal memory and CPU resources.

Description
Core Functionality Only: Strip away components not essential for entitlement checks and purchase validation within the widget.

Use Case Context:

Our app extensions need to display specific content or functionality based on the user's entitlement status, which is managed through RevenueCat. The primary concern is to streamline the SDK to meet the widget's memory constraints while ensuring reliable entitlement verification and purchase validation.

Additional Information:

The SDK should support iOS and Catalyst app extensions, particularly widgets and other kinda extensions, adhering to Apple's guidelines for memory usage and performance.

We aim to reduce the overhead of unnecessary objects present in the SDK that are not relevant to the widget's limited scope of functionality.

Outcome Requested:

A lightweight SDK configuration or guidance on configuring the existing SDK to meet the outlined requirements.

@RCGitBot
Copy link
Contributor

👀 We've just linked this issue to our internal tracker and notified the team. Thank you for reporting, we're checking this out!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants