feat: Add iOS platform support

This commit is contained in:
Erwan Leboucher 2026-08-08 21:37:48 +02:00 committed by eleboucher
commit 606bf78152
62 changed files with 1667 additions and 50 deletions

View file

@ -48,7 +48,7 @@ class ClientController extends AsyncNotifier<int> {
@override
Future<int> build() async {
final Pointer<Char> root;
if (Platform.isAndroid) {
if (Platform.isAndroid || Platform.isIOS) {
final dir = await getApplicationSupportDirectory();
root = "${dir.path}/gomuks".toNativeUtf8().cast();
} else {