I followed the guide below to set up dynamic links on my flutter project. The dynamic link works and takes me to the desire location in the app but the issue is that everytime I reopen the app, the dynamic link is triggered again. The code block below is what triggers the link when the app is resumed. What do I have to do for the app to know that if the link is not being clicked, dont take me to the dynamics link location?
@override
void didChangeAppLifecycleState(AppLifecycleState state) async{
if (state == AppLifecycleState.resumed) {
_timerLink = new Timer(
const Duration(milliseconds: 1000),
() {
_dynamicLinkService.retrieveDynamicLink(context);
},
);
}
}