Skip to content

Commit 3f5bfce

Browse files
committed
more boilerplate
1 parent d7884da commit 3f5bfce

File tree

10 files changed

+3
-222
lines changed

10 files changed

+3
-222
lines changed

demos/django-todolist/android/app/src/main/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
22
package="co.powersync.demotodolist">
33
<application
4-
android:label="PowerSync Supabase Demo"
4+
android:label="PowerSync Django Demo"
55
android:name="${applicationName}"
66
android:icon="@mipmap/ic_launcher">
77
<activity

demos/django-todolist/ios/Podfile.lock

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
PODS:
2-
- app_links (0.0.1):
3-
- Flutter
42
- Flutter (1.0.0)
53
- path_provider_foundation (0.0.1):
64
- Flutter
@@ -27,26 +25,20 @@ PODS:
2725
- sqlite3/fts5
2826
- sqlite3/perf-threadsafe
2927
- sqlite3/rtree
30-
- url_launcher_ios (0.0.1):
31-
- Flutter
3228

3329
DEPENDENCIES:
34-
- app_links (from `.symlinks/plugins/app_links/ios`)
3530
- Flutter (from `Flutter`)
3631
- path_provider_foundation (from `.symlinks/plugins/path_provider_foundation/darwin`)
3732
- powersync_flutter_libs (from `.symlinks/plugins/powersync_flutter_libs/ios`)
3833
- shared_preferences_foundation (from `.symlinks/plugins/shared_preferences_foundation/darwin`)
3934
- sqlite3_flutter_libs (from `.symlinks/plugins/sqlite3_flutter_libs/ios`)
40-
- url_launcher_ios (from `.symlinks/plugins/url_launcher_ios/ios`)
4135

4236
SPEC REPOS:
4337
trunk:
4438
- powersync-sqlite-core
4539
- sqlite3
4640

4741
EXTERNAL SOURCES:
48-
app_links:
49-
:path: ".symlinks/plugins/app_links/ios"
5042
Flutter:
5143
:path: Flutter
5244
path_provider_foundation:
@@ -57,19 +49,15 @@ EXTERNAL SOURCES:
5749
:path: ".symlinks/plugins/shared_preferences_foundation/darwin"
5850
sqlite3_flutter_libs:
5951
:path: ".symlinks/plugins/sqlite3_flutter_libs/ios"
60-
url_launcher_ios:
61-
:path: ".symlinks/plugins/url_launcher_ios/ios"
6252

6353
SPEC CHECKSUMS:
64-
app_links: e70ca16b4b0f88253b3b3660200d4a10b4ea9795
6554
Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7
6655
path_provider_foundation: 3784922295ac71e43754bd15e0653ccfd36a147c
6756
powersync-sqlite-core: 4c38c8f470f6dca61346789fd5436a6826d1e3dd
6857
powersync_flutter_libs: 5d6b132a398de442c0853a8b14bfbb62cd4ff5a1
6958
shared_preferences_foundation: b4c3b4cddf1c21f02770737f147a3f5da9d39695
7059
sqlite3: 292c3e1bfe89f64e51ea7fc7dab9182a017c8630
7160
sqlite3_flutter_libs: 0d611efdf6d1c9297d5ab03dab21b75aeebdae31
72-
url_launcher_ios: 6116280ddcfe98ab8820085d8d76ae7449447586
7361

7462
PODFILE CHECKSUM: f7b3cb7384a2d5da4b22b090e1f632de7f377987
7563

demos/django-todolist/linux/flutter/generated_plugin_registrant.cc

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,14 @@
66

77
#include "generated_plugin_registrant.h"
88

9-
#include <gtk/gtk_plugin.h>
109
#include <powersync_flutter_libs/powersync_flutter_libs_plugin.h>
1110
#include <sqlite3_flutter_libs/sqlite3_flutter_libs_plugin.h>
12-
#include <url_launcher_linux/url_launcher_plugin.h>
1311

1412
void fl_register_plugins(FlPluginRegistry* registry) {
15-
g_autoptr(FlPluginRegistrar) gtk_registrar =
16-
fl_plugin_registry_get_registrar_for_plugin(registry, "GtkPlugin");
17-
gtk_plugin_register_with_registrar(gtk_registrar);
1813
g_autoptr(FlPluginRegistrar) powersync_flutter_libs_registrar =
1914
fl_plugin_registry_get_registrar_for_plugin(registry, "PowersyncFlutterLibsPlugin");
2015
powersync_flutter_libs_plugin_register_with_registrar(powersync_flutter_libs_registrar);
2116
g_autoptr(FlPluginRegistrar) sqlite3_flutter_libs_registrar =
2217
fl_plugin_registry_get_registrar_for_plugin(registry, "Sqlite3FlutterLibsPlugin");
2318
sqlite3_flutter_libs_plugin_register_with_registrar(sqlite3_flutter_libs_registrar);
24-
g_autoptr(FlPluginRegistrar) url_launcher_linux_registrar =
25-
fl_plugin_registry_get_registrar_for_plugin(registry, "UrlLauncherPlugin");
26-
url_launcher_plugin_register_with_registrar(url_launcher_linux_registrar);
2719
}

demos/django-todolist/linux/flutter/generated_plugins.cmake

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,8 @@
33
#
44

55
list(APPEND FLUTTER_PLUGIN_LIST
6-
gtk
76
powersync_flutter_libs
87
sqlite3_flutter_libs
9-
url_launcher_linux
108
)
119

1210
list(APPEND FLUTTER_FFI_PLUGIN_LIST

demos/django-todolist/macos/Flutter/GeneratedPluginRegistrant.swift

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,14 @@
55
import FlutterMacOS
66
import Foundation
77

8-
import app_links
98
import path_provider_foundation
109
import powersync_flutter_libs
1110
import shared_preferences_foundation
1211
import sqlite3_flutter_libs
13-
import url_launcher_macos
1412

1513
func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
16-
AppLinksMacosPlugin.register(with: registry.registrar(forPlugin: "AppLinksMacosPlugin"))
1714
PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin"))
1815
PowersyncFlutterLibsPlugin.register(with: registry.registrar(forPlugin: "PowersyncFlutterLibsPlugin"))
1916
SharedPreferencesPlugin.register(with: registry.registrar(forPlugin: "SharedPreferencesPlugin"))
2017
Sqlite3FlutterLibsPlugin.register(with: registry.registrar(forPlugin: "Sqlite3FlutterLibsPlugin"))
21-
UrlLauncherPlugin.register(with: registry.registrar(forPlugin: "UrlLauncherPlugin"))
2218
}

demos/django-todolist/macos/Runner/Configs/AppInfo.xcconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// 'flutter create' template.
66

77
// The application's name. By default this is also the title of the Flutter window.
8-
PRODUCT_NAME = PowerSync Supabase Demo
8+
PRODUCT_NAME = PowerSync Django Demo
99

1010
// The application's bundle identifier
1111
PRODUCT_BUNDLE_IDENTIFIER = co.powersync.demotodolist

demos/django-todolist/pubspec.lock

Lines changed: 0 additions & 184 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,6 @@
11
# Generated by pub
22
# See https://dart.dev/tools/pub/glossary#lockfile
33
packages:
4-
app_links:
5-
dependency: transitive
6-
description:
7-
name: app_links
8-
sha256: "0fd41f0501f131d931251e0942ac63d6216096a0052aeca037915c2c1deeb121"
9-
url: "https://pub.dev"
10-
source: hosted
11-
version: "5.0.0"
124
async:
135
dependency: transitive
146
description:
@@ -112,30 +104,6 @@ packages:
112104
description: flutter
113105
source: sdk
114106
version: "0.0.0"
115-
functions_client:
116-
dependency: transitive
117-
description:
118-
name: functions_client
119-
sha256: a70b0dd9a1c35d05d1141557f7e49ffe4de5f450ffde31755a9eeeadca03b8ee
120-
url: "https://pub.dev"
121-
source: hosted
122-
version: "2.1.0"
123-
gotrue:
124-
dependency: transitive
125-
description:
126-
name: gotrue
127-
sha256: c9c984f088320a5c5e87c7a34571e3de3982cca4cbd8b978e59d36baf748edfb
128-
url: "https://pub.dev"
129-
source: hosted
130-
version: "2.6.1"
131-
gtk:
132-
dependency: transitive
133-
description:
134-
name: gtk
135-
sha256: e8ce9ca4b1df106e4d72dad201d345ea1a036cc12c360f1a7d5a758f78ffa42c
136-
url: "https://pub.dev"
137-
source: hosted
138-
version: "2.1.0"
139107
http:
140108
dependency: "direct main"
141109
description:
@@ -152,14 +120,6 @@ packages:
152120
url: "https://pub.dev"
153121
source: hosted
154122
version: "4.0.2"
155-
jwt_decode:
156-
dependency: transitive
157-
description:
158-
name: jwt_decode
159-
sha256: d2e9f68c052b2225130977429d30f187aa1981d789c76ad104a32243cfdebfbb
160-
url: "https://pub.dev"
161-
source: hosted
162-
version: "0.3.1"
163123
leak_tracker:
164124
dependency: transitive
165125
description:
@@ -224,14 +184,6 @@ packages:
224184
url: "https://pub.dev"
225185
source: hosted
226186
version: "1.12.0"
227-
mime:
228-
dependency: transitive
229-
description:
230-
name: mime
231-
sha256: "2e123074287cc9fd6c09de8336dae606d1ddb88d9ac47358826db698c176a1f2"
232-
url: "https://pub.dev"
233-
source: hosted
234-
version: "1.0.5"
235187
path:
236188
dependency: "direct main"
237189
description:
@@ -304,14 +256,6 @@ packages:
304256
url: "https://pub.dev"
305257
source: hosted
306258
version: "2.1.8"
307-
postgrest:
308-
dependency: transitive
309-
description:
310-
name: postgrest
311-
sha256: "9a3b590cf123f8d323b6a918702e037f037027d12a01902f9dc6ee38fdc05d6c"
312-
url: "https://pub.dev"
313-
source: hosted
314-
version: "2.1.1"
315259
powersync:
316260
dependency: "direct main"
317261
description:
@@ -328,30 +272,6 @@ packages:
328272
url: "https://pub.dev"
329273
source: hosted
330274
version: "0.1.0"
331-
realtime_client:
332-
dependency: transitive
333-
description:
334-
name: realtime_client
335-
sha256: "492a1ab568b3812cb345aad8dd09b3936877edba81a6ab6f5fdf365c155797e1"
336-
url: "https://pub.dev"
337-
source: hosted
338-
version: "2.0.4"
339-
retry:
340-
dependency: transitive
341-
description:
342-
name: retry
343-
sha256: "822e118d5b3aafed083109c72d5f484c6dc66707885e07c0fbcb8b986bba7efc"
344-
url: "https://pub.dev"
345-
source: hosted
346-
version: "3.1.2"
347-
rxdart:
348-
dependency: transitive
349-
description:
350-
name: rxdart
351-
sha256: "0c7c0cedd93788d996e33041ffecda924cc54389199cde4e6a34b440f50044cb"
352-
url: "https://pub.dev"
353-
source: hosted
354-
version: "0.27.7"
355275
shared_preferences:
356276
dependency: "direct main"
357277
description:
@@ -461,14 +381,6 @@ packages:
461381
url: "https://pub.dev"
462382
source: hosted
463383
version: "1.11.1"
464-
storage_client:
465-
dependency: transitive
466-
description:
467-
name: storage_client
468-
sha256: bf5589d5de61a2451edb1b8960a0e673d4bb5c42ecc4dddf7c051a93789ced34
469-
url: "https://pub.dev"
470-
source: hosted
471-
version: "2.0.1"
472384
stream_channel:
473385
dependency: transitive
474386
description:
@@ -485,22 +397,6 @@ packages:
485397
url: "https://pub.dev"
486398
source: hosted
487399
version: "1.2.0"
488-
supabase:
489-
dependency: transitive
490-
description:
491-
name: supabase
492-
sha256: ef407187b18c440f4a5c3f3cf30eb5cc1daadd4ff5616febf445a37e0e0ed34e
493-
url: "https://pub.dev"
494-
source: hosted
495-
version: "2.1.2"
496-
supabase_flutter:
497-
dependency: "direct main"
498-
description:
499-
name: supabase_flutter
500-
sha256: "6a77bd6ef6dc451bb2561de0334d68d620b84d7df1de1448dd7962ed5d1a79ea"
501-
url: "https://pub.dev"
502-
source: hosted
503-
version: "2.5.2"
504400
term_glyph:
505401
dependency: transitive
506402
description:
@@ -525,70 +421,6 @@ packages:
525421
url: "https://pub.dev"
526422
source: hosted
527423
version: "1.3.2"
528-
url_launcher:
529-
dependency: transitive
530-
description:
531-
name: url_launcher
532-
sha256: "6ce1e04375be4eed30548f10a315826fd933c1e493206eab82eed01f438c8d2e"
533-
url: "https://pub.dev"
534-
source: hosted
535-
version: "6.2.6"
536-
url_launcher_android:
537-
dependency: transitive
538-
description:
539-
name: url_launcher_android
540-
sha256: "360a6ed2027f18b73c8d98e159dda67a61b7f2e0f6ec26e86c3ada33b0621775"
541-
url: "https://pub.dev"
542-
source: hosted
543-
version: "6.3.1"
544-
url_launcher_ios:
545-
dependency: transitive
546-
description:
547-
name: url_launcher_ios
548-
sha256: "9149d493b075ed740901f3ee844a38a00b33116c7c5c10d7fb27df8987fb51d5"
549-
url: "https://pub.dev"
550-
source: hosted
551-
version: "6.2.5"
552-
url_launcher_linux:
553-
dependency: transitive
554-
description:
555-
name: url_launcher_linux
556-
sha256: ab360eb661f8879369acac07b6bb3ff09d9471155357da8443fd5d3cf7363811
557-
url: "https://pub.dev"
558-
source: hosted
559-
version: "3.1.1"
560-
url_launcher_macos:
561-
dependency: transitive
562-
description:
563-
name: url_launcher_macos
564-
sha256: b7244901ea3cf489c5335bdacda07264a6e960b1c1b1a9f91e4bc371d9e68234
565-
url: "https://pub.dev"
566-
source: hosted
567-
version: "3.1.0"
568-
url_launcher_platform_interface:
569-
dependency: transitive
570-
description:
571-
name: url_launcher_platform_interface
572-
sha256: "552f8a1e663569be95a8190206a38187b531910283c3e982193e4f2733f01029"
573-
url: "https://pub.dev"
574-
source: hosted
575-
version: "2.3.2"
576-
url_launcher_web:
577-
dependency: transitive
578-
description:
579-
name: url_launcher_web
580-
sha256: "8d9e750d8c9338601e709cd0885f95825086bd8b642547f26bda435aade95d8a"
581-
url: "https://pub.dev"
582-
source: hosted
583-
version: "2.3.1"
584-
url_launcher_windows:
585-
dependency: transitive
586-
description:
587-
name: url_launcher_windows
588-
sha256: ecf9725510600aa2bb6d7ddabe16357691b6d2805f66216a97d1b881e21beff7
589-
url: "https://pub.dev"
590-
source: hosted
591-
version: "3.1.1"
592424
uuid:
593425
dependency: transitive
594426
description:
@@ -621,14 +453,6 @@ packages:
621453
url: "https://pub.dev"
622454
source: hosted
623455
version: "0.5.1"
624-
web_socket_channel:
625-
dependency: transitive
626-
description:
627-
name: web_socket_channel
628-
sha256: "58c6666b342a38816b2e7e50ed0f1e261959630becd4c879c4f26bfa14aa5a42"
629-
url: "https://pub.dev"
630-
source: hosted
631-
version: "2.4.5"
632456
win32:
633457
dependency: transitive
634458
description:
@@ -645,14 +469,6 @@ packages:
645469
url: "https://pub.dev"
646470
source: hosted
647471
version: "1.0.4"
648-
yet_another_json_isolate:
649-
dependency: transitive
650-
description:
651-
name: yet_another_json_isolate
652-
sha256: e727502a2640d65b4b8a8a6cb48af9dd0cbe644ba4b3ee667c7f4afa0c1d6069
653-
url: "https://pub.dev"
654-
source: hosted
655-
version: "2.0.0"
656472
sdks:
657473
dart: ">=3.4.0 <4.0.0"
658474
flutter: ">=3.19.0"

0 commit comments

Comments
 (0)