개발/Flutter

Firebase dynamic link 안 될 때

dev_caleb 2022. 12. 12. 15:35
728x90

다이나믹 링크 공유 했는데 앱이 안켜질 때! 

 

안드로이드 일 경우 intent filter를 설정해줬는지 확인해보자

 

https://firebase.flutter.dev/docs/dynamic-links/receive

 

Receive Firebase Dynamic Links in a Flutter app | FlutterFire

This page is archived and might not reflect the latest version of the

firebase.flutter.dev

 

일단 공식문서 확인 후 

 

mainactivity 안에 intent filter를 넣어줬더니 성공했다!!

 

<intent-filter>
    <action android:name="android.intent.action.VIEW"/>
    <category android:name="android.intent.category.DEFAULT"/>
    <category android:name="android.intent.category.BROWSABLE"/>
    <data
        android:host="matjipmemo.page.link"
        android:scheme="https"/>
</intent-filter>
728x90