How to make a flexible playstore app Icon that supports both "Normal Mode" and "Dark Mode"?

I have recently pushed a React Native app to playstore and used an Icon to represent in playstore.When Dark Mode is enabled my app's playstore Icon's background turns black which makes Icon ugly. Now my doubt is

  1. Do I have to use white background for Icon for all the future apps?

  1. Is there any way to make our Icon to be flexible in both Normal Mode and Dark Mode?