How define config.xml file on react/capacitor project ? #390
-
I m using capacitor 3.3.3 with react. Installed this plugin and it shows a white square on splashscreen. show and hide functions works. My problem is that i can't figure out where should put config.xml file ? Ios folder has config.xml file but it is reproducing on every build. It's content like that : Do you have any idea ? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
It’s a shame on Ionic’s end that it’s not very good documented. You need to adjust your capacitor JSON config file like in this example: https://capacitorjs.com/docs/cordova/migrating-from-cordova-to-capacitor#cordova-plugin-preferences |
Beta Was this translation helpful? Give feedback.
-
@timbru31 It works but something is weird. animation is placed at righ bottom side very small while opening the app. Afer it is open a white square is showing up here until hide() function worked. Here you can see my animation shows at right bottom |
Beta Was this translation helpful? Give feedback.
It’s a shame on Ionic’s end that it’s not very good documented. You need to adjust your capacitor JSON config file like in this example: https://capacitorjs.com/docs/cordova/migrating-from-cordova-to-capacitor#cordova-plugin-preferences