Skip to content
This repository has been archived by the owner on Jun 8, 2021. It is now read-only.

Latest commit

 

History

History
33 lines (19 loc) · 1.17 KB

README.md

File metadata and controls

33 lines (19 loc) · 1.17 KB

NO LONGER MAINTAINED

This has only been tested with sqflite version 1.1.7+3 on Linux.

go-flutter-plugin-sqlcipher

This Go package implements the host-side of the Flutter sqflite plugin as well as SqlCipher support using https://github.com/xeodou/go-sqlcipher

This go-flutter plugin is a wrapper of the basic sqlite plugin https://github.com/nealwon/go-flutter-plugin-sqlite

The plugin is still under development! Using in prod is not recommended!

Usage

1. Install sqflite with SqlCipher support https://github.com/davidmartos96/sqflite_sqlcipher

2. Include this plugin in the main.go file of go-flutter

Import as:

import "github.com/davidmartos96/go-flutter-plugin-sqlcipher"

Then add the following option to your go-flutter application options:

flutter.AddPlugin(sqflite.NewSqflitePlugin("myOrganizationOrUsername","myApplicationName")),

Change the values of the Vendor and Application names to a custom and unique string, so it doesn't conflict with other organizations.