eth_sendTransaction different behavior on Smartphone than on desktop browser

Hey!

I am sending a transaction to call a method of a smart contract. The code is working fine on my desktop, where he sends the transaction to the contract address (as specified in the to field). However … on my phone or in the MetaMask app itself, it tries to deploy a contract and therfore the transaction fails?!

This is the code I am using to send the transaction (using “request”)

.request({
method: "eth_sendTransaction",
params: [{
"from": "VALIDADDRESS",
"to": "CONTRACTADDRESS",
"data": "HASH_OF_INVOKED_METHOD_SIGNATURE_AND_ENCODED_PARAMETERS"
}]

What is going on here? Did i miss something?

There is a related issue on Github: #2929 (I cannot add a link?)