handlePushTap static method
Whether the newest intent the activity received (the
last one through onNewIntent, else its launch intent) is an AppDNA
notification tap, handing it to the SDK for attribution + routing if the
plugin has not already. The plugin already hands those intents over (the
launch intent at configure, a new activity's when it attaches), so this
is optional; a tap the SDK already handled returns true and is not
tracked or routed again. Answers at once, also before configure or
after shutdown() (the tap is then handled once the SDK is ready). The
SDK gets a copy of the intent, so the intent keeps its extras.
Android-only — a no-op returning false on iOS.
Implementation
static Future<bool> handlePushTap() async {
final result = await _channel.invokeMethod<bool>('handlePushTap');
return result ?? false;
}