Looks like the proximity API is only supported for certified apps; see https://developer.mozilla.org/en-US/Apps/Build/API_support_table.