# 5. 공유하기 기능을 사용하고 싶어요.

\*오마이앱에서 공유하기 기능은 3가지가 있어요. (아래 3가지를 사용할 경우 **prefix**, **도메인 url**는 필수로 입력해야 해요.)

1. [공유하기 액션](/main/guide/develop_app/command-execute-function/action/share.md)
2. sns 블의 공유하기
3. qr 코드 생성 액션

<div align="left"><figure><img src="/files/Knpi9uMuVkWyW2qKZ7tB" alt="" width="525"><figcaption></figcaption></figure></div>

\*오마이앱은 파이어베이스의 다이나믹 링크를 사용하여 공유하기 기능을 제공하고 있어요.

\*오마이앱으로 테스트를 할 경우 **prefix, 도메인 url** 입력란에 해당 가이드에서 설정한 값을 넣게되면 동작하지 않아요. (오마이앱으로 테스트를 하고자 하실 경우 prefix에는 **ohmyapp** 을, 도메인 url에는 [**https://ohmyapp.io**](https://ohmyapp.io) 을 넣어주세요)

\*공유하기는 테스트 플라이트에 올라갔을때 테스트 해보시는 것이 가장 정확해요.

\*파이어베이스는 2025년 8월 25부터 다이나믹 링크를 제공하지 않아요. 따라서, 오마이앱에서는 추후 파이어베이스를 대체할 곳을 찾은 후 해당 가이드 업데이트 예정이에요.

### Firebase 접속 ([링크](https://firebase.google.com/?hl=ko))

1. 링크를 클릭하여 파이어베이스에 접속 후 로그인해 주세요.
2. 콘솔에서 공유하기 기능을 적용하고자 하는 프로젝트를 클릭해 주세요.(아직 프로젝트가 없는 경우 해당 링크의 가이드를 선행해 주세요. [링크](broken://pages/tSYVIpjsTXavt2sY1BCz))
3. 좌측에 참여하기에서 Dynamic Links > "계속하기"를 클릭해 주세요.

   <figure><img src="/files/ga4GMuP5P7VyphvgpsFT" alt=""><figcaption></figcaption></figure>
4. URL 프리픽스 추가 시에는 "Google에서 제공하는 도메인" 중 하나를 사용해 주세요.

   <figure><img src="/files/0Lwr5daAeGorqF92GjtR" alt=""><figcaption></figcaption></figure>
5. 완료하고 나시면 다음과 같은 화면을 확인할 수 있어요. (이때 아래 이미지에서 빨간색 박스의 값을 공유하기 액션 중 "**prefix**" 에 넣어주세요.&#x20;

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

6. 도메인 url은 앱에서 공유하기가 실패하거나, 웹에서 해당 링크를 열었을 경우 보여지는 url 이에요.
   1. 앱 소개 홈페이지가 있을 경우 홈페이지 url를 넣어주세요.
   2. 없을 경우 [**https://ohmyapp.io**](https://ohmyapp.io) 를 넣어주세요.

* 6.을 완료하면 나머지는 공유하기 액션에서 입력받는 값으로 앱에서 자동으로 다이나믹 링크를 만들어줘요.

2023.11.09. Garlic


---

# Agent Instructions: 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:

```
GET https://docs.ohmyapp.io/main/guide/faq/action/shareaction.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
