Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions docs/sdk/client-side-sdks/flutter/flutter-gettingstarted.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ Using the builder pattern we can initialize the DevCycle SDK by providing the De

```dart
import 'package:devcycle_flutter_client_sdk/devcycle_flutter_client_sdk.dart';
import 'package:flutter/foundation.dart';

void main() {
runApp(const MyApp());
Expand All @@ -43,6 +44,12 @@ class _MyAppState extends State<MyApp> {
@override
void initState() {
super.initState();
// onInitialized invokes this one-shot callback when the first configuration is ready.
_devcycleClient.onInitialized((error) {
if (error != null) {
debugPrint('DevCycle failed to initialize');
}
});
Comment thread
jonathannorris marked this conversation as resolved.
}

...
Expand Down
4 changes: 2 additions & 2 deletions docs/sdk/client-side-sdks/flutter/flutter-install.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import PromptContent from '!!raw-loader!@site/static/ai-prompts/flutter.md'

## Requirements

This version of the DevCycle Flutter Client SDK requires a minimum of version of Flutter 2.5.0 (dart 2.14.0), iOS 13.7 and Android API Version 23.
This version of the DevCycle Flutter Client SDK requires Flutter 2.5.0 or later (Dart 2.14.0), iOS 12.0 or later, and Android API 23 or later.
Comment thread
jonathannorris marked this conversation as resolved.

## Installation

Expand All @@ -40,7 +40,7 @@ The SDK can be installed into your Flutter project by running `flutter pub add d
The SDK can be installed into your Flutter project by adding the following to your `pubspec.yaml`:

```dart
devcycle_flutter_client_sdk: ^1.8.0
devcycle_flutter_client_sdk: ^1.11.7

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same comment here - can we automate this?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yea I'm going to look into how to do that across the SDKs, but that's for another PR

```

Then, run `flutter pub get`.
Loading