Creating native method with Swift The first step, is create the function that you need on native part like an implementation on native apps . We will create a File called RNShare. swift on ios folder from our React Native app. We use RN before module name to indentify that is a Native Module to use on Javascript later.