greybax / cordova-plugin-proguard

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

when i add custom rules it's not coming #6

Closed sparavindans closed 6 years ago

sparavindans commented 6 years ago

when i add custom rules under plugin->cordova-plugin-proguard ->proguard-custom.txt but the changes not available under->platforms->android->app->src->proguard-custom.txt .

kindly lets us know where i have to add more rules in cordova project

greybax commented 6 years ago

@sparavindans seems that you try to find proguard-custom.txt in wrong place. It should be in assets/www/proguard-custom.txt for Cordova version <7.0 and here src/main/assets/www/proguard-custom.txt for cordova 7.0 (if you will use https://github.com/SujitSingh/cordova-plugin-proguard fork)

greybax commented 6 years ago

is it issue still actual? if not will close it

Hanzofm commented 6 years ago

Hi, wich is the project absolute path where I have to place my proguard-custom.txt to use it on: -cordova android 6.4.0 -Cordova 8

thanks

greybax commented 6 years ago

@Hanzofm It should be in assets/www/proguard-custom.txt for Cordova version <7.0 and here src/main/assets/www/proguard-custom.txt for cordova 7.0 as it was mention above.

NadaMustafa commented 4 years ago

you should remove and re-add Android platform after changing plugins/cordova-plugin-proguard /proguard-custom.txt

ionic cordova platform rm android
ionic cordova platform add android
alaagamalkhattab commented 4 years ago

you should remove and re-add Android platform after changing plugins/cordova-plugin-proguard /proguard-custom.txt

ionic cordova platform rm android
ionic cordova platform add android

you save my life nada ..thank you

engymamdou7 commented 4 years ago

you should remove and re-add Android platform after changing plugins/cordova-plugin-proguard /proguard-custom.txt

ionic cordova platform rm android
ionic cordova platform add android

it works with me thank you so much nada

greybax commented 4 years ago

updated README.md file accordingly with @NadaMustafa remarks