1## 3.15\. Instant Apps
2
3Device implementations MUST satisfy the following requirements:
4
5*   [C-0-1] Instant Apps MUST only be granted permissions that have the
6    [`android:protectionLevel`](
7    https://developer.android.com/reference/android/R.attr#protectionLevel)
8    set to `"instant"`.
9*   [C-0-2] Instant Apps MUST NOT interact with installed apps via [implicit intents](https://developer.android.com/reference/android/content/Intent.html)
10    unless one of the following is true:
11    *   The component's intent pattern filter is exposed and has CATEGORY_BROWSABLE
12    *   The action is one of ACTION_SEND, ACTION_SENDTO, ACTION_SEND_MULTIPLE
13    *   The target is explicitly exposed with [android:visibleToInstantApps](https://developer.android.com/reference/android/R.attr.html#visibleToInstantApps)
14*   [C-0-3] Instant Apps MUST NOT interact explicitly with installed apps unless the
15    component is exposed via android:visibleToInstantApps.
16*   [C-0-4] Installed Apps MUST NOT see details about Instant Apps on the
17    device unless the Instant App explicitly connects to the
18    installed application.
19*   Device implementations MUST provide the following user affordances for
20    interacting with Instant Apps. The AOSP meets the requirements with the
21    default System UI, Settings, and Launcher. Device implementations:
22    *   [C-0-5] MUST provide a user affordance to view and delete Instant Apps
23        locally cached for each individual app package.
24    *   [C-0-6] MUST provide a persistent user notification that can be
25        collapsed while an Instant App is running in the foreground. This user
26        notification MUST include that Instant Apps do not require installation
27        and provide a user affordance that directs the user to the application
28        info screen in Settings. For Instant Apps launched via web intents, as
29        defined by using an intent with action set to `Intent.ACTION_VIEW` and
30        with a scheme of "http" or "https", an additional user affordance
31        SHOULD allow the user not to launch the Instant App and
32        launch the associated link with the configured web browser, if a browser
33        is available on the device.
34    *   [C-0-7] MUST allow running Instant Apps to be accessed from the Recents
35        function if the Recents function is available on the device.
36
37If device implementations support Instant Apps, they:
38
39*   [C-1-1] MUST preload one or more applications or service components
40    with an intent handler for the intents listed in the SDK [here](https://developer.android.com/topic/google-play-instant/instant-app-intents)
41    and make the intents visible for Instant Apps.