This codes gives me empty page when its open in the app even with the postId in notifcation. Please i want help. Thanks in advance
if(window.plugins && window.plugins.OneSignal){
window.plugins.OneSignal.enableNotificationsWhenActive(true);
var notificationOpenedCallback = function(result){
// if (jsonData.additionalData) {
// if (jsonData.additionalData.myappurl)
// $state.go(jsonData.additionalData.myappurl, {'id': +
// jsonData.additionalData.myKey});
// }
$state.go('anti_galamsey.news_singles', {"id": "49726"});
i still get empty page even with the right postId…Please any help…