Apple has changed its policies regarding repairs via Apple retail outlets, with customers who have replaced the battery of their iPhone with an aftermarket model installed by a third-party repair shop now able to be repaired at the Genius Bar as well as at Apple Authorized Service Providers.
Source: Apple Insider News and Secrets on New Apple Products

Apple Store repair policy update allows servicing of iPhones with third-party batteries
More from iPhoneMore posts in iPhone »
- Piper Sandler joins post-earnings chorus, hikes AAPL to $343
- Apple launches service program for iPhone 6s, 6s Plus models with 'no power' issues
- Apple to launch 'iPhone 11' on Sept. 20, celebrate with reopening of Fifth Avenue store in NYC
- ICYMI — Action cams, screen protectors, & more
- China believed to have used iPhone exploits to track Uyghur Muslims