Back to All

OneSignal Push opened Callback did not work

I am not sure if it just happen to me or others both did not work when I click the notification with test function


  function gonative_onesignal_push_opened(data) {
      console.log("gonative_onesignal_push_opened", data)
      document.getElementById("callbackResults").value = "";
      document.getElementById("callbackResults").value = JSON.stringify(data);
  }

  function median_onesignal_push_opened(data) {
      console.log("median_onesignal_push_opened", data)
      document.getElementById("callbackResults").value = "";
      document.getElementById("callbackResults").value = JSON.stringify(data);
  }