Pebble App Framework: Phone API
    Preparing search index...

    Variable ENDING_CODESConst

    ENDING_CODES: readonly string[] = ...

    The error codes after which the phone has ended the subscription itself, so nothing more arrives until it is started again. The phone sends PLUGIN_UNAVAILABLE at subscribe time when nothing serves the item, and returns before starting. An error raised while one runs, such as PERMISSION_DENIED before the wearer allows Location, leaves it running and data follows once the wearer allows it.

    PERMISSION_DENIED also ends the job in two rare cases, an app the phone thinks is not installed and a legacy caller. It is treated as live anyway, since the common case keeps running, and a later ready starts afresh. INVALID_REQUEST ends it too but is left off, since a retry sends the same request and fails the same way.