import*asIntentLauncherfrom'expo-intent-launcher';// Open location settingsIntentLauncher.startActivityAsync(IntentLauncher.ACTION_LOCATION_SOURCE_SETTINGS);
activityAction (string) -- The action to be performed, e.g. IntentLauncher.ACTION_WIRELESS_SETTINGS. There are a few pre-defined constants you can use for this parameter. You can find them at expo-intent-launcher/src/IntentLauncher.ts. Required
A string specifying the MIME type of the data represented by the data parameter. Ignore this argument to allow Android to infer the correct MIME type.
category
string
Category provides more details about the action the intent performs. See Intent.addCategory.
extra
object
A map specifying additional key-value pairs which are passed with the intent as extras. The keys must include a package prefix, for example the app com.android.contacts would use names like com.android.contacts.ShowAll.
data
string
A URI specifying the data that the intent should operate upon. (Note: Android requires the URI scheme to be lowercase, unlike the formal RFC.)
flags
number
Bitmask of flags to be used. See Intent.setFlags for more details.
packageName
string
Package name used as an identifier of ComponentName. Set this only if you want to explicitly set the component to handle the intent.