> For the complete documentation index, see [llms.txt](https://document.wisetracker.co.kr/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://document.wisetracker.co.kr/v2-developer/push/undefined/flutter/preparation.md).

# 준비 사항 안내

{% hint style="info" %}
Push SDK 설정을 테스트 한 앱의 정보는 다음과 같습니다.

* Flutter: `0.71.1`
* android :&#x20;

  `targetSdkVersion = 31 ,`

&#x20;     `Test Device = Android 9.0 , Android 12.0`

* iOS :

  `Xcode = 14.2 version ,`

&#x20;     `Deployment Target = 12.4 ,`

&#x20;     `Test Device = 15.7.1`&#x20;
{% endhint %}

### 1. Flutter 플러그인 설치 (AOS/IOS 공통 설정) <a href="#push-flutter-plugin" id="push-flutter-plugin"></a>

### 1.1 pubspec.yaml에 depedency 추가

아래 경로에 있는 `pubspec.yaml` 파일에 `dot_flutter: ^1.0.12` 와 Firebase 관련 dependency를 추가합니다.

![](/files/jlfcmFCoJLUslHaBf7kZ)

```yaml
dependencies:
  flutter:
    sdk: flutter 
  
  # Wisetracker Analytics SDK   
  dot_flutter: ^1.0.12
  
  
# firebase flutter packages
  firebase_core: ^2.29.0
  firebase_messaging: ^14.8.1
  
```

### 1.2 프로젝트 폴더에서 커맨드 라인으로 아래 명령어를 실행해주세요.

```
flutter pub get
```

### 1.3 의존성 추가 완료 이후, dart 파일에서 패키지를 import하여 사용 할 수 있습니다.

```dart
...
import 'package:dot_flutter/dot_flutter.dart';
...
```

### 와이즈트래커 대시보드 계정 준비

다음과 같이 푸시메시지 수신을 위한 적용이 완료되면, 와이즈트래커 대시보드에서 테스트를 진행하실 수 있습니다.

적용 후 바로 테스트까지 진행하실 수 있도록, 고객사 담당자를 통해 대시보드에 로그인할 수 있는 계정을 전달받아 로그인 후 마케팅 메시지 메뉴가 확인이 되는지까지 체크 해 주세요.&#x20;

[<mark style="color:blue;">**와이즈트래커 대시보드 로그인 하기↗️**</mark>](https://analytics.wisetracker.co.kr/)

<figure><img src="/files/Kn4JAKAIWKulluBRLuS6" alt=""><figcaption></figcaption></figure>

그럼 이제 OS 별로 푸시메세지 적용을 위한 단계를 시작해 볼까요? 🏃🏻‍♂️


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://document.wisetracker.co.kr/v2-developer/push/undefined/flutter/preparation.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
