From 1d589e87874bc53b582cd9c4bd8413773cf03fc4 Mon Sep 17 00:00:00 2001 From: Antia Puentes Date: Thu, 6 Aug 2020 18:36:33 +0200 Subject: Launch background application Bug-AGL: SPEC-3497 Signed-off-by: Antia Puentes Change-Id: I328f231e499d0473e9296f5d95678b5a1f2e88d6 --- src/js/background.js | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/js/background.js (limited to 'src/js') diff --git a/src/js/background.js b/src/js/background.js new file mode 100644 index 0000000..38408ed --- /dev/null +++ b/src/js/background.js @@ -0,0 +1,11 @@ +import { homescreen, afmMain } from 'agl-js-api'; + +var configjson = require('../config.json'); + +export function load() { + afmMain.start(configjson.background).then(function(result) { + console.log("loading background: " + result); + }); +} + + -- cgit 1.2.3-korg