Sounds like you are de-motivated. If you leave this position you essentially lose your safety net and you need to ask yourself is it worth it. Find your passion, make it cashflow passively and then you can leave risk free.
I am building a tutoring app for a Chinese client and they are now freaking out. I don't think they should worry, Huawei needs Android and vice versa, they will work it out.
You are brilliant, you are also brilliantly misunderstood. What you are offering here is a partial statement in coding parlance. If you wish to DM me I would be delighted to speak to you more but let me help you through this based on what data you have inputted.
You don't have low self confidence, you have low risk tolerance. The fact that you can code, and I presume code well, means you have skills. I would like to collaborate with you to work on something, anything of your choice, and make it work, I will push you to take risks as a stranger who will be your cheerleader. I am doing this because I too have been like you, and sometimes still am. I am not sure if this is allowed but try me at [email protected] with the subject line: I am ready to take a risk.