# Zoom

Canonical HTML: https://p-hatan.com/deeplink-x/apps/zoom/

DeeplinkX 1.5.8.

## Platforms and setup

Native platforms: **android, ios, macos, windows, linux**.



## Public actions

### Zoom.open


```dart
factory Zoom.open({final bool fallbackToStore = false})
```

Launch with `DeeplinkX.launchApp`. Native platforms: **android, ios, macos, windows, linux**. Action web fallback: **available**. Store-fallback flag: **supported; opt in explicitly**.

| Parameter | Type | Required | Default |
| --- | --- | --- | --- |
| `fallbackToStore` | `bool` | No | `false` |

[Exact source](https://github.com/DeepLinkX/DeeplinkX/blob/00d9d2c7c1affe4e2ee459a01afeba82a1480eac/lib/src/apps/downloadable_apps/zoom.dart#L22)

### Zoom.joinMeeting


```dart
static ZoomJoinMeetingAction joinMeeting({ required final String meetingId, final String? password, final String? displayName, final bool fallbackToStore = false, })
```

Launch with `DeeplinkX.launchAction`. Native platforms: **android, ios, macos, windows, linux**. Action web fallback: **available**. Store-fallback flag: **supported; opt in explicitly**.

| Parameter | Type | Required | Default |
| --- | --- | --- | --- |
| `meetingId` | `String` | Yes | — |
| `password` | `String?` | No | — |
| `displayName` | `String?` | No | — |
| `fallbackToStore` | `bool` | No | `false` |

[Exact source](https://github.com/DeepLinkX/DeeplinkX/blob/00d9d2c7c1affe4e2ee459a01afeba82a1480eac/lib/src/apps/downloadable_apps/zoom.dart#L76)


## Provider setup and examples
DeeplinkX provides support for joining and starting Zoom meetings via deeplinks.

## Available Actions

### Launch Zoom App
```dart
final deeplinkX = DeeplinkX();

// Simple launch
await deeplinkX.launchApp(Zoom.open());

// Launch with store fallback if not installed
await deeplinkX.launchApp(Zoom.open(fallbackToStore: true));

// Launch with fallback disabled
await deeplinkX.launchApp(Zoom.open(), disableFallback: true);
```

### Join Meeting Action
```dart
final deeplinkX = DeeplinkX();

// Simple join
await deeplinkX.launchAction(Zoom.joinMeeting(
  meetingId: '123456789',
));

// Join with password and store fallback
await deeplinkX.launchAction(Zoom.joinMeeting(
  meetingId: '123456789',
  password: 'abc123',
  fallbackToStore: true,
));
```

## Platform-Specific Configuration

### iOS
Add the following to your `ios/Runner/Info.plist`:
```xml
<key>LSApplicationQueriesSchemes</key>
<array>
    <string>zoomus</string>
    <string>itms-apps</string>
</array>
```

### Android
Add the following to your `android/app/src/main/AndroidManifest.xml` inside the `<queries>` tag:
```xml
<queries>
    <!-- For Zoom app -->
    <package android:name="us.zoom.videomeetings" />

    <!-- For Play Store fallback (if using fallbackToStore) -->
    <package android:name="com.android.vending" />

    <!-- For web fallback (required) -->
    <intent>
        <action android:name="android.intent.action.VIEW" />
        <data android:scheme="https" />
    </intent>
</queries>
```

### macOS
Add the following to your `macos/Runner/Info.plist`:
```xml
<key>LSApplicationQueriesSchemes</key>
<array>
    <string>zoomus</string>
    <string>macappstore</string>
</array>
```

## URL Schemes

DeeplinkX uses the following URL schemes for Zoom:

### Native App Deep Links
When Zoom is installed, the following scheme is used:
- `zoomus://` - Native Zoom URL scheme
- Join meeting: `zoomus://zoom.us/join?confno={meetingId}&pwd={password}`

### Web Fallback URLs
When Zoom is not installed, DeeplinkX automatically falls back to:
- `https://zoom.us` - Official Zoom web URL
- Join meeting: `https://zoom.us/j/{meetingId}?pwd={password}`

## Supported Fallback Stores
When the Zoom app is not installed, DeeplinkX can redirect users to download Zoom from the following app stores:

- iOS App Store
- Google Play Store
- Microsoft Store

To enable fallback to app stores, use the `fallbackToStore` parameter:
```dart
final deeplinkX = DeeplinkX();
await deeplinkX.launchApp(Zoom.open(fallbackToStore: true));
```

## Fallback Behavior
DeeplinkX follows this sequence when handling Zoom deeplinks:

1. It first attempts to launch the Zoom app if it's installed on the device.
2. If the Zoom app is not installed and `fallbackToStore` is set to `true`, it will redirect to the appropriate app store based on the user's platform.
3. If no supported store is available or the store app cannot be launched, it will fall back to opening the Zoom web interface in the default browser.
4. You can disable all fallbacks by setting `disableFallback: true` in the launch methods.

## Fallback Support for Actions

| Action      | Store Fallback | Web Fallback |
| ----------- | -------------- | ------------ |
| open        | ✅              | ✅            |
| joinMeeting | ✅              | ✅            |

## Check If Zoom Is Installed
```dart
final deeplinkX = DeeplinkX();
final isInstalled = await deeplinkX.isAppInstalled(Zoom());
```

