Could Not Assign Data Fetched From Native Storage To Variable

It may not seem related at first glance, but try reading through this thread, as I think you are in a very similar situation.

You are relying on side-effects of getCustomerId that you have no way of predicting the timing of. I would instead rearchitect getCustomerId so that it returns Promise<User> (and, incidentally, I would move that method totally out of the page and into a service provider). Also please consider adopting customary JavaScript naming conventions, which would make customer_id customerId instead. Give it a proper type, too. Every use of any is a missed opportunity to write more robust, self-documenting, and mantainable code.