I was wondering how to call SDK method on different pages ?
My application is split on several pages.
The SDK is initialized on the main.dart
Then I have a home.dart, list.dart, settings.dart, etc....
For example, in settings.dart, I would like to call the method to opt-in or opt-out.
In the example proposed with the plugin, the logevent is pass through a widget parameter.
Hello,
I was wondering how to call SDK method on different pages ? My application is split on several pages. The SDK is initialized on the main.dart Then I have a home.dart, list.dart, settings.dart, etc....
For example, in settings.dart, I would like to call the method to opt-in or opt-out.
In the example proposed with the plugin, the logevent is pass through a widget parameter.
But if I have nested pages like this :
Main > Home > Account > Profile > Settings
How can Settings use appsflyer sdk method ?
Thanks for your help