Skip to content

Commit

Permalink
Merge pull request #311 from atsign-foundation/atclient_dependency_bug
Browse files Browse the repository at this point in the history
at_follows flutter fix for issue #305
  • Loading branch information
murali-shris committed Dec 22, 2021
2 parents a49b53d + ee36431 commit d64e453
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 11 deletions.
4 changes: 2 additions & 2 deletions at_contacts_group_flutter/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ dependencies:
# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: ^1.0.3
at_onboarding_flutter: ^3.1.1
at_contacts_flutter: ^3.1.1
at_onboarding_flutter: ^3.1.2
at_contacts_flutter: ^3.1.2


dev_dependencies:
Expand Down
2 changes: 2 additions & 0 deletions at_follows_flutter/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
## 3.0.5
- updated dependencies
## 3.0.4
- updated dependencies and documentation
## 3.0.3
Expand Down
1 change: 0 additions & 1 deletion at_follows_flutter/example/lib/services/at_service.dart
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ class AtService {
..commitLogPath = path
..cramSecret = cramSecret
..namespace = AppConstants.appNamespace
..syncStrategy = SyncStrategy.ONDEMAND
..rootDomain = 'root.atsign.wtf'
..hiveStoragePath = path;
return _atClientPreference;
Expand Down
2 changes: 1 addition & 1 deletion at_follows_flutter/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ dependencies:
sdk: flutter
path_provider: ^2.0.7
flutter_local_notifications: ^9.1.4
at_onboarding_flutter: ^3.1.1
at_onboarding_flutter: ^3.1.2


at_follows_flutter:
Expand Down
5 changes: 2 additions & 3 deletions at_follows_flutter/lib/services/sdk_service.dart
Original file line number Diff line number Diff line change
Expand Up @@ -168,10 +168,9 @@ class SDKService {
return status.status();
}

///Performs sync for current @sign if syncStrategy is [SyncStrategy.ONDEMAND].
///Performs sync for current @sign
sync() async {
if (AtClientManager.getInstance().atClient.getPreferences()!.syncStrategy ==
SyncStrategy.ONDEMAND) AtClientManager.getInstance().syncService.sync();
AtClientManager.getInstance().syncService.sync();
}

///Throws [ResponseTimeOutException].
Expand Down
6 changes: 3 additions & 3 deletions at_follows_flutter/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: at_follows_flutter
description: A Flutter plugin project that provides a basic social "follows" functionality for @signs. Provides a list of followers and following for @signs with the option to unfollow them.
version: 3.0.4
version: 3.0.5
homepage: https://atsign.dev
repository: https://github.com/atsign-foundation/at_widgets

Expand All @@ -20,8 +20,8 @@ dependencies:
collection: ^1.15.0
at_utils: ^3.0.2
at_commons: ^3.0.2
at_client: ^3.0.6
at_client_mobile: ^3.1.2
at_client: ^3.0.7
at_client_mobile: ^3.1.3
at_server_status: ^1.0.3
at_lookup: ^3.0.5

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,6 @@ AtClientPreference getAtSignPreference(String atsign) {
preference.hiveStoragePath = 'test/hive/client';
preference.commitLogPath = 'test/hive/client/commit';
preference.isLocalStoreRequired = true;
preference.syncStrategy = SyncStrategy.IMMEDIATE;
preference.privateKey = demo_data.pkamPrivateKeyMap[atsign];
preference.rootDomain = 'vip.ve.atsign.zone';
return preference;
Expand Down

0 comments on commit d64e453

Please sign in to comment.