Skip to content

elastOS dApp to native ionic app migration guide

Benjamin Piette edited this page Mar 10, 2021 · 4 revisions

TODO

Trinity types

  • Don't use them any more. Replace with plugins one by one, see below.
  • Edit tsconfig.json howto (for TS types)

Plugins

  • Replace DID, Hive, Carrier with standard cordova plugins (provide copiable installation lines)
  • Title bar: see below
  • Notification manager: inexisting, replace with real push notifications if willing to.
  • Standard cordova plugins: manually install

Title bar

  • Replaced with a custom title bar (provide sample from the new essentials title bar component)

App manager

  • set visibility: not needed any more
  • send intents: prototype has changed

Background services

Trinity DApp SDK replacement

  • Getting hive client: ?
  • Ethereum web3 provider

DID sandboxing howto

Cleanup

  • Manifest.json not needed any more

Trinity CLI

The Trinity CLI (command line tool) is now deprecated and cannot be used in the new workflow. Instead, the standard ionic-cli

Replacing trinity native

  • Native ionic project
  • List ionic commands to build for prod + generated folders paths
  • Mini identity replacement ?

Clone this wiki locally