Apple will fix iPhone XS and iPhone XS Max charging issue with iOS 12.1 update
22

Just a few days ago, we told you about an issue that was preventing some Apple iPhone XS and iPhone XS Max units from charging with the screen off. Some were able to get the battery inside their iPhone to charge up by awakening the screen, or by using wireless charging. And to make matters worse, some iPhone XS and iPhone XS Max devices showed the batteries charging even though, in reality, they were not.
source: CNET
Things that are NOT allowed: