# Stop ionic cap sync overwriting customer changes

**URL:** <https://forum.ionicframework.com/t/stop-ionic-cap-sync-overwriting-customer-changes/186070>\
**Category:** Capacitor\
**Created:** [March 28, 2020, 3:26pm UTC](https://forum.ionicframework.com/t/stop-ionic-cap-sync-overwriting-customer-changes/186070 "2020-03-28T15:26:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tanakasan1734](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/tanakasan1734/32/131239_2.png) [@Tanakasan1734](https://forum.ionicframework.com/u/Tanakasan1734)\
**Post date:** [March 28, 2020, 3:26pm UTC](https://forum.ionicframework.com/t/stop-ionic-cap-sync-overwriting-customer-changes/186070/1 "2020-03-28T15:26:08Z")

</div>

I have had to make some changes to the NativeAudio plugin to get it working how I want in my app. How do I stop these changes getting removed when I add new plugins and have to run `ionic cap sync`?

---

<div class="post-metadata">

**Author:** ![mhartington](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mhartington/32/137757_2.png) [@mhartington](https://forum.ionicframework.com/u/mhartington)\
**Post date:** [March 30, 2020, 2:25pm UTC](https://forum.ionicframework.com/t/stop-ionic-cap-sync-overwriting-customer-changes/186070/2 "2020-03-30T14:25:39Z")

</div>

You should not be modifying plugins like that. You should instead be making your own and applying those modifications there instead.

---

<div class="post-metadata">

**Author:** ![Tanakasan1734](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/tanakasan1734/32/131239_2.png) [@Tanakasan1734](https://forum.ionicframework.com/u/Tanakasan1734)\
**Post date:** [March 30, 2020, 4:38pm UTC](https://forum.ionicframework.com/t/stop-ionic-cap-sync-overwriting-customer-changes/186070/3 "2020-03-30T16:38:03Z")

</div>

so fork their repo, make the change I need and then use the plugin creation process to pull it in to my project?

---

<div class="post-metadata">

**Author:** ![mhartington](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mhartington/32/137757_2.png) [@mhartington](https://forum.ionicframework.com/u/mhartington)\
**Post date:** [March 30, 2020, 4:38pm UTC](https://forum.ionicframework.com/t/stop-ionic-cap-sync-overwriting-customer-changes/186070/4 "2020-03-30T16:38:52Z")

</div>

yep, more or less. you could just create your own plugin using the cap CLI go from there.
