diff --git a/packages/example/lib/home_screen.dart b/packages/example/lib/home_screen.dart index 48667ece..36a73feb 100644 --- a/packages/example/lib/home_screen.dart +++ b/packages/example/lib/home_screen.dart @@ -37,7 +37,8 @@ class HomeScreenState extends State { } void __initialize() { - MobileConfig mc = MobileConfig(autoCollectAdvertId: false); + MobileConfig mc = + MobileConfig(autoCollectAdvertId: false, collectDeviceId: false); RudderConfigBuilder builder = RudderConfigBuilder(); builder.withFactory(RudderIntegrationAppcenterFlutter()); builder.withFactory(RudderIntegrationFirebaseFlutter()); @@ -112,7 +113,7 @@ class HomeScreenState extends State { } void __reset() { - rudderClient.reset(); + rudderClient.reset(clearAnonymousId: true); setOutput("reset"); }