Skip to content
This repository was archived by the owner on Feb 10, 2023. It is now read-only.
This repository was archived by the owner on Feb 10, 2023. It is now read-only.

Documentation is not enough the call back is never called. #16

@scavezze

Description

@scavezze

I have followed the directions exactly. but the urlHandler never fires. I am running into this issue

NativeScript/NativeScript#3738

i have followed the directions above to cextend the native script activity but It precludes using your handler witch i really like because it helps pars the url and will work on ios. I tried adding

protected onNewIntent(intent: android.content.Intent): void {
	super.onNewIntent(intent) 
        this.setIntent(intent); 
}

instead of

protected onNewIntent(intent: android.content.Intent): void {
	super.onNewIntent(intent)
	if (intent.getDataString) {
		let data = intent.getDataString()
		if (data) {
			console.log('data', data)
		}
	}
}

This solves the issue and i can use your plugin without issue unfortunately this seems to break the ActionBar -> ActionItem click event i am not sure why

have you run into these issues using your plugin? am i missing something. I would really appreciate your help.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions