In my last try I got rid of the "spaces" and used
Code: Select all
put "WhatsApp://send?text=Hello-World!" into theURL
and still no joy, same error.
Oh, I didn't think that having 2 spaces in the 'hello world' thing was messing it up, I was just thinking about dropping unnecessary things from the url that might lessen the complication.
Sorry for any confusion
simon.schvartzman wrote: ↑Mon Dec 17, 2018 4:11 pm
as a matter of fact I'm able to share through whatsapp from many Apps installed on my phone using the familiar share screen:
and I would assume a similar functionality should be able to be delivered on an LC developed App. Don't you think so?
Well, that screen may be familiar to you, but it is my first time seeing it
The complete amount of gross ignorance I have with mobile is... well... complete. I have no idea what 'AirDrop' is, or how iOs does things in general.
Proceeding from my abysmal lack of knowledge, the picture (to me) looks like some kind of interpreter screen if you will, where you are picking the 'output' of some program, then using this screen to 'send' it to some other program (like whatsapp, mail, or facebook).
If that is the case (again, I don't know), then this 'AirDrop' is making the association for you for the particular program(s) you are 'sharing' through whatsapp, not because of some underlying association in the iOs OS, if you see the difference.
I am curious, though, if you can indeed add your Lc program to the list of AirDrops associated programs? Or alternately, if you couldn't take some form of output from your Lc program and use AirDrop to make the association for you?
Sorry, that is about as far as I can figure it with what I don't know, which is a LOT.
To answer your question specifically on something I *think* I know about, no, and your own testing should validate that.
The reason it 'works' fine is because iOs has actual web addresses associated with opening a browser. It (iOs) just doesn't understand opening 'whatsapp' addresses, because apparently there is no association with that string.
Now, if there is a way for you to create such an association (I have no idea), then that would be the way to go.