You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Custom scheme URIs are not allowed for 'WEB' client type.
I'm puzzled by this error because I thought the plugin used some native android library to do the login on android. I must have misconfigured something, at least because many people have succesfully used this plugin before, but I can't figure out what I'm doing wrong.
<?xml version="1.0" encoding="utf-8"?>
<manifestxmlns:android="http://schemas.android.com/apk/res/android"package="com.visionblo.apps.movilidadandina">
<!-- Permissions -->
<uses-permissionandroid:name="android.permission.INTERNET" />
<uses-permissionandroid:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permissionandroid:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permissionandroid:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permissionandroid:name="android.permission.ACCESS_BACKGROUND_LOCATION" />
<uses-permissionandroid:name="android.permission.FOREGROUND_SERVICE" />
<uses-permissionandroid:name="android.permission.READ_MEDIA_IMAGES"/>
<uses-permissionandroid:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permissionandroid:name="android.permission.WRITE_EXTERNAL_STORAGE"/> <!-- el plugin exige WRITE_EXTERNAL_STORAGE, aún cuando no lo necesito... hijos de p... -->
<uses-featureandroid:name="android.hardware.location.gps" />
<!-- el uses-feature asegura que no puedas instalar la app en un celular sin GPS (lo cual no tendría sentido para esta app) -->
<applicationandroid:allowBackup="false"android:icon="@mipmap/ic_launcher"android:label="@string/app_name"android:roundIcon="@mipmap/ic_launcher_round"android:supportsRtl="true"android:theme="@style/AppTheme">
<activityandroid:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|smallestScreenSize|screenLayout|uiMode"android:name="com.visionblo.apps.movilidadandina.MainActivity"android:label="@string/title_activity_main"android:theme="@style/AppTheme.NoActionBarLaunch"android:launchMode="singleTask"android:exported="true">
<intent-filter>
<actionandroid:name="android.intent.action.MAIN" />
<categoryandroid:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<providerandroid:name="androidx.core.content.FileProvider"android:authorities="${applicationId}.fileprovider"android:exported="false"android:grantUriPermissions="true">
<meta-dataandroid:name="android.support.FILE_PROVIDER_PATHS"android:resource="@xml/file_paths"></meta-data>
</provider>
<serviceandroid:name="com.visionblo.apps.movilidadandina.LocationService"android:enabled="true"android:foregroundServiceType="location"android:exported="false"
/>
<!-- si lo implemento con "geocercas" tal vez no haga falta usar android:foregroundServiceType="location" y familia --><!-- ok hasta ahora no hizo falta pero se lo agrego por las dudas --><!-- [2023-10-28] lo de "geocercas" estuvo bueno pero la precisión era fatalmente mala, vamos con el servicio nomás --><!-- service android:name="com.visionblo.apps.movilidadandina.ReportService" android:enabled="true" android:foregroundServiceType="dataSync" android:exported="false" / --><!-- android:permission="android.permission.BIND_JOB_SERVICE" -->
<receiverandroid:name="com.visionblo.apps.movilidadandina.IntentReceiver"android:enabled="true"android:exported="false">
<intent-filter>
<actionandroid:name="android.intent.action.BOOT_COMPLETED"/>
<actionandroid:name="android.intent.action.MY_PACKAGE_REPLACED"/>
</intent-filter>
</receiver>
</application>
</manifest>
The text was updated successfully, but these errors were encountered:
I don't understand what am I doing wrong with Google. Anyways, I was using Google as a test, the final version was meant to authenticate against an Azure Portal. Should I close this ticket or leave it open?
Description
Can't get Google to login with android. It says:
Custom scheme URIs are not allowed for 'WEB' client type.
I'm puzzled by this error because I thought the plugin used some native android library to do the login on android. I must have misconfigured something, at least because many people have succesfully used this plugin before, but I can't figure out what I'm doing wrong.
Capacitor version:
Capacitor 5.0.3
Run
npx cap doctor
:After adding package (removed it on update to capacitor 5, so I dunno what's going on with doctor):
After replacing .MainActivity with com.visionblo.apps.movilidadandina.MainActivity:
Library version:
OAuth Provider:
Your Plugin Configuration
Affected Platform(s):
AndroidManifest.xml
The text was updated successfully, but these errors were encountered: