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

Callback handling issue on iOS #74

Closed
tucazinul opened this issue Apr 27, 2018 · 0 comments
Closed

Callback handling issue on iOS #74

tucazinul opened this issue Apr 27, 2018 · 0 comments
Assignees

Comments

@tucazinul
Copy link

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

@hypery2k hypery2k self-assigned this May 19, 2018
@hypery2k hypery2k added the bug label May 19, 2018
@hypery2k hypery2k closed this as completed Aug 5, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants