From bb694a90e752f02f9830f70d4a00cec1b867a983 Mon Sep 17 00:00:00 2001 From: Christian Pauly Date: Wed, 16 Oct 2019 07:47:41 +0000 Subject: [PATCH] [Readme] Update --- README.md | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 5b60c53..c4409f0 100644 --- a/README.md +++ b/README.md @@ -16,22 +16,11 @@ The API is documented here: [famedly.gitlab.io/famedlysdk](https://famedly.gitla famedlysdk: git: url: https://gitlab.com/famedly/famedlysdk.git - ref: 77be6102f6cbb2e01adc28f9caa3aa583f914235 -``` - -(Optional) Import the store - -```yaml - famedlysdk_store_sqflite: - git: - url: https://gitlab.com/famedly/libraries/famedlysdk-store.git - ref: 17fbbed1ea9b04ca041e9479d4e74bb4d2c78d55 ``` ```dart import 'package:flutter/material.dart'; import 'package:famedlysdk/famedlysdk.dart'; -import 'package:famedlysdk-store/ famedlysdk_store_sqflite.dart'; // Optional ``` 2. Create a new client: @@ -40,7 +29,8 @@ import 'package:famedlysdk-store/ famedlysdk_store_sqflite.dart'; // Optional Client matrix = Client("HappyChat"); ``` -Or with store: +Take a look here for an example store: +https://gitlab.com/famedly/famedlysdk/snippets/1904187 ```dart Client matrix = Client("HappyChat", store: Store(this));