I’m looking for a way to add a drop handler to the native spotify search field. So when the user tries to add a track he can drop it not only in the area in my app but also in the native search field.
My app was rejected because it couldn’t do that so it seems that this is possible. But I couldn’t find a way on how to do it.
Does anybody know how the handler is added?
You mean the native search field as in the thing in the top left of the client, rather than a control you added to your own?
If so then no, you can’t modify the behaviour of Spotify’s own search field.