Skip to main content

Deep links flag change

Summary

#

This breaking change only affects mobile apps that use a third party deep linking plugin package.

The default value for Flutter's deep linking option has changed from false to true, meaning that deep linking is now opt-in by default.

Migration guide

#

If you're using Flutter's default deep linking setup, this isn't a breaking change for you.

However, if you're using a third-party plugin for deep links, such as the following, this update introduces a breaking change:

In this case, you must manually reset the Flutter deep linking option to false.

Within your app's AndroidManifest.xml file for Android:

AndroidManifest.xml
xml
<manifest>
   <application
       <activity>
<meta-data android:name="flutter_deeplinking_enabled" android:value="false" />
       </activity>
   </application>
</manifest>

Within your app's info.plist file for iOS:

info.plist
xml
 <key>FlutterDeepLinkingEnabled</key>
 <false/>

Timeline

#

Landed in version: 3.25.0-0.1.pre
Stable release: 3.27

References

#

Design document:

Relevant PR: