Skip to main content
Version: ACAP version 13

FAQ

Questions

This page answers common questions about ACAP Native SDK 13 regarding migration, compatibility, signing, and packaging.

General​

Can frequent writes to internal storage affect the device lifespan?

Yes. Axis devices use flash memory for persistent storage, which has a finite number of write and erase cycles per memory cell. Each write or erase operation contributes incrementally to wear on the underlying storage media. For more details, see Persistent storage.

Where can developers find ACAP application examples?

Developers can find ACAP application examples in ACAP application examples.

Can developers install unsigned applications on Axis devices?

Yes. To install unsigned ACAP applications during development, request and install the Developer Mode application. Don't use unsigned applications in production. For instructions, see the Developer Mode section.

What should developers consider when installing or upgrading an ACAP application?

Developers should consider that installing signed applications requires signature verification, and this could affect the resources usage. Also, if upgrade fails or is interrupted, application data and parameters are retained. For details, see Upload application.


Native SDK 13 and migration​

Can a developer use earlier versions of the SDK to build applications for AXIS OS 13?

Yes. You can use an earlier SDK if you account for the AXIS OS 13 breaking changes, including using manifest schema v2.x. For detailed information, see:

Will an application built for AXIS OS 12.10 be compatible to AXIS OS 13?

Using the manifest schema v2.x is one of the requirements for an ACAP application to be AXIS OS 13 compatible. However, it is recommended to verify the announced ACAP application breaking changes and the API compatibility guide.

Is an ACAP application built using the ACAP Native SDK 13.x backward compatible with AXIS OS 12 LTS?

No. An ACAP application built with ACAP Native SDK 13.0 is only forward compatible with AXIS OS 13.0 and later releases. It is not compatible with AXIS OS 12 LTS.

To ensure compatibility, build the application using the SDK version supported by the target AXIS OS version.


Manifest, compatibility, and package.conf​

How do minimum and maximum AXIS OS manifest fields work?

acapPackageConf.setup.compatibleOsVersions is a list of AXIS OS version ranges the application is designed to work with. Each range has a min and a max version. The device only allows installation if its AXIS OS version is inside at least one of the ranges.

For example, a range with min set to 12.10 and max set to 13 allows installation on AXIS OS 12.10 and later, up to and including all 13.x releases. It does not allow installation on 12.9 or earlier, or on 14 and later.

Setting max acts as a safety guard. It keeps the application from being installed on future AXIS OS versions that may introduce breaking changes, until you have validated them. To support newer versions, rebuild or update the application and extend the range in the manifest.

For detailed information on how to upgrade a manifest schema, see Compatible OS Versions

How do developers make an application compatible with AXIS OS 11, 12, and 13?

Developers can make applications compatible with newer AXIS OS major versions by following the Extend compatibility to future AXIS OS major versions guide available for ACAP Native SDK version 4 and version 12. These guides describe the required updates and breaking changes introduced when migrating applications from AXIS OS 11 to 12 and from AXIS OS 12 to 13, helping ensure that applications continue to install and run correctly after device upgrades.

How can developers migrate their ACAP application from package.conf to manifest.json?

Since package.conf will no longer be supported as the ACAP application configuration file in AXIS OS 13, developers must migrate their applications to use a manifest schema. For guidance on migrating from package.conf to manifest.json, see Migrating from package.conf to manifest.json.

How can developers use a newer manifest schema in an older SDK?

For guidance on how to use a newer manifest schema in an older SDK, see the Use newer manifest schema in old SDK page.

Where can developers find the manifest schema reference and upgrade guidance?

Developers can find the manifest schema reference and upgrade guidance in the manifest schema page. This section provides an overview of the manifest schema versions and provides specific guidance for migrating and upgrading the manifest.

Where can developers find the API reference and the API compatibility guide?

Detailed technical specifications for the supported APIs are available on the Supported APIs page, while AXIS OS support details are available in the API compatibility guide.


Security, signing, and runtime behavior​

Is signing required for applications in production?

Yes. Signing ACAP application is mandatory on AXIS OS 13 for production use. For more details, see Enforcement of ACAP signing and ACAP application signing.

Why does a signed ACAP application appear to have an unknown signature after upgrading to AXIS OS 12.11?

See Why sign your application? for information about signed applications that appear to have an unknown signature after upgrading to AXIS OS 12.11.

Where can developers find their vendorID for signing?

Developers can find their vendorID in the portal service they use. For TIP partners in ACAP Service Portal and for non-TIP partners in the ACAP Signing Service. For more information, see: ACAP application signing.

Can developers use VAPIX instead of D-Bus for some integrations?

Yes, depending on the use case. Developers should first check the supported APIs for their specific needs. In some cases, VAPIX can be a valid alternative to D-Bus, depending on the available endpoints and required functionality.

What does DLPU usage declaration in manifest mean?

If an application uses DLPU resources, it must declare this in manifest.json. This allows AXIS OS 13 to correctly manage permissions, compatibility, and resource allocation. Without this declaration, the application may fail to install or run properly.

How can developers address Year 2038 compliance?

In order to be compliant with the 2038 issue Y2038 problem the SDK will by default enable 2 C-flags, _TIME_BITS=64 and _FILE_OFFSET_BITS=64. This will enable the ACAP application to support times beyond 2038, but it will also have some technical impact on the ACAP application, types like time_t, off_t and ino_t will increase in size from 32 to 64 bit. Calls to libc should be handled automatically so a call to eg. stat() will be directed to the libc variant __stat64_time64 which is 2038 secure, tools like objdump and readelf could be used to inspect the binary.

  • Make sure to recompile any third party libraries using any of these types/functions in the interface.
  • Make sure that no binary data using these types are written to config files or similar.
  • An ACAP application using libc functionality and built with these 2 flags should work on AXIS OS 12 track, enabling migration already there and also allow the ACAP application to be upgraded to AXIS OS 13. See Year 2038 problem

Installation scripts and storage behavior​

Can ACAP applications run from SD card on AXIS OS 13?

No. ACAP applications must run from internal storage. For more information, see Stop supporting the ability to install and run ACAP applications on SD card.

What changed for pre-install and post-install scripts?

If an application contains a post-install script or a pre-uninstall script, the following rules will apply. For more information, see Changed rules for ACAP application install/uninstall scripts.

  • The scripts files must have executable permissions.
  • The scripts must complete within 5 minutes.
  • If they are shell scripts, they must start with #!/bin/sh.
  • If the post-install script exits with anything else than zero, installation will fail.
  • The umask will be 022 when the script starts, ensuring that newly created files are readable by all users, but writable only by the application user.

Can developers use SDK user in ACAP applications on AXIS OS 13?

It is available with tighter restrictions in AXIS OS 13 and is planned for removal in a future major version.


Need more help?​

Not finding what you are looking for? Head over to GitHub Discussions and search for the answer there.