Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
cfbfe07
Added setup for MAUI app, before PS is working on it.
Chriztiaan Mar 11, 2025
c9bf567
Merge branch 'main' into maui
Chriztiaan Apr 10, 2025
447cc76
Merge branch 'main' into maui
Chriztiaan May 27, 2025
2c678a1
Added initial Maui package that has extension loading code and factory.
Chriztiaan Jun 5, 2025
d6d60a3
Fixed factory not working. Initial stab for loading extensions via MA…
Chriztiaan Jun 5, 2025
ace6dbf
Setup code for MAUI.
Chriztiaan Jun 9, 2025
a0750d4
Removed unsupported MAUI platforms from Demo.
Chriztiaan Jun 10, 2025
f5bf19e
Ensuring runtimes/platforms are applied to their specific builds. Set…
Chriztiaan Jun 10, 2025
28d6b9b
Priming changelogs.
Chriztiaan Jun 10, 2025
7877784
Clearing mac catalyst support from demo.
Chriztiaan Jun 11, 2025
2c78052
Converted Demo to Lists+Todos design.
Chriztiaan Jun 11, 2025
eb658d3
Changing datamodel to look similar to PowerSync App schema.
Chriztiaan Jun 11, 2025
067d126
Swapped in PowerSync db over base sqlite database.
Chriztiaan Jun 11, 2025
9b0830e
Can show data syncs between demos.
Chriztiaan Jun 11, 2025
f091b52
wip
Chriztiaan Jun 11, 2025
3c223b4
Moved both pages to use a watch query.
Chriztiaan Jun 12, 2025
ad8d205
General cleanup.
Chriztiaan Jun 12, 2025
480e35b
Added sql console. Cleanup.
Chriztiaan Jun 13, 2025
ff93bd7
Working on releasing of dev packages.
Chriztiaan Jun 13, 2025
0494423
Fixing selection issue on Android for list.
Chriztiaan Jun 13, 2025
73cc017
Filter todos by list
benitav Jun 13, 2025
dff49b8
Add Readme
benitav Jun 13, 2025
a29eb7e
Add psql note
benitav Jun 13, 2025
98b53e2
Hook up self-host-demo client with MAUI demo
benitav Jun 13, 2025
df00aea
Update readme with inspection notes
benitav Jun 13, 2025
924e8fe
Fixed connection retry crashing due to serialization issue.
Chriztiaan Jun 14, 2025
0a86c0a
Merge branch 'maui' of https://github.com/powersync-ja/powersync-dotn…
Chriztiaan Jun 14, 2025
f69e0ea
New dev release.
Chriztiaan Jun 14, 2025
d85d796
Remove known issues
benitav Jun 16, 2025
43ba9c2
Not failing on failed package push.
Chriztiaan Jun 24, 2025
ddb26f6
Merge branch 'maui' of https://github.com/powersync-ja/powersync-dotn…
Chriztiaan Jun 24, 2025
763aabb
Updated release workflow to support MAUI.
Chriztiaan Jun 24, 2025
4635569
Release versions in changelog.
Chriztiaan Jun 24, 2025
2fa1a32
Added extension loading for windows target. Added windows platform fi…
Chriztiaan Jul 1, 2025
0813194
Renamed TodoSqlite demo to MAUITodo.
Chriztiaan Jul 1, 2025
b1c0e6e
Updated readme entry for Maui demo.
Chriztiaan Jul 1, 2025
635f18d
Updated windows entry.
Chriztiaan Jul 1, 2025
e5dedc7
Readme polish
benitav Jul 1, 2025
e4f0463
Document frameworks
benitav Jul 1, 2025
0575b9d
Updated MAUI package readme.
Chriztiaan Jul 2, 2025
e28c526
Update PowerSync/PowerSync.Maui/README.md
Chriztiaan Jul 2, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 43 additions & 1 deletion PowerSync/PowerSync.Maui/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,47 @@
# PowerSync SDK .NET MAUI

This package provides .NET Multi-platform App UI (MAUI) integration for PowerSync, designed to work with the PowerSync.Common package for cross-platform mobile and desktop applications.

## ⚠️ Project Status & Release Note

This package is currently in an alpha state, intended strictly for testing. Expect breaking changes and instability as development continues.

Do not rely on this package for production use.

## Installation

This package is published on [NuGet](https://www.nuget.org/packages/PowerSync.Maui) and requires PowerSync.Common to also be installed.

```bash
dotnet add package PowerSync.Maui --prerelease
dotnet add package PowerSync.Common --prerelease
```

## Usage

TBD Factory Example
Initialization differs slightly when using MAUI.

```csharp

private record ListResult(string id, string name, string owner_id, string created_at);

static async Task Main() {

// Ensures the DB file is stored in a platform appropriate location
var dbPath = Path.Combine(FileSystem.AppDataDirectory, "maui-example.db");
var factory = new MAUISQLiteDBOpenFactory(new MDSQLiteOpenFactoryOptions()
{
DbFilename = dbPath
});

var Db = new PowerSyncDatabase(new PowerSyncDatabaseOptions()
{
Database = factory, // Supply a factory
Schema = AppSchema.PowerSyncSchema,
});

await db.Init();

var lists = await db.GetAll<ListResult>("select * from lists");
}
```