Doesn't work with Inbox Sync Engine
I'm trying to setup Inbox Sync Engine locally with html5 but it seem html5 is hardcoded to use developer program. Is there a way to play around with all this locally?
Sure! Follow the instructions at the bottom of the page here to install the html5 scaffold from within the vagrant box. Then change this line to point to your local install.
i created an account using the bin/inbox-auth command,
i did as instructed but it seems ther e-mail in Please Sign iN dialog was posting to https://api.inboxapp.com.
i redirected to the http://localhost:5555?clientID= ???
So, what is the default clientID for the inbox API ?
i also removed the code and left only this in the HTML5 client App.
// Replace `false` with your Inbox App ID
var inboxAppID = 12341234;
// Delete this code once you've added your Inbox App ID
// ---
// ---
$inboxProvider.baseUrl('http://localhost:5555').appId(inboxAppID);
...so, i did a quick hack to test the HTML5 app with the OSS release.
index.html
first remove the login panel from and set ng-switch="true"
baobab.service.namespace.coffee
second, allow the namespace service to fetch the promise
if (true)
@promise = $inbox.namespaces().then (namespaces) =>
@_namespaces = namespaces
Sorry about the delay on this!
I've modified the scaffold so you can run it in this mode without any code changes - simply use "localhost" as your App ID. See https://gist.github.com/zipcode/177b8b5c655a94ab205a for instructions. Note that you can now use the hosted version against your local copy, so if you're just wanting to try it out then it's much more quick and easy now.