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.

Callback handling issue on iOS #74

@tucazinul

Description

@tucazinul

What did you do?

I've installed the plugin to handle the URL sent from a Share Extension to my main app. I've placed the handleUrl() function in the app.component.ts inside ngOnInit() so I can use other Angular components for the callback.

What did you expect to happen?

I was expecting that when receiving the URL from the share extension, the callback function will be called.

What happened instead?

However, when the app is resumed this works fine but when the app it's closed and opened using the URL the callback is not defined. I believe this happens because the bootstrapping for the angular happens after the call of "didFinishLaunchingWithOptions()" so the callback is not yet defined.

Your Environment

NativeScript version: 4.0.0
Java version: -
NodeJS and NPM version: node v8.11.1, npm v5.6.0
Platform(s) running: macOS, iOS

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions