The Custom Screen Code feature allows you to store functions on a screen-by-screen basis. To access this feature, click
Screen Settings (the gear icon on the right of the name of your App) and then click
Custom Code in the left sidebar.
After you've saved a function, you can access it in the Actions tab of the Properties Panel by attaching it to any Button or Touchable.
The name that will be referenced in code to call the function.
A brief explanation of the function's purpose / what the function does.
Packages from Expo that enable additional functionality on your screen.
Package that provides an interface to access Expo's asset system.
Package that provides
Audio.Sound objects and
Video components for managing audio and video playback.
Provides a component to use the device's camera to take photos or record video.
CAMERA permissions for the camera and
RECORD_AUDIO permissions to record video.
Provides a component to use the device's camera as a barcode scanner.
Provides a component that renders a native blur view on iOS and a semi-transparent view on Android. (see: Blur View)
Provides a component that renders a linear gradient.
Package that handles asking the user for various device permissions
Provides various APIs for accessing device sensors to measure motion, orientation, pressure, magnetic fields, and step count
Updated 5 days ago