Hello,
I have tried multiple times, and ways to add a add-in, and once I do, I get his message, and I am trying to see who can help me to resolve this issue, for a customer.
We are on the marketplace, but can not get add in to work.
thanks
CODE:
{
"name": "Digital Permit Book",
"supportEmail": "dj@digitalpermitbook.com",
"version": "1.0",
"items": [
{
"url": "https://sandbox.digitalpermitbook.com/app.html",
"path": "DriveAppLink/",
"menuName": {
"en": "Digital Permit Book"
},
"icon": "https://app.digitalpermitbook.com/favicon.ico"
}
],
"key": "",
"isSigned": false,
"onStartup": true,
"onShutdown": true
}
where url is pointing to the html file, having this content:
<head>
<script>
geotab.addin.drive = function () {
return {
startup: function (freshApi, freshState, initializeCallback) {
initializeCallback();
},
initialize: function (freshApi, freshState, initializeCallback) {
console.log("initialize", foo);
initializeCallback();
},
focus: function (freshApi, freshState) {
let nav = new window.Backbone.Router();
nav.navigate(window.open("https://driver.digitalpermitbook.com/", "_system"), {trigger: true});
},
blur: function (freshApi, freshState) {
},
};
};
</script>
</head>
<body>
<div id="addin-container"></div>
</body>
</html>
</script>

