blink icon indicating copy to clipboard operation
blink copied to clipboard

xcall not making successful x-callback-url requests

Open aimerib opened this issue 2 years ago • 2 comments

Checklist

Configuration

iOS 15.4 Blink: v15.0.7.536 (App Store). Mar 24 2022

Describe the bug

When using a plain terminal - i.e. no ssh or mosh session active - I can’t seem to execute xcall successfully. To reproduce this, in Blink shell: xcall -v working-copy://x-callback-url/repos?key=mykey will switch to WorkingCopy and back to Blink, but no results are returned, and I don’t have access to my cursor until I ctrl-c out of xcall (mykey is the actual key for WorkingCopy in this instance)

I’ve tried using the -j flag and the -s flag, but the return of that particular action is an array of json objects, so not sure how to formulate the flag, but I would expect at least to be able to see what is being returned.

When using the exact same x-callback-url for WorkingCopy in shortcuts I get the expected result.

Expected result would be to receive at the very least the raw payload returned by WorkingCopy, but this might be just a lack of information on how xcall should behave on my part. I’ve looked at the code for it for a little bit, but iOS development isn’t my forte, so I can’t quite place why this is just hanging on returning to Blink.

This is a screenshot of my blink shell upon returning from WorkingCopy IMG_0029

Thank you so much for this amazing software, and for any help you might be able to provide.

aimerib avatar Apr 19 '22 20:04 aimerib

My experience has been the same though I've been able to successfully use the command to run conventional URL schemed commands, the return to Blink always results in a non-responsive window.

https://user-images.githubusercontent.com/43663476/164145330-0f9b81da-4f1e-4128-b216-aac30ca68dc6.MOV

extratone avatar Apr 20 '22 03:04 extratone

My experience has been the same though I've been able to successfully use the command to run conventional URL schemed commands, the return to Blink always results in a non-responsive window.

Upload.from.GitHub.for.iOS.MOV

Hey! I actually came across your blog post about tilde.town and blink on an iPhone because of researching this issue! Good stuff!

aimerib avatar Apr 20 '22 11:04 aimerib