Any Solution to know if content page is active or called inside a AppDelegate.cs ?
because iv installed a plugin NFC, and i want to active the plugin only when NFC.xaml page is active, not when starting the application.
in this code am trying to begin session only When page NFC.xaml is active or called
public partial class AppDelegate : global::Xamarin.Forms.Platform.iOS.FormsApplicationDelegate
{
public override bool FinishedLaunching(UIApplication app, NSDictionary options)
{
// if(App.Current==NFC.xaml) any way to know the content page ?
Session = new NFCNdefReaderSession(this, null, true);
Session?.BeginSession();
}
}
}