After battery replacement, iPhone refuses to charge when turned on
crwdns2934249:0crwdne2934249:0:
I have an iPhone XS max on which I did the battery replacement and the charging port replacement.
When the phone is on, the phone detects a cable is plugged in or it has been placed on the wireless charger, the charging symbol can be seen; but battery continues to drain.
I originally thought this was a battery issue, so i ordered yet another replacement battery.
The only way around it, I've found, is to place the phone on a wireless charger and then turn the phone off.
Is there a software lock on charging aftermarket batteries? Possible snafu during replacement of parts?
Any help would be appreciated. I live in a country with no Apple stores and the cost of having someone else look at the problem is too prohibitive.
I no longer have access to the original battery, in case this requires switching out battery circuitry.