Skip to content
This repository has been archived by the owner on Oct 4, 2024. It is now read-only.

Commit

Permalink
Merge pull request #36 from tiki-bar/release/add-docs
Browse files Browse the repository at this point in the history
Release: add docs
  • Loading branch information
mike-audi authored Aug 15, 2023
2 parents 6768f53 + cbb7672 commit 3227b74
Show file tree
Hide file tree
Showing 17 changed files with 1,487 additions and 764 deletions.
49 changes: 47 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,48 @@
# @mytiki/tiki-sdk-capacitor
# TIKI SDK (Capacitor Plugin)

Add TIKI's zero-party data monetization infrastructure to your CapacitorJS app
The TIKI SDK for Capacitor makes it easy to create monetizable zero-party data assets. Create a digitally signed, immutable audit trail with Title, License, Payable, and Receipt records.

Build Data Reward programs that profit you and your users.


**Learn more at 🍍 [mytiki.com](https://mytiki.com), or jump right into the 📘 [API reference](http://tiki-sdk-capacitor.mytiki.com).**


## Installing

Install the dependency from NPM

```
npm install @mytiki/tiki-sdk-capacitor
npx cap sync
```

That's it. And yes, it's really that easy.

## Initialization

_Note: Before you get started, you will need a Publishing ID. It's free to create one; simply log in to our 🧑‍💻 [Developer Console](https://console.mytiki.com) and create a new Project._


```ts
import { instance } from '@mytiki/tiki-sdk-capacitor'

instance.initialize('<YOUR USER ID>', '<YOUR PUBLISHING ID>')
.then((rsp) => console.log(`${rsp.address} initialized`))
```

_NOTE: Currently only iOS and Android are supported, not Web. If you'd like to use TIKI for web see our [JS SDK](https://github.com/tiki/tiki-sdk-js) or open a new Issue (it's easy to add)._

# Contributing

- Use [GitHub Issues](https://github.com/tiki-bar/tiki-sdk-capacitor/issues) to report any bugs you find or to request enhancements.
- If you'd like to get in touch with our team or other active contributors, pop in our 👾 [Discord](https://discord.gg/tiki).
- Please use [conventional commits](https://www.conventionalcommits.org/en/v1.0.0/) if you intend to add code to this project.

## Project Structure
- `/src`: The primary TS interface for the plugin.
- `/android`: The native Android implementation.
- `/ios`: The native iOS implementation.
- `/example`: A simple example project using the plugin

## Contributors ✨
152 changes: 76 additions & 76 deletions example/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"@vue/eslint-config-prettier": "^8.0.0",
"@vue/eslint-config-typescript": "^11.0.3",
"@vue/tsconfig": "^0.4.0",
"eslint": "^8.46.0",
"eslint": "^8.47.0",
"eslint-plugin-vue": "^9.17.0",
"npm-run-all": "^4.1.5",
"prettier": "^3.0.1",
Expand Down
Loading

0 comments on commit 3227b74

Please sign in to comment.