Skip to content

Commit b450ac3

Browse files
committed
Load extension for iOS, MacOS and Android
1 parent fd6f2e8 commit b450ac3

File tree

22 files changed

+170
-59
lines changed

22 files changed

+170
-59
lines changed

demos/supabase-anonymous-auth/linux/flutter/generated_plugins.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ list(APPEND FLUTTER_PLUGIN_LIST
99
)
1010

1111
list(APPEND FLUTTER_FFI_PLUGIN_LIST
12+
powersync_flutter_libs
1213
)
1314

1415
set(PLUGIN_BUNDLED_LIBRARIES)

demos/supabase-anonymous-auth/pubspec.lock

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -323,11 +323,17 @@ packages:
323323
powersync:
324324
dependency: "direct main"
325325
description:
326-
name: powersync
327-
sha256: e8afeb4ab1bae62e7f18937380ca5f23c52556490548123c598a596a52c59de4
328-
url: "https://pub.dev"
329-
source: hosted
326+
path: "../../packages/powersync"
327+
relative: true
328+
source: path
330329
version: "1.3.1"
330+
powersync_flutter_libs:
331+
dependency: transitive
332+
description:
333+
path: "../../../powersync_flutter_libs"
334+
relative: true
335+
source: path
336+
version: "0.0.1"
331337
realtime_client:
332338
dependency: transitive
333339
description:

demos/supabase-anonymous-auth/windows/flutter/generated_plugins.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ list(APPEND FLUTTER_PLUGIN_LIST
99
)
1010

1111
list(APPEND FLUTTER_FFI_PLUGIN_LIST
12+
powersync_flutter_libs
1213
)
1314

1415
set(PLUGIN_BUNDLED_LIBRARIES)

demos/supabase-edge-function-auth/linux/flutter/generated_plugins.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ list(APPEND FLUTTER_PLUGIN_LIST
99
)
1010

1111
list(APPEND FLUTTER_FFI_PLUGIN_LIST
12+
powersync_flutter_libs
1213
)
1314

1415
set(PLUGIN_BUNDLED_LIBRARIES)

demos/supabase-edge-function-auth/pubspec.lock

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -323,11 +323,17 @@ packages:
323323
powersync:
324324
dependency: "direct main"
325325
description:
326-
name: powersync
327-
sha256: e8afeb4ab1bae62e7f18937380ca5f23c52556490548123c598a596a52c59de4
328-
url: "https://pub.dev"
329-
source: hosted
326+
path: "../../packages/powersync"
327+
relative: true
328+
source: path
330329
version: "1.3.1"
330+
powersync_flutter_libs:
331+
dependency: transitive
332+
description:
333+
path: "../../../powersync_flutter_libs"
334+
relative: true
335+
source: path
336+
version: "0.0.1"
331337
realtime_client:
332338
dependency: transitive
333339
description:

demos/supabase-edge-function-auth/windows/flutter/generated_plugins.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ list(APPEND FLUTTER_PLUGIN_LIST
99
)
1010

1111
list(APPEND FLUTTER_FFI_PLUGIN_LIST
12+
powersync_flutter_libs
1213
)
1314

1415
set(PLUGIN_BUNDLED_LIBRARIES)

demos/supabase-simple-chat/linux/flutter/generated_plugins.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ list(APPEND FLUTTER_PLUGIN_LIST
99
)
1010

1111
list(APPEND FLUTTER_FFI_PLUGIN_LIST
12+
powersync_flutter_libs
1213
)
1314

1415
set(PLUGIN_BUNDLED_LIBRARIES)

demos/supabase-simple-chat/pubspec.lock

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -355,11 +355,17 @@ packages:
355355
powersync:
356356
dependency: "direct main"
357357
description:
358-
name: powersync
359-
sha256: e8afeb4ab1bae62e7f18937380ca5f23c52556490548123c598a596a52c59de4
360-
url: "https://pub.dev"
361-
source: hosted
358+
path: "../../packages/powersync"
359+
relative: true
360+
source: path
362361
version: "1.3.1"
362+
powersync_flutter_libs:
363+
dependency: transitive
364+
description:
365+
path: "../../../powersync_flutter_libs"
366+
relative: true
367+
source: path
368+
version: "0.0.1"
363369
realtime_client:
364370
dependency: transitive
365371
description:

demos/supabase-simple-chat/windows/flutter/generated_plugins.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ list(APPEND FLUTTER_PLUGIN_LIST
99
)
1010

1111
list(APPEND FLUTTER_FFI_PLUGIN_LIST
12+
powersync_flutter_libs
1213
)
1314

1415
set(PLUGIN_BUNDLED_LIBRARIES)

demos/supabase-todolist/android/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ android {
4646
applicationId "co.powersync.demotodolist"
4747
// You can update the following values to match your application needs.
4848
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration.
49-
minSdkVersion 21
49+
minSdkVersion 24
5050
targetSdkVersion flutter.targetSdkVersion
5151
versionCode flutterVersionCode.toInteger()
5252
versionName flutterVersionName

0 commit comments

Comments
 (0)