greybax / cordova-plugin-proguard

:white_square_button: Cordova Plugin for ProGuard
MIT License
51 stars 265 forks source link

Progurad plugin conflict with firebase-x #31

Open Adityakhandelwal021 opened 7 months ago

Adityakhandelwal021 commented 7 months ago

i am facing this issue when i am trying to generate release build of android application.and i am check lot of things after then i got the issue there is a conflict between firebase-x plugin and cordova plugin.so please help me how can i resolved this issue

both plugin important for me here

What went wrong: A problem was found with the configuration of task ':app:uploadCrashlyticsMappingFileRelease' (type 'UploadMappingFileTask'). In plugin 'com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsPlugin' type 'com.google.firebase.crashlytics.buildtools.gradle.tasks.UploadMappingFileTask' property 'googleServicesResourceRoot' doesn't have a configured value.

Reason: This property isn't marked as optional and no value has been configured.

Possible solutions:

Assign a value to 'googleServicesResourceRoot'. Mark property 'googleServicesResourceRoot' as optional.

Sparrkle commented 3 weeks ago

I had the same problem. so I tried many things, it was solved when I change gradle file.

before: ... apply plugin: com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsPlugin ...

after: ... apply plugin: com.google.gms.googleservices.GoogleServicesPlugin apply plugin: com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsPlugin ...

greybax commented 3 weeks ago

@Sparrkle thanks for update! Could you please prepare a PR with this patch?

Sparrkle commented 3 weeks ago

@greybax This issue requires change the gradle file in the firebasex project.