rudderlabs / rudder-integration-appcenter-flutter

RudderStack's Flutter Implementation for Visual Studio App Center.
MIT License
1 stars 1 forks source link

recordScreenViews not working #5

Open jsaguiar opened 2 years ago

jsaguiar commented 2 years ago
 final RudderController rudderClient = RudderController.instance;
  MobileConfig mobileConfig =
      MobileConfig(autoCollectAdvertId: true, recordScreenViews: true);

  RudderConfigBuilder builder = RudderConfigBuilder();
  builder.withMobileConfig(mobileConfig);
  builder.withLogLevel(RudderLogger.VERBOSE);
  rudderClient.initialize('****',
      config: builder.build());

I'm running the above code to try to automatically send screen events to rudderstack. But seems that I can't make it work. I can only see lifecycle ones.

Flutter 3.3.0 rudder_sdk_flutter: ^2.1.1 ios simulator: ios 15.2

desusai7 commented 2 years ago

Hey @jsaguiar,

As of now, the Flutter SDK tracks the screen changes made only by your native iOS views, which is because our Flutter SDK is a wrapper over the native Android and iOS SDKs and they can track only the native screen changes, but not the Flutter Screen changes. However, we had an item in the plan to track the screen changes on the Flutter as well.

We will prioritize this and let you know once we had this released