Skip to content

Launch from URL doesn't work on Android (when app is in background) #85

@kimberlysiva

Description

@kimberlysiva

This seems to require an onNewIntent listener: NativeScript/NativeScript#2747

I've tried extending the com.tns.NativeScriptActivity as suggested in that post, but so far onNewIntent does not fire.

To be clear, the app currently resumes from a URL when the app in the background, but we are not catching the new intent to get the target url.

Be careful about trying to use an existing plugin, e.g. https://github.com/hypery2k/nativescript-urlhandler

On iOS, that plugin implements UIApplicationDelegate, but we also implement this for analytics, and there can only be one delegate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions