Once your environment and project setups are completed, you are ready to start customizing UI and logic from the default template application you’ve just created.
The following versions are currently used in this documentation and for sample codes:
Please refer to Ionic documentation to start writing your apps. Building/Publishing chapters are irrelevant as Trinity uses its own way, but other chapters such as layout, routing, lifecycle, UI components are perfectly fine.
Native ionic/cordova plugins are embedded in the Trinity native application, not in every DApp. But we provide a set of typescript interfaces that can be imported through the npm module @elastosfoundation/trinity-types.
// Declaration declare let appManager: AppManagerPlugin.AppManager; // Method call appManager.close();
Please refer to the trinity plugins API reference page to know more about plugins usage.