Thunkable Docs
Click here to build your own apps!
Drag and Drop docs
Snap to Place docs
Search…
Snap to Place
👋
Welcome to Thunkable
👶
Getting Started
🆕
Create New Project
Thunkable Sample Projects
Public Gallery of Projects
🛠️ Components
🔘
User Interface
Button
Label
Text Input
List Viewer
Web Viewer
Switch
Slider
Alert
Loading Icon
Date Input
Time Input
PDF Reader
Rating
📊
Data Viewers
Data Viewer List
Data Viewer Grid
Custom Data Viewer Layout
Data Sources
📐
Layout
Top Tab Navigator
Bottom Tab Navigator
Stack Navigator
Drawer Navigator
Screen
Row
Column
📷
Image
Image
Photo Library
Camera
Barcode Scanner
Image Recognizer
Animation by Lottie
Video
Video Recorder
🗄️ Data
Local Storage
Local DB
Realtime DB by Firebase
Airtable
Media DB by Cloudinary
File Picker
Web API
🌍
Location
Maps by Google and Apple
Location Sensor
💲
Monetization
Ads by AdMob
In-App Purchase
🌐
Sensors
Gyroscope
Magnetometer
Accelerometer
Timer
Bluetooth Low Energy
🔊
Voice
Sound
Text to Speech
Speech Recognizer
Translator
Assistant by Dialogflow
Audio Recorder
🤝
Social
Share
Email Sign In by Firebase
Push Notifications by One Signal
🎮Gaming
Canvas
Sprites
Sprite Gallery
Canvas Label
🤖Gaming Blocks🎮
Events
Motion
Looks
Direction
Sensing
Add & Remove
Stage
Canvas Label
🤖
Blocks
Control
Logic
Math
Text
Lists
Color
Objects
Device
Variables
Functions
"Any Component" Blocks
🖥️ App Services & Emulators
🔒
App Data Privacy
➕
Make Copy
📥
Download
📤
Share
📱
Publish
Publish to App Store (iOS)
Publish to Play Store (Android) with AAB
Publish as a Web App (PRO)
Generate Screenshots
🔎
Troubleshooting
📏
Intro to Spacing
🖼️ Intro to Sizing
🔤
Fonts
💾
Managing Storage
📰
Release Notes
🗄️ Release Notes Archive
📝
Bugs and Feature Requests
Powered By
GitBook
File Picker
Overview
The File Picker will open your end user's file library and allow them to select a file. The file can then be used in the app.
You can allow your end user to upload any kind of file, or limit their selection by file type, eg. HTML, PDF, etc.
Your end users may experience lags or delays if the size of the file the try to upload is larger than 5MB
Blocks
Functions
Get File
Input
Description
Data Type
type
Select the type of file you want your end user to upload
Select from list
[any type of, image, video, html, pdf]
Output
Description
Data Type
file
Points to the file that has been uploaded
Data type of the file that has been uploaded. Can also return address of the file as text
name
Name of the uploaded file
Text
mime type
Describes the type of file in
MIME format
Text
size
Returns size of uploaded file in bytes
Number
was cancelled
Indicates whether the end user cancelled selecting a file
True/False
error
If there is an error, returns the error. Else returns
null
Text
Previous
Media DB by Cloudinary
Next
Web API
Last modified
2mo ago
Export as PDF
Copy link
Contents
Overview
Blocks
Functions