An open API service indexing awesome lists of open source software.

https://github.com/ddfreiling/tns-ng-deeplink

Test repository for nativescript-angular deep-linking
https://github.com/ddfreiling/tns-ng-deeplink

Last synced: 10 months ago
JSON representation

Test repository for nativescript-angular deep-linking

Awesome Lists containing this project

README

          

# tns-ng-deeplink
Test repository for nativescript-angular deep-linking

The following works as a deep-link in this demo-repo:
`deeplink://details`

It works by having a custom Activity on Android, and custom AppDelegate on iOS,
each using a [ReplaySubject](https://github.com/Reactive-Extensions/RxJS/blob/master/doc/api/subjects/replaysubject.md), which can be subscribed to from the AppComponent.

IMPORTANT:
AndroidManifest.xml has `android:launchMode="singleTask"`,
which makes sure the angular app is not re-initialized on deep-links