From 5e62cbb3059f5e62c8ba5daad8d963da72e67650 Mon Sep 17 00:00:00 2001 From: Abdellatif Zorai Date: Wed, 27 May 2020 10:28:04 +0200 Subject: [PATCH] dependencies does not work with lastest version of dart --- README.md | 3 ++- absinthe_socket.iml | 12 ++---------- android/local.properties | 4 ++-- pubspec.lock | 6 +++--- pubspec.yaml | 5 +++-- 5 files changed, 12 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index cedef8e..bc93c37 100644 --- a/README.md +++ b/README.md @@ -9,13 +9,14 @@ Use the package: ```yaml # pubspec.yaml # ... - absinthe_socket: ^0.0.3 + absinthe_socket: ^0.0.4 # ... ``` Create a socket, connect it, add a subscription: ```dart +void initState() { _socket = AbsintheSocket("ws://10.0.2.2:4000/socket/websocket"); Observer _categoryObserver = Observer( onAbort: _onAbort, diff --git a/absinthe_socket.iml b/absinthe_socket.iml index 8d48a06..93e2096 100644 --- a/absinthe_socket.iml +++ b/absinthe_socket.iml @@ -3,17 +3,9 @@ - - - - - - + - + - - - \ No newline at end of file diff --git a/android/local.properties b/android/local.properties index b187239..01da702 100644 --- a/android/local.properties +++ b/android/local.properties @@ -1,3 +1,3 @@ -sdk.dir=/Users/jadams/Library/Android/sdk -flutter.sdk=/Users/jadams/software/flutter +sdk.dir=/Users/zoraia01/Library/Android/sdk +flutter.sdk=/Users/zoraia01/git/flutter flutter.versionName=0.0.1 \ No newline at end of file diff --git a/pubspec.lock b/pubspec.lock index 813fab4..6bcfc3c 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -1,5 +1,5 @@ # Generated by pub -# See https://www.dartlang.org/tools/pub/glossary#lockfile +# See https://dart.dev/tools/pub/glossary#lockfile packages: phoenix_wings: dependency: "direct main" @@ -7,6 +7,6 @@ packages: name: phoenix_wings url: "https://pub.dartlang.org" source: hosted - version: "0.1.3" + version: "0.2.1" sdks: - dart: ">=2.0.0-dev.68.0 <3.0.0" + dart: ">=2.2.0 <3.0.0" diff --git a/pubspec.yaml b/pubspec.yaml index 78b7666..e18a913 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: absinthe_socket description: A GraphQL subscription client for Absinthe sockets. -version: 0.0.3 +version: 0.0.4 author: Josh Adams homepage: http://github.com/dailydrip/absinthe_socket @@ -9,4 +9,5 @@ environment: dependencies: # Talk to phoenix channels - phoenix_wings: ^0.1.3 + phoenix_wings: ^0.2.1 +