Yes When the iPhoneXR is replaced with a third-party battery, "under maintenance" will appear, and a pop-up window will remind you of important information. The pop-up window on the interface will disappear within 7- 15 days and will not appear again. It will only be displayed in the battery settings.
There is no problem in replacing the third-party battery with the iPhoneXR. A pop-up window that will prompt "Important Information Prompt" as long as the battery is changed. After 7- 15 days, the pop-up window disappears, and there is no pop-up window after it disappears.
If you use Apple's official original battery, it will not pop up under normal circumstances. However, if you use unofficial batteries or batteries replaced by unofficial channels, a pop-up window similar to "unauthorized batteries" may pop up.