diff --git a/CHANGELOG.md b/CHANGELOG.md index a52d147..649a241 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,38 +1,58 @@ -## 0.1.1 +## 1.0.0 + +* First official stable version +* Improved documentation to have a full documentation coverage + +## 0.2.0 + +* Add Windows support + +## 0.1.1 + * Extend the documentation ## 0.1.0 + * Add Linux support * Duplicating (test) code -* Use the same method channel structure for all platforms with maps instead of json +* Use the same method channel structure for all platforms with maps instead of + json * Setting everything up for publishing on pub.dev ## 0.0.6 + * Fix build issues on Android * Migrate to plugins block ## 0.0.5 + * Migrated to federated plugin structure * Migrated on Android to the CredentialManager API -* Added on Android zero touch login options by using the BlockManager to sync a login token across all (Google PlayService compatible) devices of a user +* Added on Android zero touch login options by using the BlockManager to sync a + login token across all (Google PlayService compatible) devices of a user * Add MacOS support * Use the KeyValueStore to sync login tokens cross iOS and MacOS * Fixed loading credentials on iOS -* Added tons of tests and CI improvements heavily inspired by very_good_flutter_plugin +* Added tons of tests and CI improvements heavily inspired by + very_good_flutter_plugin * Add editor config for better common formatting ## 0.0.4 + * Updated dependencies (Flutter, Gradle, Dart, Kotlin) * Cleanup -* Added placeholder test +* Added placeholder test ## 0.0.3 + * Allow nullable credentials ## 0.0.2 + * First release with null safety * Added web support * Sample page for the usage on github pages ## 0.0.1 + * Initial release diff --git a/autologin/CHANGELOG.md b/autologin/CHANGELOG.md index f5bbb5d..4ae12b4 100644 --- a/autologin/CHANGELOG.md +++ b/autologin/CHANGELOG.md @@ -1,3 +1,8 @@ +## 1.0.0 + +* First official stable version +* Improved documentation to have a full documentation coverage + ## 0.2.0 * Add Windows support diff --git a/autologin/lib/autologin.dart b/autologin/lib/autologin.dart index c4ae39d..b1dbce4 100644 --- a/autologin/lib/autologin.dart +++ b/autologin/lib/autologin.dart @@ -1,3 +1,11 @@ +/// The public interface of the AutologinPlugin. For a quick synchronous check +/// you can check [isPlatformSupported]. When you need a full report of the +/// [Compatibilities] you can [performCompatibilityChecks]. You can check the +/// [Compatibilities] class for the details. With [requestCredentials] your +/// saved [Credential]s can be requested which you need to safe before with +/// [saveCredentials]. +library; + import 'package:autologin_platform_interface/autologin_platform_interface.dart'; export 'package:autologin_platform_interface/autologin_platform_interface.dart' show Compatibilities, Credential; diff --git a/autologin/pubspec.yaml b/autologin/pubspec.yaml index c88a123..51d5626 100644 --- a/autologin/pubspec.yaml +++ b/autologin/pubspec.yaml @@ -1,6 +1,6 @@ name: autologin description: This Plugin helps the developer to auto login into their app as simple as possible. -version: 0.2.0 +version: 1.0.0 homepage: https://github.com/rekire/autologin_plugin environment: @@ -24,12 +24,12 @@ flutter: default_package: autologin_windows dependencies: - autologin_android: ^0.1.0 - autologin_darwin: ^0.1.0 - autologin_linux: ^0.1.0 - autologin_platform_interface: ^0.1.0 - autologin_web: ^0.1.0 - autologin_windows: ^0.2.0 + autologin_android: ^1.0.0 + autologin_darwin: ^1.0.0 + autologin_linux: ^1.0.0 + autologin_platform_interface: ^1.0.0 + autologin_web: ^1.0.0 + autologin_windows: ^1.0.0 flutter: sdk: flutter diff --git a/autologin_android/CHANGELOG.md b/autologin_android/CHANGELOG.md index 0f48498..3d1835d 100644 --- a/autologin_android/CHANGELOG.md +++ b/autologin_android/CHANGELOG.md @@ -1,3 +1,8 @@ +## 1.0.0 + +* First official stable version +* Improved documentation to have a full documentation coverage + ## 0.1.1 * Extend the documentation diff --git a/autologin_android/lib/autologin_android.dart b/autologin_android/lib/autologin_android.dart index 87226ae..b56efc1 100644 --- a/autologin_android/lib/autologin_android.dart +++ b/autologin_android/lib/autologin_android.dart @@ -1,3 +1,6 @@ +/// The Android implementation of [AutologinPlatform]. +library; + import 'package:autologin_platform_interface/autologin_platform_interface.dart'; /// The Android implementation of [AutologinPlatform]. diff --git a/autologin_android/pubspec.yaml b/autologin_android/pubspec.yaml index eb7e84e..abe8ba0 100644 --- a/autologin_android/pubspec.yaml +++ b/autologin_android/pubspec.yaml @@ -1,6 +1,6 @@ name: autologin_android description: The platform implementation of the autologin plugin for Android. -version: 0.1.1 +version: 1.0.0 homepage: https://github.com/rekire/autologin_plugin/tree/main/autologin_android environment: @@ -17,7 +17,7 @@ flutter: dartPluginClass: AutologinAndroid dependencies: - autologin_platform_interface: ^0.1.0 + autologin_platform_interface: ^1.0.0 flutter: sdk: flutter @@ -26,7 +26,7 @@ dev_dependencies: git: url: https://github.com/rekire/autologin_plugin.git path: autologin_test_utils - ref: 0.1.1 + ref: 1.0.0 flutter_test: sdk: flutter plugin_platform_interface: ^2.0.0 diff --git a/autologin_darwin/CHANGELOG.md b/autologin_darwin/CHANGELOG.md index 0f48498..3d1835d 100644 --- a/autologin_darwin/CHANGELOG.md +++ b/autologin_darwin/CHANGELOG.md @@ -1,3 +1,8 @@ +## 1.0.0 + +* First official stable version +* Improved documentation to have a full documentation coverage + ## 0.1.1 * Extend the documentation diff --git a/autologin_darwin/lib/autologin_darwin.dart b/autologin_darwin/lib/autologin_darwin.dart index 7de7dc6..ba1a8eb 100644 --- a/autologin_darwin/lib/autologin_darwin.dart +++ b/autologin_darwin/lib/autologin_darwin.dart @@ -1,3 +1,6 @@ +/// The Darwin implementation of [AutologinPlatform] for iOS and MacOS. +library; + import 'package:autologin_platform_interface/autologin_platform_interface.dart'; /// The Darwin implementation of [AutologinPlatform] for iOS and MacOS. diff --git a/autologin_darwin/pubspec.yaml b/autologin_darwin/pubspec.yaml index 578ca0a..8edebe6 100644 --- a/autologin_darwin/pubspec.yaml +++ b/autologin_darwin/pubspec.yaml @@ -1,6 +1,6 @@ name: autologin_darwin description: The platform implementation of the autologin plugin for iOS and MacOS. -version: 0.1.1 +version: 1.0.0 homepage: https://github.com/rekire/autologin_plugin/tree/main/autologin_darwin environment: @@ -23,7 +23,7 @@ flutter: sharedDarwinSource: true dependencies: - autologin_platform_interface: ^0.1.0 + autologin_platform_interface: ^1.0.0 flutter: sdk: flutter @@ -32,7 +32,7 @@ dev_dependencies: git: url: https://github.com/rekire/autologin_plugin.git path: autologin_test_utils - ref: 0.1.1 + ref: 1.0.0 flutter_test: sdk: flutter very_good_analysis: ^5.1.0 diff --git a/autologin_linux/CHANGELOG.md b/autologin_linux/CHANGELOG.md index 9d461fb..d080962 100644 --- a/autologin_linux/CHANGELOG.md +++ b/autologin_linux/CHANGELOG.md @@ -1,3 +1,8 @@ +## 1.0.0 + +* First official stable version +* Improved documentation to have a full documentation coverage + ## 0.1.1 * Extend the documentation diff --git a/autologin_linux/lib/autologin_linux.dart b/autologin_linux/lib/autologin_linux.dart index 096d725..54848b1 100644 --- a/autologin_linux/lib/autologin_linux.dart +++ b/autologin_linux/lib/autologin_linux.dart @@ -1,3 +1,6 @@ +/// The Linux implementation of [AutologinPlatform]. +library; + import 'package:autologin_platform_interface/autologin_platform_interface.dart'; import 'package:flutter/services.dart'; diff --git a/autologin_linux/pubspec.yaml b/autologin_linux/pubspec.yaml index afea079..0a035a0 100644 --- a/autologin_linux/pubspec.yaml +++ b/autologin_linux/pubspec.yaml @@ -1,6 +1,6 @@ name: autologin_linux description: The platform implementation of the autologin plugin for Linux. -version: 0.1.1 +version: 1.0.0 homepage: https://github.com/rekire/autologin_plugin/tree/main/autologin_linux environment: @@ -16,7 +16,7 @@ flutter: dartPluginClass: AutologinLinux dependencies: - autologin_platform_interface: ^0.1.0 + autologin_platform_interface: ^1.0.0 flutter: sdk: flutter @@ -25,7 +25,7 @@ dev_dependencies: git: url: https://github.com/rekire/autologin_plugin.git path: autologin_test_utils - ref: 0.1.1 + ref: 1.0.0 flutter_test: sdk: flutter very_good_analysis: ^5.1.0 diff --git a/autologin_platform_interface/CHANGELOG.md b/autologin_platform_interface/CHANGELOG.md index 9d461fb..d080962 100644 --- a/autologin_platform_interface/CHANGELOG.md +++ b/autologin_platform_interface/CHANGELOG.md @@ -1,3 +1,8 @@ +## 1.0.0 + +* First official stable version +* Improved documentation to have a full documentation coverage + ## 0.1.1 * Extend the documentation diff --git a/autologin_platform_interface/lib/autologin_platform_interface.dart b/autologin_platform_interface/lib/autologin_platform_interface.dart index 167b0e8..1c8be0e 100644 --- a/autologin_platform_interface/lib/autologin_platform_interface.dart +++ b/autologin_platform_interface/lib/autologin_platform_interface.dart @@ -1,3 +1,12 @@ +/// The interface that implementations of autologin must implement. +/// +/// Platform implementations should extend this class rather than implement it +/// as `Autologin`. Extending this class (using `extends`) ensures that the +/// subclass will get the default implementation, while platform implementations +/// that `implements` this interface will be broken by newly added +/// [AutologinPlatform] methods. +library; + import 'package:autologin_platform_interface/src/compatibilities.dart'; import 'package:autologin_platform_interface/src/credential.dart'; import 'package:autologin_platform_interface/src/method_channel_autologin.dart'; diff --git a/autologin_platform_interface/lib/src/compatibilities.freezed.dart b/autologin_platform_interface/lib/src/compatibilities.freezed.dart index 9a71e70..345c745 100644 --- a/autologin_platform_interface/lib/src/compatibilities.freezed.dart +++ b/autologin_platform_interface/lib/src/compatibilities.freezed.dart @@ -12,7 +12,7 @@ part of 'compatibilities.dart'; T _$identity(T value) => value; final _privateConstructorUsedError = UnsupportedError( - 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#custom-getters-and-methods'); + 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models'); Compatibilities _$CompatibilitiesFromJson(Map json) { return _Compatibilities.fromJson(json); @@ -32,8 +32,11 @@ mixin _$Compatibilities { /// `true` when zero touch logins is supported. Default value is `false`. bool get hasZeroTouchSupport => throw _privateConstructorUsedError; + /// Serializes this Compatibilities to a JSON map. Map toJson() => throw _privateConstructorUsedError; + /// Create a copy of Compatibilities + /// with the given fields replaced by the non-null parameter values. @JsonKey(ignore: true) $CompatibilitiesCopyWith get copyWith => throw _privateConstructorUsedError; @@ -203,6 +206,8 @@ class _$CompatibilitiesImpl implements _Compatibilities { int get hashCode => Object.hash(runtimeType, isPlatformSupported, canSafeSecrets, canEncryptSecrets, hasZeroTouchSupport); + /// Create a copy of Compatibilities + /// with the given fields replaced by the non-null parameter values. @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') @@ -244,6 +249,8 @@ abstract class _Compatibilities implements Compatibilities { @override bool get hasZeroTouchSupport; + /// Create a copy of Compatibilities + /// with the given fields replaced by the non-null parameter values. @override @JsonKey(ignore: true) _$$CompatibilitiesImplCopyWith<_$CompatibilitiesImpl> get copyWith => diff --git a/autologin_platform_interface/lib/src/credential.freezed.dart b/autologin_platform_interface/lib/src/credential.freezed.dart index 44109af..7fc7947 100644 --- a/autologin_platform_interface/lib/src/credential.freezed.dart +++ b/autologin_platform_interface/lib/src/credential.freezed.dart @@ -12,7 +12,7 @@ part of 'credential.dart'; T _$identity(T value) => value; final _privateConstructorUsedError = UnsupportedError( - 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#custom-getters-and-methods'); + 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models'); Credential _$CredentialFromJson(Map json) { return _Credential.fromJson(json); @@ -29,8 +29,11 @@ mixin _$Credential { /// The domain of the credential, only used on iOS and MacOS. String? get domain => throw _privateConstructorUsedError; + /// Serializes this Credential to a JSON map. Map toJson() => throw _privateConstructorUsedError; + /// Create a copy of Credential + /// with the given fields replaced by the non-null parameter values. @JsonKey(ignore: true) $CredentialCopyWith get copyWith => throw _privateConstructorUsedError; @@ -41,7 +44,6 @@ abstract class $CredentialCopyWith<$Res> { factory $CredentialCopyWith( Credential value, $Res Function(Credential) then) = _$CredentialCopyWithImpl<$Res, Credential>; - @useResult $Res call({String? username, String? password, String? domain}); } @@ -53,7 +55,6 @@ class _$CredentialCopyWithImpl<$Res, $Val extends Credential> // ignore: unused_field final $Val _value; - // ignore: unused_field final $Res Function($Val) _then; @@ -87,7 +88,6 @@ abstract class _$$CredentialImplCopyWith<$Res> factory _$$CredentialImplCopyWith( _$CredentialImpl value, $Res Function(_$CredentialImpl) then) = __$$CredentialImplCopyWithImpl<$Res>; - @override @useResult $Res call({String? username, String? password, String? domain}); @@ -166,6 +166,8 @@ class _$CredentialImpl implements _Credential { @override int get hashCode => Object.hash(runtimeType, username, password, domain); + /// Create a copy of Credential + /// with the given fields replaced by the non-null parameter values. @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') @@ -201,6 +203,8 @@ abstract class _Credential implements Credential { @override String? get domain; + /// Create a copy of Credential + /// with the given fields replaced by the non-null parameter values. @override @JsonKey(ignore: true) _$$CredentialImplCopyWith<_$CredentialImpl> get copyWith => diff --git a/autologin_platform_interface/pubspec.yaml b/autologin_platform_interface/pubspec.yaml index 30b5109..995c5bb 100644 --- a/autologin_platform_interface/pubspec.yaml +++ b/autologin_platform_interface/pubspec.yaml @@ -1,6 +1,6 @@ name: autologin_platform_interface description: The common platform interface with shared code for the autologin plugin. -version: 0.1.1 +version: 1.0.0 homepage: https://github.com/rekire/autologin_plugin/tree/main/autologin_platform_interface environment: diff --git a/autologin_test_utils/pubspec.yaml b/autologin_test_utils/pubspec.yaml index 9f907b6..d763586 100644 --- a/autologin_test_utils/pubspec.yaml +++ b/autologin_test_utils/pubspec.yaml @@ -1,6 +1,6 @@ name: autologin_test_utils description: Shared code for tests to avoid to duplicating test code. -version: 0.1.1 +version: 1.0.0 homepage: https://github.com/rekire/autologin_plugin/tree/main/autologin_test_utils publish_to: none @@ -8,7 +8,7 @@ environment: sdk: '>=3.0.0 <4.0.0' dependencies: - autologin_platform_interface: ^0.1.0 + autologin_platform_interface: ^1.0.0 flutter: sdk: flutter flutter_test: diff --git a/autologin_web/CHANGELOG.md b/autologin_web/CHANGELOG.md index a4afb9e..6543de0 100644 --- a/autologin_web/CHANGELOG.md +++ b/autologin_web/CHANGELOG.md @@ -1,3 +1,8 @@ +## 1.0.0 + +* First official stable version +* Improved documentation to have a full documentation coverage + ## 0.1.0 * Add Linux support diff --git a/autologin_web/lib/autologin_web.dart b/autologin_web/lib/autologin_web.dart index 7dd0a2b..aecdae3 100644 --- a/autologin_web/lib/autologin_web.dart +++ b/autologin_web/lib/autologin_web.dart @@ -1,3 +1,6 @@ +/// The Web implementation of [AutologinPlatform]. +library; + import 'dart:html'; import 'dart:js'; diff --git a/autologin_web/pubspec.yaml b/autologin_web/pubspec.yaml index 2c46d64..4895d80 100644 --- a/autologin_web/pubspec.yaml +++ b/autologin_web/pubspec.yaml @@ -1,6 +1,6 @@ name: autologin_web description: The platform implementation of the autologin plugin for web. -version: 0.1.1 +version: 1.0.0 homepage: https://github.com/rekire/autologin_plugin/tree/main/autologin_web environment: @@ -16,7 +16,7 @@ flutter: fileName: autologin_web.dart dependencies: - autologin_platform_interface: ^0.1.0 + autologin_platform_interface: ^1.0.0 flutter: sdk: flutter flutter_web_plugins: diff --git a/autologin_windows/CHANGELOG.md b/autologin_windows/CHANGELOG.md index c9a03c2..613a693 100644 --- a/autologin_windows/CHANGELOG.md +++ b/autologin_windows/CHANGELOG.md @@ -1,3 +1,8 @@ +## 1.0.0 + +* First official stable version +* Improved documentation to have a full documentation coverage + ## 0.2.0 * Add Windows support diff --git a/autologin_windows/example/lib/README.md b/autologin_windows/example/lib/README.md new file mode 100644 index 0000000..34369b6 --- /dev/null +++ b/autologin_windows/example/lib/README.md @@ -0,0 +1,2 @@ +This example is just for pub.dev. If you want to run this sample use the +[autologin example](../../../autologin/example). diff --git a/autologin_windows/example/lib/main.dart b/autologin_windows/example/lib/main.dart new file mode 100644 index 0000000..138cb2a --- /dev/null +++ b/autologin_windows/example/lib/main.dart @@ -0,0 +1,201 @@ +import 'dart:async'; + +import 'package:autologin/autologin.dart'; +import 'package:flutter/foundation.dart'; +import 'package:flutter/material.dart'; + +void main() { + runApp(const DemoFrame()); +} + +/// This Frame is just to make sure that the DemoPage has a context which can show a snackbar +class DemoFrame extends StatelessWidget { + const DemoFrame({super.key}); + + @override + Widget build(BuildContext context) { + return MaterialApp( + home: Scaffold( + appBar: AppBar( + title: const Text('Autologin-Plugin example app'), + ), + body: const SingleChildScrollView( + padding: EdgeInsets.symmetric(vertical: 8, horizontal: 24), + child: Align( + child: SizedBox( + width: 400, + child: DemoPage(), + ), + ), + ), + ), + ); + } +} + +class DemoPage extends StatefulWidget { + const DemoPage({super.key}); + + @override + State createState() => _DemoPageState(); +} + +/// Most of those state fields are just for debugging what's going on +class _DemoPageState extends State { + bool? isPlatformSupported; + String? usernameNote; + String? passwordNote; + bool obscurePassword = true; + final usernameController = TextEditingController(); + final passwordController = TextEditingController(); + String loginToken = 'Loading...'; + + @override + void initState() { + super.initState(); + unawaited(initPlatformState()); + usernameController.addListener(resetUsernameNote); + passwordController.addListener(resetPasswordNote); + AutologinPlugin.setup( + domain: 'rekire.github.io', + appId: 'eu.rekisoft.flutter.autologin', + appName: 'Autologin Demo', + ); + AutologinPlugin.requestLoginToken().then((value) async { + if (value != null) { + setState(() => loginToken = value); + } else { + final hasZeroTouchSupport = (await AutologinPlugin.performCompatibilityChecks()).hasZeroTouchSupport; + setState(() => loginToken = hasZeroTouchSupport ? 'This is the first app start' : 'Platform not supported'); + if (hasZeroTouchSupport) { + await AutologinPlugin.saveLoginToken('First start ${DateTime.now()}'); + } + } + }).onError((error, stackTrace) { + setState(() => loginToken = error.toString()); + }); + } + + @override + void dispose() { + super.dispose(); + usernameController.removeListener(resetUsernameNote); + passwordController.removeListener(resetPasswordNote); + } + + // Platform messages are asynchronous, so we initialize in an async method. + Future initPlatformState() async { + final isSupported = await AutologinPlugin.isPlatformSupported; + setState(() => isPlatformSupported = isSupported); + } + + void resetUsernameNote() { + setState(() => usernameNote = null); + } + + void resetPasswordNote() { + setState(() => passwordNote = null); + } + + Future requestCredentials() async { + final credentials = await AutologinPlugin.requestCredentials(); + + if (mounted) { + setState(() { + if (credentials?.username != null) { + usernameController.text = credentials!.username!; + usernameNote = null; + } else { + usernameController.text = ''; + usernameNote = 'API did not provide a username'; + } + if (credentials?.password != null) { + passwordController.text = credentials!.password!; + passwordNote = null; + } else { + passwordController.text = ''; + passwordNote = 'API did not provide a password'; + } + }); + } + } + + Future saveCredentials() async { + final success = await AutologinPlugin.saveCredentials( + Credential(username: usernameController.text, password: passwordController.text, domain: 'rekire.github.io'), + ); + + if (!success && mounted) { + ScaffoldMessenger.of(context).showSnackBar( + const SnackBar( + content: Text('Failed to save credentials!'), + ), + ); + } + } + + @override + Widget build(BuildContext context) { + return Column( + children: [ + if (isPlatformSupported != true) + const Padding( + padding: EdgeInsets.only(bottom: 16), + child: Text('⚠️ This ${kIsWeb ? 'browser' : 'platform'} is not supported ⚠️'), + ), + TextFormField( + controller: usernameController, + textInputAction: TextInputAction.next, + autofillHints: const [AutofillHints.username], + decoration: InputDecoration( + border: const OutlineInputBorder(), + labelText: 'Username', + helperText: usernameNote, + ), + onFieldSubmitted: (_) => saveCredentials(), + ), + const SizedBox(height: 16), + TextFormField( + controller: passwordController, + obscureText: obscurePassword, + textInputAction: TextInputAction.send, + keyboardType: TextInputType.visiblePassword, + autofillHints: const [AutofillHints.password], + decoration: InputDecoration( + border: const OutlineInputBorder(), + labelText: 'Password', + helperText: passwordNote, + suffixIcon: IconButton( + icon: Icon(obscurePassword ? Icons.visibility : Icons.visibility_off), + onPressed: () { + setState(() => obscurePassword = !obscurePassword); + }, + tooltip: obscurePassword ? 'Show password' : 'Hide password', + ), + ), + onFieldSubmitted: (_) => saveCredentials(), + ), + const SizedBox(height: 16), + FilledButton( + onPressed: isPlatformSupported == true ? saveCredentials : null, + child: const Text('Save credentials'), + ), + const SizedBox(height: 8), + OutlinedButton( + onPressed: () { + usernameController.text = 'Some-Username'; + passwordController.text = r'Example-P@§$w0rd!'; + }, + child: const Text('Enter sample data'), + ), + const SizedBox(height: 8), + OutlinedButton( + onPressed: isPlatformSupported == true ? requestCredentials : null, + child: const Text('Request login data'), + ), + const SizedBox(height: 8), + Text('Login-Token: $loginToken'), + ], + ); + } +} diff --git a/autologin_windows/pubspec.yaml b/autologin_windows/pubspec.yaml index 0540067..5afb0f6 100644 --- a/autologin_windows/pubspec.yaml +++ b/autologin_windows/pubspec.yaml @@ -1,6 +1,6 @@ name: autologin_windows description: The platform implementation of the autologin plugin for Windows. -version: 0.2.0 +version: 1.0.0 homepage: https://github.com/rekire/autologin_plugin/tree/main/autologin_windows environment: @@ -15,7 +15,7 @@ flutter: dartPluginClass: AutologinWindows dependencies: - autologin_platform_interface: ^0.1.0 + autologin_platform_interface: ^1.0.0 ffi: ^2.1.0 flutter: sdk: flutter @@ -25,7 +25,7 @@ dev_dependencies: git: url: https://github.com/rekire/autologin_plugin.git path: autologin_test_utils - ref: 0.1.1 + ref: 1.0.0 flutter_test: sdk: flutter very_good_analysis: ^5.1.0