Open t3hmrman opened 5 years ago
I am the HN user they posted on behalf of. Let me know if I can provide any additional info.
I am experiencing the exact same issue - any help would be appreciated!
Do you have NativeScript Preview app installed on your phone? The preview app registers “nsplay” custom scheme. The Playground app is used as a QR scanner app to scan the code from the playground website(if opened not from a mobile device) or ‘tns preview’ command from the CLI.
I do have the NativeScript Preview app, yes. When I scan a QR code in Playground, it launches Preview but all I see is the Components list you would see if you launched the app directly from the home screen without a QR code.
This ticket is to capture a discussion that happened on HN in which a new user ran into a problem following playground links -- I didn't personally run into this issue but figured I'd save some time and file one, hopefully HN user codetrotter (https://news.ycombinator.com/user?id=codetrotter) can fill in more details.
If I had to guess it looks like playground isn't registering the right URL schemes, for Safari at the very least.
Please, provide the details below:
Did you search for the problem in other open issues in this repo?
Yes
Tell us about the problem
For example, https://play.nativescript.org/?template=play-js&id=h9CNcL&v=3542 tries to open nsplay://boot?pKey=pub-c-a303d41e-5c6b-4030-8151-c056278a7944&sKey=sub-c-2d2f1312-4f78-11e7-ab90-02ee2ddab7fe&template=play-js&sessionId=h9CNcL_3542
Running iOS 12.3.1 on an iPhone X.
Did you try it outside of {N} Playground?
Which browser are you using?
Are there any errors/warnings logged in your browser console?
Not sure
Which platform(s) does your issue occur on?
Are there any entries logged in the Device Logs tab?
Please provide the following information shown in the devices tab in the playground: