Skip to main content

Fixing Flutter URL Launcher Issues for HTTPS Sites

Image of Daniel Reynolds
Daniel Reynolds
Software Engineer
Full stack engineer with nearly a decade of experience developing various applications and software

Last updated: August 2025

The Problem

I was trying to add a link to my app's GitHub page, and ran into the following error:

I/UrlLauncher( 5519): component name for https://github.com/drg101/decaf is null

The Solution

Android

Add to android/app/src/main/AndroidManifest.xml in the <queries> section:

<intent>
<action android:name="android.intent.action.VIEW" />
<data android:scheme="https" />
</intent>
<intent>
<action android:name="android.intent.action.VIEW" />
<data android:scheme="http" />
</intent>

iOS

Add to ios/Runner/Info.plist in the <dict>:

<key>LSApplicationQueriesSchemes</key>
<array>
<string>https</string>
<string>http</string>
</array>

That's it! Now launching the URL should open up the browser!