- Support for custom scopes (thanks to @AndrzejKaczynski)
- Bumped dependencies for AndroidX compatibility
- Bumped
flutter_webview_plugin
for Flutter 1.0 compatibility
- Updated Slack icon to the most recent version
- Refactored to Stateless widgets
- BREAKING - Required for Flutter Release Preview 2
- Updated deprecated dependencies and Dart 2 issues.
- BREAKING - Required for Flutter Beta 2
- Required changes to support Dart 2 (and Flutter Beta 2).
SlackButton
now uses aGenericSlackButton
which is not exposed by default.GenericSlackButton
can have a custom onTap callback so you can hook up your custom logic, such as binding Firebase Auth.- To use
GenericSlackButton
, you need to manually importpackage:flutter_slack_oauth/oauth/generic_slack_button.dart
, it is not exposed by default.
- Formatted with dartfmt
- Slack WebView now has action bar so back behaviour is possible on iOS
- Initial release
- Provides a
SlackButton
widget which is styled like an official "Sign in with Slack" button. - Clicking a
SlackButton
starts a WebView, allowing the user to log in with Slack. - SlackButton requires a client id, client secret, and 3 callbacks:
onSuccess
,onFailure
, andonCancelledByUser
. - The resulting access token is stored in shared preferences (Android) and NSUserDefaults (iOS) (thanks
https://github.com/flutter/plugins/tree/master/packages/shared_preferences
) - Basic
/api/users.identity
call as PoC. - Basic
/api/users.list
call as PoC.