Skip to content

[v2.1.0] Superwall Delegate not sending paywall info #85

@OrcunJoyoLabs

Description

@OrcunJoyoLabs

Hey folks,

I noticed that after moving from 2.0.5 -> 2.1.0, I have lost the paywall information on SuperWall Delegate (only iOS testing).

Sample code below:

@override
  Future<void> handleSuperwallEvent(SuperwallEventInfo eventInfo) async {
    try {
      final paywallInfo = eventInfo.event.paywallInfo;
      final placementName = eventInfo.event.placementName;
      final product = eventInfo.event.product;

      print('Event name: ${eventInfo.event.type}');
      print('Event Params: ${eventInfo.params}');
      print('Is Paywall info null? ${paywallInfo == null}');
      print('Is Placement name null? ${placementName == null}');
      print('Is Product null? ${eventInfo.event.product == null}');

...

Expected:

  • Non-null paywall info on paywall open event
  • Non-null product info on transaction start
  • Non-null placement name in events

Actual Output:

  • All values are null (paywallInfo, placementName, product) in both paywallOpen and transactionStart events

flutter: Event name: EventType.paywallOpen
flutter: Event Params: null
flutter: Is Paywall info null? true
flutter: Is Placement name null? true
flutter: Is Product null? true

flutter: Event name: EventType.transactionStart
flutter: Event Params: null
flutter: Is Paywall info null? true
flutter: Is Placement name null? true
flutter: Is Product null? true

My flutter version: Flutter 3.29.1, Dart 3.7.0, tested on iOS only, both on simulator and physical device

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions