Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to pass Parcelable object via Navigation component deeplink?

I use navigation component and use deep link for passing the value or changing page I can pass primitive and enum objects I never try passing Parcelable object via deep link is it possible?

like image 582
a-rohim Avatar asked Jun 11 '20 11:06

a-rohim


People also ask

What is deep link navigation?

In Android, a deep link is a link that takes you directly to a specific destination within an app. The Navigation component lets you create two different types of deep links: explicit and implicit.

How do I make a deep link for an app?

In the Link Settings and Redirects section, after you enable the link for iOS, Android, or both, fill out the following fields: "If the app is not installed go to" (this is the fallback redirect) "If the app is already installed, go to: (deep link)" "After installation, go directly to: (deferred deep link)"


1 Answers

I think for now it's impossible, because our data only can be received from the URI.

Just like documentation at Google said, it only show how to pass data with native value.

And with deeplink, we can access our data from Browser, so if we access from browser, of course we can't make object data right?

like image 94
Liong Avatar answered Nov 02 '22 04:11

Liong