Intro Nowadays, animations are an essential part of mobile apps and websites. When done properly, they make React Native applications look smoother, attract users’ attention, and increase user engagement. One of the most famous animations is the lovely heart created by the Instagram team. Let me quickly show you how to create it in React Native.
In this article, I will cover how we connected to our Android project, shared (between iOS and Android) library written in C++. If you don't know anything about Android NDK (native development kit) or C++, you can still learn from this article the overall method. That could help your team write logic once and share it. So let’s begin from the library file structure. In the image below we can see that we have three subfolders in our library.