node-deeplink icon indicating copy to clipboard operation
node-deeplink copied to clipboard

Improve user experience

Open duncanhsieh opened this issue 5 years ago • 4 comments

Assume that the browser triggers the visibilityChange event when the client successfully opens deeplink, this script can cancel the opening of the app store.

duncanhsieh avatar Jun 01 '20 06:06 duncanhsieh

Thanks, i'll have a look at this a bit later today

mderazon avatar Jun 01 '20 07:06 mderazon

Hey @duncanhsieh, what was your experience before you added this ? If the app was installed, and the deeplink was opened successfully would the app store still open behind ? How did it behave ?

mderazon avatar Jun 01 '20 21:06 mderazon

Hey @duncanhsieh, what was your experience before you added this ? If the app was installed, and the deeplink was opened successfully would the app store still open behind ? How did it behave ?

Hey, I make a video for this issue. https://imgur.com/a/00iUgWk When deeplink is opened, the appstore immediately covers the app in iphone.

duncanhsieh avatar Jun 02 '20 00:06 duncanhsieh

When deeplink is opened, the appstore immediately covers the app in iphone.

Thanks for the video, don't have an ios device with me, i'll try to reproduce this on the simulator but it looks similar to mderazon/node-deeplink#9, which is why I recommended using universal links. If this indeed makes it a smoother experience then great

mderazon avatar Jun 02 '20 06:06 mderazon