3 ms·
I just need a path for routing man. I’m not asking for a lot here. I don’t even want to use the pasteboard for this in the first place.
by asow92 3y ago
I just need a path for routing man. I’m not asking for a lot here. I don’t even want to use the pasteboard for this in the first place.
- TechBro8615 3y agoSo you're popping the latest value from the user's clipboard, crossing your fingers and hoping that it's the value you just copied from your site (and that there are no bugs in your code or some intricacies of the user agent that caused that copy to fail), and then sending the value to your server by appending it to your URL. Surely you see the risk here?
- asow92 3y agoNo, I’m looking in the clipboard for a valid path in my app and routing to it found and discarding if not. All routing is local to the client app and nothing is sent to the server. If we’re taking hundreds of thousands of clients and it works 99% of the time, then the risk of it not working in that 1% of cases is acceptable to our product team. Worst cast scenario is that it fails, the user tries again, and no clipboard is needed on the second attempt because universal links work now that app is installed. This value in the clipboard might be something like: /path-to-experience?id=something
- deleted 3y ago[deleted]