# Troubles with custom component development

**URL:** <https://forum.adalo.com/t/troubles-with-custom-component-development/16552>\
**Category:** Get Help\
**Created:** [August 29, 2021, 8:49am UTC](https://forum.adalo.com/t/troubles-with-custom-component-development/16552 "2021-08-29T08:49:59Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Davidaa\_WoW](https://avatars.discourse-cdn.com/v4/letter/d/57b2e6/32.png) [@Davidaa\_WoW](https://forum.adalo.com/u/Davidaa_WoW)\
**Post date:** [August 29, 2021, 8:49am UTC](https://forum.adalo.com/t/troubles-with-custom-component-development/16552/1 "2021-08-29T08:49:59Z")

</div>

Hello! I was trying to create my custom component, to add sharing through apps feature. I found react library, called “react native share”, and I hope with it I can implement this feature. But when I import needed elements, adalo component breaks, and for no apparent reason.  
I recorded video with this issue, can somebody tell me, where is the problem?  
[https://youtu.be/\_hhqN1q67\_M](https://youtu.be/_hhqN1q67_M)

---

<div class="post-metadata">

**Author:** ![James\_App\_Maker](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/james_app_maker/32/37288_2.png) [@James\_App\_Maker](https://forum.adalo.com/u/James_App_Maker)\
**Post date:** [August 29, 2021, 2:33pm UTC](https://forum.adalo.com/t/troubles-with-custom-component-development/16552/2 "2021-08-29T14:33:54Z")

</div>

Hi David,

Welcome to the Community! 🥳

There is already a built in option in Adalo for sharing? Does it not fit your standards for your app?

---

<div class="post-metadata">

**Author:** ![Davidaa\_WoW](https://avatars.discourse-cdn.com/v4/letter/d/57b2e6/32.png) [@Davidaa\_WoW](https://forum.adalo.com/u/Davidaa_WoW)\
**Post date:** [August 29, 2021, 4:27pm UTC](https://forum.adalo.com/t/troubles-with-custom-component-development/16552/3 "2021-08-29T16:27:26Z")

</div>

Hello! Thanks for your reply. Native sharing option is very weak in adalo. It can share only text, but I want to share images, videos, and maybe multiple content. I saw this option in suggestions, but it doesn’t seem to be implemented soon in adalo. So I decided to create my own component directly for my needs, but that library makes something strange with adalo, even though it compiles fine. Problem is only with this library, maybe it’s a bug? Library is very popular, and a lot of people use it in their custom react native apps, I think problem is in adalo, can you find out that issue and fix it?

---

<div class="post-metadata">

**Author:** ![James\_App\_Maker](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/james_app_maker/32/37288_2.png) [@James\_App\_Maker](https://forum.adalo.com/u/James_App_Maker)\
**Post date:** [August 29, 2021, 9:56pm UTC](https://forum.adalo.com/t/troubles-with-custom-component-development/16552/4 "2021-08-29T21:56:06Z")

</div>

Just figured out the issue.

It’s because your not using “url\_link” and “description” so it’s returning undefined, try removing those and it should work. Also you need to add the share feature into the app, it won’t work just from the import.

---

<div class="post-metadata">

**Author:** ![Davidaa\_WoW](https://avatars.discourse-cdn.com/v4/letter/d/57b2e6/32.png) [@Davidaa\_WoW](https://forum.adalo.com/u/Davidaa_WoW)\
**Post date:** [August 30, 2021, 9:40am UTC](https://forum.adalo.com/t/troubles-with-custom-component-development/16552/5 "2021-08-30T09:40:54Z")

</div>

No, unfortunately it doesn’t work. Problem is only with this library, I tried installing another react libraries and the are working.  
I know, that it won’t work only from import 😀  
Now I am just trying to run this only with the import, and it still doesn’t work.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/system/32/40401_2.png) [@system](https://forum.adalo.com/u/system)\
**Post date:** [September 9, 2021, 9:41am UTC](https://forum.adalo.com/t/troubles-with-custom-component-development/16552/6 "2021-09-09T09:41:13Z")

</div>

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.
