I have a mobile app that has users who generate transactions. Basically if a user wants to turn on their TV, they press a button in the app, and that should
1) Run code in a smart contract to verify that the user is authorized to control this TV
2) If the user is authorized, store the "turn on TV" command on the blockchain.
However, I don't want my users to have to pay for this activity. I would like for the company to be in charge of paying for the gas. This way I can just refill / send more gas to 1 source (my company's smart contract), as opposed to having to send gas to a ton of sources (a ton of user smart contracts).
Is there a way to centralize gas payment like this? I want to generate the transaction on the user side for security purposes, but I want the company to take the burden of paying gas. I'm thinking of sending the raw transaction from my mobile app to my backend server, and then sending the transaction from there? Would that work?