This is the Convertigo SDK Javascript Core.
This current package is the core of Angular Framework SDK and Javascript Framework SDK.
Convertigo Client SDK is a set of libraries used by mobile or Windows desktop applications to access Convertigo Server services. An application using the SDK can easily access Convertigo services such as Sequences and Transactions.
The Client SDK will abstract the programmer from handling the communication protocols, local cache, FullSync off line data managment, UI thread management and remote logging. So the developer can focus on building the application.
Client SDK is available for:
- Android Native apps as a standard Gradle dependency
- iOS native apps as a standard Cocoapod
- React Native as a NPM package
- Google Angular framework as typescript an NPM package
- Vue.js, ReactJS, AngularJS Framework, or any Javascript project as a standard Javascript NPM package
- Windows desktop or Xamarin apps as Nugets or Xamarin Components
When a Convertigo project is exposed behind a reverse proxy without the /projects/<project>/ segment visible in the public URL, the SDK can target project-scoped aliases provided by the engine (/.services, /.fullsync).
Use new C8oSettings().setEndpointScope("project") to force alias usage, or keep the default "auto" detection which prefers global endpoints when /projects/<project>/ is detected. When the hosting page exposes <base data-c8o-mode="web">, the SDK automatically interprets that it is running behind a Convertigo web proxy and resolves aliases from the current location. If an alias returns a 404, it falls back to the global endpoints and retries the request to stay compatible with classic deployments.
