Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
App crash with deep link on the first bottom navigation tab
  • Loading branch information
PStrelchenko committed Aug 16, 2020
1 parent 1bcbb70 commit a61cf67
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/src/main/AndroidManifest.xml
Expand Up @@ -13,6 +13,9 @@
<activity
android:name=".ui.root.RootActivity"
android:label="@string/app_name">

<nav-graph android:value="@navigation/app_nav_graph"/>

<intent-filter>
<action android:name="android.intent.action.MAIN" />

Expand Down
3 changes: 3 additions & 0 deletions app/src/main/res/navigation/app_nav_graph.xml
Expand Up @@ -29,6 +29,9 @@
android:name="com.aaglobal.jnc_playground.ui.main.MainFragment"
tools:layout="@layout/fragment_main">

<!-- Deep link for the first bottom navigation tab -->
<deepLink app:uri="www.example.com/main" />

<action
android:id="@+id/action__MainFragment__to__AuthFlow"
app:destination="@id/auth__nav_graph" />
Expand Down

0 comments on commit a61cf67

Please sign in to comment.