I have this scheme testapp in my manifest as below
<!-- Branch URI Scheme -->
<intent-filter>
<data android:scheme="testapp" />
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
</intent-filter>
and same i have in branch dashboard setting in Android URI Scheme : testapp:// still i am getting this error.
specified in Branch dashboard doesn't match with the deep link intent in manifest file.
Note : Keys i have checked and it is correct.
For me, even after following the above, it did not work even after double verifying everyone. However, it worked after:
flutter clean
** ERROR ** : Uri scheme specified in Branch dashboard doesn't match with the deep link intent in manifest file. D/BranchSDK_Doctor( 6868): Please follow the link for more info https://help.branch.io/developers-hub/docs/android-basic-integration#section-configure-app
My Issue is : when I am integrating branch.io sdk into the new flutter project that time it working fine but when i am integrating same branch sdk into the old flutter project that time i am getting above error uri scheme mismatch error but uri scheme is same at both place on branch dashboard and project manifest file still getting this error.
**
if your uri scheme is same at both place(branch dashboard and manifest.yaml file) still you are getting uri scheme mismatch error then try this solution -->
step 1:** open app/build.gradle of flutter project.**
step 2:** add this branch.io dependency into the
dependencies
{
implementation 'io.branch.sdk.android:library:5.17.0' //check for latest version
}
Step 3: save the project and run flutter clean and then flutter pub get and finally run the project again.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With