sentry-unity icon indicating copy to clipboard operation
sentry-unity copied to clipboard

Need to be able to customize IPostGenerateGradleAndroidProject.callbackOrder

Open eefan000 opened this issue 1 year ago • 3 comments

Some SDKs in my project will completely cover AndroidManifest.xml, so Sentry needs to be executed later

eefan000 avatar Aug 02 '23 10:08 eefan000

Thanks for reaching out. Why is that? What exactly is causing issues?

bitsandfoxes avatar Aug 03 '23 07:08 bitsandfoxes

Thanks for reaching out. Why is that? What exactly is causing issues?

Some advertising SDKs from channel providers also use IPostGenerateGradleAndroidProject to modify AndroidManifest.xml, but the implementation is relatively poor, directly covering the entire file instead of adding modifications.

This resulted in the AndroidManifest.xml modified by Sentry being overwritten.

Ultimately, it leads to a lack of dependencies or configuration in the packaged version.

I can't change these advertising SDKs, so I need this feature

eefan000 avatar Aug 03 '23 12:08 eefan000

Could you provide a sample of what a completely overhauled AndroidManifest.xml looks like so we can make sure it'll work?

bitsandfoxes avatar Aug 07 '23 12:08 bitsandfoxes

Fixed by #1624

bitsandfoxes avatar Apr 29 '24 10:04 bitsandfoxes