Native modules

Info: Native modules let you to extend Forge to enable new native features in apps.

To create a module, you write native Android and iOS code, compile it, and include this compiled code in your Forge app. We provide a mechanism for your native code to communicate with your JavaScript code.

Obviously, writing native modules is a different process for Android and iOS. However we have tried to keep the experience as consistent as possible: with that in mind, this documentation is split into the various tasks you might want to complete as part of writing a native module, with instructions for Android and iOS included in each section.

Get started with the basics!