Cannot access localhost:8001 for local mobile plugin testing

Help!

Getting the following error when trying to test my plugin for inclusion in inkdrop-mobile-plugins:

GET http://localhost:8001/index.js net::ERR_BLOCKED_BY_CLIENT

Here are my changes against upstream:

diff --git a/.gitmodules b/.gitmodules
index 4cb0528..0e20cba 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -22,3 +22,6 @@
 [submodule "packages/embed"]
        path = packages/embed
        url = https://github.com/inkdropapp/inkdrop-embed.git
+[submodule "packages/wiki_links"]
+ path = packages/wiki_links
+ url = https://github.com/ryanpcmcquen/inkdrop_wiki_links.git
diff --git a/package-lock.json b/package-lock.json
index 6cfbe96..fd0a789 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -13342,6 +13342,10 @@
         "string-width": "^4.0.0"
       }
     },
+    "wiki_links": {
+      "version": "file:packages/wiki_links",
+      "dev": true
+    },
     "window": {
       "version": "4.2.6",
       "resolved": "https://registry.npmjs.org/window/-/window-4.2.6.tgz",
diff --git a/package.json b/package.json
index 48a8a66..5cab509 100644
--- a/package.json
+++ b/package.json
@@ -67,7 +67,8 @@
     "toc": "file:packages/toc",
     "webpack": "^4.42.0",
     "webpack-cli": "^3.3.11",
-    "webpack-dev-server": "^3.10.3"
+    "webpack-dev-server": "^3.10.3",
+    "wiki_links": "file:packages/wiki_links"
   },
   "ava": {
     "require": [

I guess you are trying to get your wiki plugin to work on mobile.
Unfortunately, mobile platform only provides a way to extend the Markdown renderer and doesn’t provide the database APIs to accomplish the same functionality of wiki links.
This is due to the limitation of the Apple’s guideline.

1 Like

Ah, darn! OK, well maybe I could rearchitect it to store an href for mobile with the note id link …

Thanks for the reply.

@craftzdog, would you consider adding support to have command:// urls invoke arguments?