Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

notification sound #10

Open
yeoniii20 opened this issue Jun 30, 2024 · 0 comments
Open

notification sound #10

yeoniii20 opened this issue Jun 30, 2024 · 0 comments
Assignees
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@yeoniii20
Copy link
Member

πŸ“’ μš”μ•½

notification 의 soundκ°€ μž‘λ™λ˜μ§€ μ•ŠλŠ” 이슈 λ°œμƒ


πŸ’£ 원인 뢄석

 "plugins": [
      "expo-asset",
      "expo-font",
      [
        "expo-notifications",
        {
          "sounds": [
            "./assets/sounds/BB-06_finish.mp3",
            "./assets/sounds/BB-06_start.mp3",
            "./assets/sounds/BB-06_start_10.mp3",
            "./assets/sounds/BB-06_start_20.mp3",
            "./assets/sounds/BB-06_next.mp3",
            "./assets/sounds/BB-06_go_out5.mp3",
            "./assets/sounds/BB-06_go_out10.mp3"
          ]
        }
      ]
    ]

-> μœ„μ™€ 같이 app.json에 μ‚¬μš΄λ“œ 파일 경둜λ₯Ό import ν–ˆλŠ”λ°λ„ λΆˆκ΅¬ν•˜κ³  μ†Œλ¦¬κ°€ λ‚˜μ§€ μ•ŠλŠ”λ‹€.
μ˜ˆμƒλ˜λŠ” μ›μΈμœΌλ‘œλŠ”

  1. μ™„μ „ν•œ 배포(release) ν™˜κ²½μ—μ„œλ§Œ μ‚¬μš΄λ“œκ°€ λ“€λ¦°λ‹€.
  2. μ‚¬μš΄λ“œ 파일 import 방식이 잘λͺ» λ˜μ—ˆλ‹€.
  3. useNotification μ—μ„œ μ‚¬μš΄λ“œκ°€ μ œλŒ€λ‘œ λ°œμƒλ˜μ§€ μ•ŠλŠ”λ‹€.

πŸ’‘ ν•΄κ²° 방법


πŸ”₯문제점πŸ”₯

μ‚¬μš΄λ“œλŠ” λ‘œμ»¬μ—μ„œ ν…ŒμŠ€νŠΈ ν•  μˆ˜κ°€ μ—†μ–΄μ„œ 맀번 λΉŒλ“œλ₯Ό ν•΄μ•Όν•œλ‹€λŠ” 단점이 μžˆλ‹€.

@yeoniii20 yeoniii20 self-assigned this Jun 30, 2024
@yeoniii20 yeoniii20 added bug Something isn't working help wanted Extra attention is needed labels Jun 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant