title: Pusher stops handling events in IOS release mode
body: <p>I have a flutter application that uses Pusher beams to receive messages it's all working as expected in Android, in IOS when I run the app in debug mode it works fine as usual receives events even when the app is in Foreground but when I run it in release mode in xcode it stops receiving events in the background and it receives all of the events that were sent while the app was in the background once I restore it to the foreground this is my code putting it in the bloc of the home screen:</p>
  <pre><code>PusherOptions options = PusherOptions(
        auth: PusherAuth(
          url + 'broadcasting/auth',
          headers: {
            'Authorization': 'Bearer $token',
          },
        ),
        cluster: configurationModel.pusherAppCluster,
      );
  
      PusherClient pusher = PusherClient(
          configurationModel.pusherAppKey,
          options,
          autoConnect: false
      );
  
      pusher.connect();
  
      // Subscribe to a private channel
      Channel channel = pusher.subscribe(pusherChannel);
  
      // Bind to listen for events called &quot;order-status-updated&quot; sent to &quot;private-orders&quot; channel
      channel.bind(pusherEvent, (PusherEvent event) {
        _showNotificationCustomSound();
      });
  </code></pre>