From e4c9f219dfff1eb578436ac45da22b6e871d2147 Mon Sep 17 00:00:00 2001 From: Robert Kaiser Date: Fri, 15 Feb 2013 03:27:00 +0100 Subject: [PATCH] add some notes and entries following from that --- README | 30 ++++++++++++++++++++++++++++++ manifest.webapp | 1 + metadata.json | 4 ++++ 3 files changed, 35 insertions(+) create mode 100644 metadata.json diff --git a/README b/README index a48df8c..f714795 100644 --- a/README +++ b/README @@ -10,3 +10,33 @@ convenience for potential contributors. See the TODO for tasks that you can help with. Please don't use GitHub for issue tracking but http://bugzilla.kairo.at/ + + +Notes: + is there any way to do rapid development on something that needs to be a certified app? + if I need to package and sign stuff for every typo or other step in development, that really sucks + you don't + KaiRo: use https://github.com/fabricedesre/b2gremote to push your certified package to the phone + fabrice: still needs me to package stuff up every time? +* KaiRo misses the old Developer Mode + KaiRo: for now yes + as insecure as it was + fabrice: grr + KaiRo: or, you can just host it + fabrice: I'd really like to have it as a "hosted app" (actually, on a host in the local wifi) but with device-storage:apps permission if possible (while developing) + KaiRo: that's possible: just set "type": "certified" in your manifest.webapp + fabrice: but thanks for showing me this way at least, maybe I'll try it + fabrice: ah, that sounds interesting + KaiRo: that gives you what the old dev-mode had + fabrice: and then I need to push that with your add-on? + yep + ok, that's good, I can work with that fine :) + point to the directory where there's you manifest.webapp and the metadata.json + metadata.json? + KaiRo: the metadata.json looks like: + { + "origin": "https://mobile.twitter.com", + "manifestURL": "https://mobile.twitter.com/cache/twitter.webapp" + } + fabrice: thanks, I'll look into that, sounds helpful + KaiRo: let me know if you run into any issues diff --git a/manifest.webapp b/manifest.webapp index 387ace2..30e4729 100644 --- a/manifest.webapp +++ b/manifest.webapp @@ -2,6 +2,7 @@ "name": "About Crashes", "description": "Access crash reports submitted by your Firefox OS device.", "launch_path": "/index.html", + "type": "certified", "permissions": { "device-storage:apps": { "description": "Read crash reports on the device." diff --git a/metadata.json b/metadata.json new file mode 100644 index 0000000..d5c1b15 --- /dev/null +++ b/metadata.json @@ -0,0 +1,4 @@ +{ + "origin": "https://robert.box.kairo.at", + "manifestURL": "https://robert.box.kairo.at/manifest.webapp" +} \ No newline at end of file -- 2.43.0