Would you like to contribute to the Titanium docs? To get started, sign up for an account on the Appcelerator Wiki and sign our CLA.

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: change Arrow Cloud to API Runtime Services

...

An Arrow application contains a file called package.json located in the root directory of the project. Arrow Cloud uses

Multiexcerpt include
MultiExcerptNamearrow-arrow-cloud
PageWithExcerptDPV:Arrow Products
 uses the package.json file to configure settings and install dependencies for the application.

...

Info
titleDeprecated Behavior

Prior to Arrow Cloud 1.2.0, if this field is undefined when you publish your application, the application will use 0.10.22 by default.

If this field is undefined when you republish your application and the latest supported Node.js version changed on the Arrow Cloud

Multiexcerpt include
MultiExcerptNamearrow-arrow-cloud
PageWithExcerptDPV:Arrow Products
servers, you will receive an error message when trying to publish your application. You must set the Node.js version to republish your application.

...

Starting with Arrow Cloud 1.2.0, you may define a health-check endpoint called arrowPing.json that returns a 200 HTTP code.  To let Arrow Cloud know

Multiexcerpt include
MultiExcerptNamearrow-arrow-cloud
PageWithExcerptDPV:Arrow Products
 know you defined the health-check endpoint, set the healthCheck field to true.  For an example, see Arrow Project: Optional Health Check

Code Block
{
  healthCheck: true
}

main

Arrow Cloud

Multiexcerpt include
MultiExcerptNamearrow-arrow-cloud
PageWithExcerptDPV:Arrow Products
uses the main field in package.json to determine the application's main entry point. Set this field to a JavaScript file. Arrow Cloud loads
Multiexcerpt include
MultiExcerptNamearrow-arrow-cloud
PageWithExcerptDPV:Arrow Products
 loads and runs this file first.

...