Skip to content

Commit

Permalink
Merge pull request #34 from embrace-io/flutter-docs
Browse files Browse the repository at this point in the history
Improve flutter integration docs
  • Loading branch information
fractalwrench authored Oct 16, 2024
2 parents 4a5eb00 + 9ed68e0 commit 98f7fc3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 4 additions & 0 deletions docs/flutter/integration/add-embrace-sdk.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ flutter pub add embrace
Firstly alter the AppDelegate to initialize Embrace in the `init` function:

```swift
import EmbraceIO
import EmbraceCore
import EmbraceCrash

@UIApplicationMain
@objc class AppDelegate: FlutterAppDelegate {
override init() {
Expand Down
2 changes: 0 additions & 2 deletions docs/flutter/integration/session-reporting.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@ Here are the steps you'll be taking to create your first session.

1. [**Import Embrace**](#import-embrace)
1. [**Add the Flutter SDK start call**](#add-the-flutter-sdk-start-call)
1. [**Add the iOS SDK start call**](#add-the-ios-sdk-start-call)
1. [**Add the Android SDK start call**](#add-the-android-sdk-start-call)
1. [**End the startup moment**](#end-the-startup-moment)
1. [**Build and run the application**](#build-and-run-the-application)
1. [**Trigger a session upload**](#trigger-a-session-upload)

Expand Down

0 comments on commit 98f7fc3

Please sign in to comment.