-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Android Google success shows 2 duplicate apps to return to on success #15
Comments
Hi, I experience the same behavior but only on simulator and while debugging on a device. In a production build the dialog is not displayed but users reported some weird problems. Unfortunately I have no idea where this comes from. So if you have any logs or find anything please let me know so I can tackle the problem. BR, Michael |
@moberwasserlechner I just tried installing it on a real device and am experiencing the same issue. I'm not very experienced with native android development (yet). Could you point me in a direction to find some logs that we can look through to try and diagnose the issue? |
Only if you release it in the Playstore the issue should be gone. If you don't have any logs it's ok. I will try to find the bug myself but after the holidays ;) |
I think the schemes in the gradle file and the a scheme in a intent filter in the androidManifest.xml build.gradle
are conflicting each other. AndroidManifest.xml ... @string/custom_url_scheme
I have no solution yet but you might try to change on or the other. |
I have stumbled upon the same issue, will see if doing above will solve anything |
I believe you can solve this by using different callback URIs.
… On Feb 22, 2019, at 07:23, Michael Tintiuc ***@***.***> wrote:
I have stumbled upon the same issue, will see if doing above will solve anything
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
I was able to fix this by adding <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="@string/custom_url_scheme" android:host="@string/custom_host" />
</intent-filter> |
@michaeltintiuc cool. What value has |
Looks like it could be anything, I had it set to |
I just tried it (foo ;)) and it works. Will add this to the docs. Great find. |
Added a section formulated by @rgolea |
Hi Guys, I keep getting this on debug and release versions, does any of you know what can be done to fix this? I have followed the steps that were added to the documentation. |
@loonix I'm having the same issue on the emulator where it's displaying a duplicate app to return control to, (I haven't tested the release version) but I seemed to have gotten around it with the following configuration build.gradle
strings.xml
AndroidManifest.xml
I'm not an Android developer so I can't explain why this configuration is working for me, but it might be of help. Thanks. |
Thanks bro, will give it a shot |
Hi. I'm using this plugin in my ionic/capacitor project and follow the setup described for Android. Everything was working great using the emulator but when I installed the .apk in my android device, the app launch icon was not on the screen, though the installation was successful and the app was listed in installed apps. After some try/error attemptives, I figured out that if I removed the fix for this issue ( |
Hi @marianapatcosta, you wrote:
You did not experience this issue. Could you please create a new issue, describing your problem and giving the information asked by the issue template. Thx & BR |
I set up Facebook and Google for Android. Facebook works as expected. However, with Google, after I've selected which account to connect, it then asks me to choose which app to go back to. It lists the correct app, but it lists it twice for some reason. Selecting one completely reopens the app, and so the connection doesn't work. Selecting the other takes you back to the open app and it DOES work.
The screenshot shows it split based on which I had previously selected but the first time it asked me it showed both in a list, both with
app.temployee.app
as the package nameDo you have any idea what I could be doing wrong?
The text was updated successfully, but these errors were encountered: