I just learned how to push notification using Firebase Cloud Messaging and it’s cool.
how to open the specific page on the app? especially the tabbed template.
Hope anyone can answer. thank you
I just learned how to push notification using Firebase Cloud Messaging and it’s cool.
how to open the specific page on the app? especially the tabbed template.
Hope anyone can answer. thank you
In your push message payload set where you want to go and then use the router function to go there.
if(appInfo.activePage != "/where-I-need-to-go/")
{
let route = "/where-I-need-to-go/" +self.info.pushmsg-data +"/1/1/";
app.views.main.router.navigate(route, {force: true, ignoreCache: true, reload: true});
}
ok i will try that. thank you.