App crashing with edit-config activity in config.xml

I used to have an issue with the status bar flickering in ionic 5 and the issue was resolved by implementing this configuration:
< edit-config file=“app/src/main/AndroidManifest.xml” mode=“merge” target=“/manifest/application/activity” xmlns:android=“”>
< activity android:theme=“@android:style/Theme.Translucent” />
< /edit-config>
same configuration is causing my app to crash for an ionic 6 app. if I don’t use this solution the flicking status bar issue is back. any ideas?

what’s the crash message?