tools: Miscellaneous tools


iOS, Android, Web

This method returns a new UUID for you to use as a unique token.

Note: This function is synchronous and returns a value rather than taking a callback.

A UUID is a globally unique token; when represented as a string, they look something like 18ADF182-7B12-4FA1-AF0B-6032108C0AE8., callback, error)

iOS, Android, Web

Resolve this name to a fully-qualified local resource.

string unqualified resource name in your src directory, e.g. my/resource.html
function(url) will be invoked with the URL as its only parameter
function(content) called with details of any error which may occur