Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49164

Ionic-plugin-deeplinks issue, when app is in warmstate

$
0
0

@babion wrote:

I am using ionic-plugin-deeplinks for deeplinking, deeplink works properly when app is in background . But it fails to route when the app is foreground and inactive. My code structure is same as example shared on the plugin.

$ionicPlatform.ready(function() {
// Note: route's first argument can take any kind of object as its data,
// and will send along the matching object if the route matches the deeplink
$cordovaDeeplinks.route({

}).subscribe(function(match) {

}, function(nomatch) {

** i am using $location.path(loc) for the navigation . As i have few dynamic params on the url .

When app is in background , deeplinking works absolutey fine. Whereas when the app is inactive but running on forground( when user has switched to some other app), clicking on any url open the app but doesn't route to the particular page.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49164

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>