aboutyou / dart_packages

Dart and Flutter plugins maintained and used by @ABOUTYOU
222 stars 149 forks source link

<data> tag failed #396

Open jaredgreener opened 8 months ago

jaredgreener commented 8 months ago

Play.google.console deeplinks is complaining about my Android Manifest.xml file:

Deep link not working Users will not go directly to your app. Once you have fixed these issues and published a new version, users need to update their app before the links will work.

FIX MANIFEST ISSUES

tag failed Add a "/" to the beginning of the android:path attribute in the tag. The attribute might also be android:pathPrefix or android:pathPattern.

Below is my Manifest file section for apple login:

<activity
                android:name="com.aboutyou.dart_packages.sign_in_with_apple.SignInWithAppleCallback"
                android:exported="true">

            <intent-filter>
                <action android:name="android.intent.action.VIEW" />
                <category android:name="android.intent.category.DEFAULT" />
                <category android:name="android.intent.category.BROWSABLE" />

                <data android:scheme="signinwithapple"
                      android:path="callback" />
            </intent-filter>
        </activity>
jinal-dev commented 7 months ago

Same issue. @jaredgreener did you find any solution about it?

HenriBeck commented 6 months ago

We haven't seen the issue, but did you try the fix mentioned by the Play Console to add a leading / to the android:path attribute?

Could you please post your complete AndroidManifest file?

pxsanghyo commented 6 months ago

Same issue. Is the recommended fix to android:path="callback" to android:path="/callback" ? @jaredgreener, @jinal-dev did that recommended fix work?