Question
Getting a 3D alert to work on HoloLens (Ionic Framework)
Hello,
I am using the following code to give popups/alerts during my experience. I have tested the code both on a mobile project and a 3D eyewear project. The code works fine on a mobile project, but on the 3D project using HoloLens will nothing appear.
Does HoloLens not support the Ionic framework or am I missing something?
$scope.Evaluate = function()
{
var stopOrFix = $ionicPopup.confirm({
title: "Machine Error Found",
template: "Decide if you want to fix the machine error now or move on",
cancelText: "Move on",
cancelType: "button-default",
okText: "Fix it now",
okType: "button-default"
});
stopOrFix.then(function(res){
if (res)
{
// Make it possible to scan again
console.log("If statement called");
$scope.Alert();
} else {
// do nothing
console.log("Move on");
}
})
};
$scope.Alert = function()
{
var alertPopup = $ionicPopup.alert(
{
title: "Machine Error found",
template: "Scan the QR code of the machine to get info"
});
alertPopup.then(function(res)
{
console.log("Console logging");
});
};

