Access Device Features
Adobe recommends using the SPA Editor for projects that require single page application framework-based client-side rendering (e.g. React). Learn more .
Building AEM components that access device features
The AEM PhoneGap Kitchen Sink Github repository provides developers with a functional AEM app that illustrates the use of a number of core Cordova APIs. When run on iOS or Android via the PhoneGap CLI, the app opens up into the following page which includes a link to each device API that it demonstrates:
The source code for each of these device API components is available on Github .
For more detail on the usage of each API, I recommend taking a look at the Cordova plugin documentation .