Skip to content
  • Android
  • iOS

Expo Plugin

Configure native engine capabilities in an Expo app before building a development client.

Examples

Quick start

app.config.js
export default {
  expo: {
    name: 'My app',
    slug: 'my-app',
    plugins: ['nayan-ui']
  }
};

Configure native camera and microphone usage

Build a new development client after changing native declarations.

app.config.js
export default {
  expo: {
    name: 'Capture notes',
    slug: 'capture-notes',
    plugins: ['nayan-ui'],
    ios: {
      infoPlist: {
        NSCameraUsageDescription: 'Take photos for your notes.',
        NSMicrophoneUsageDescription: 'Record audio for your notes.'
      }
    },
    android: { permissions: ['android.permission.CAMERA', 'android.permission.RECORD_AUDIO'] }
  }
};
Related guide

Tags