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:
<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:
<key>FlutterDeepLinkingEnabled</key>
<false/>
Timeline
#Landed in version: 3.25.0-0.1.pre
Stable release: 3.27
References
#Design document:
Relevant PR:
除非另有说明,本文档之所提及适用于 Flutter 的最新稳定版本,本页面最后更新时间: 2024-12-16。 查看文档源码 或者 为本页面内容提出建议。