-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
I’m encountering a crash issue on iPad when initializing Superwall. Although I don’t have an iPad, I’ve observed this error in Crashlytics from my client’s iPad (iPad Pro, 12.9-inch, 6th generation). This issue might be similar to this reported issue, but I haven’t found a solution.
Details:
- Superwall Version: ^1.3.3
- RevenueCat Version: ^8.2.1
Here’s the initialization code:
initialize({required String? appFlyerId}) async {
try {
String? apiKey = dotenv.env['SUPERWALL_IOS_KEY'];
final appLinks = AppLinks();
InAppPurchaseService purchaseController = locator<InAppPurchaseService>();
Superwall.configure(
apiKey!,
purchaseController: purchaseController,
);
await Superwall.shared.setDelegate(this);
await purchaseController.initialize(appFlyerId: appFlyerId);
} catch (e) {
rethrow;
}
}Whenever this code executes on the specified iPad model, the app crashes. However, it works fine on the iPhone and in the simulator.
Here’s a video of the issue: Crash Video
Any guidance on resolving this for iPad would be appreciated.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels