App gets rejected for not providing test data

Hello, I'm trying to get my first app to be approved and published in the app store, but every time I ask for a review, I get feedback that the app is incomplete and doesn't have test data.

I've added a hidden button in the app that when you press the version number text 5 times, test data will appear. But with this I get a response that the app becomes unresponsive. When I tested it, it works just fine. I don't know what to do with this.

Any tips on getting through the review process?

Thank you for your post. We're investigating and will contact you in App Store Connect to provide further assistance. If you continue to experience issues during review, please contact us.

App gets rejected for not providing test data
 
 
Q