GmsCore icon indicating copy to clipboard operation
GmsCore copied to clipboard

Fix the problem that Tasks&Jamboard&Fitbit App cannot log in with Google

Open DaVinci9196 opened this issue 2 years ago • 3 comments

1.Fix the problem that Tasks&Jamboard&Fitbit App cannot log in with Google 2.Declare CAR_SPEED permission

DaVinci9196 avatar Dec 19 '23 01:12 DaVinci9196

  • Fitbit isn't a Google apps, also I never had any "login" problem with it.
  • Tasks correctly use android.permission.GET_ACCOUNTS.

The only needed one is Jamboard.

ale5000-git avatar Jan 29 '24 22:01 ale5000-git

@mar-v-in

All car related permissions that I have found:

    <permission
        android:name="com.google.android.gms.permission.CAR"
        android:label="@string/perm_car_label"
        android:description="@string/perm_car_description"
        android:protectionLevel="signature" />
    <permission
        android:name="com.google.android.gms.permission.CAR_SPEED"
        android:label="@string/perm_car_speed_label"
        android:description="@string/perm_car_speed_description"
        android:permissionGroup="android.permission-group.LOCATION"
        android:protectionLevel="dangerous" />
    <permission
        android:name="com.google.android.gms.carsetup.DRIVING_MODE_MANAGER"
        android:protectionLevel="signature" />

    <permission-group
        android:name="com.google.android.gms.permission.CAR_INFORMATION"
        android:label="@string/perm_car_info_label"
        android:description="@string/perm_car_info_description"
        android:icon="@drawable/..." /> <!-- ToDO: Add icon -->
    <permission
        android:name="com.google.android.gms.permission.CAR_FUEL"
        android:label="@string/perm_car_fuel_label"
        android:description="@string/perm_car_fuel_description"
        android:permissionGroup="com.google.android.gms.permission.CAR_INFORMATION"
        android:protectionLevel="dangerous" />
    <permission
        android:name="com.google.android.gms.permission.CAR_MILEAGE"
        android:label="@string/perm_car_mileage_label"
        android:description="@string/perm_car_mileage_description"
        android:permissionGroup="com.google.android.gms.permission.CAR_INFORMATION"
        android:protectionLevel="dangerous" />
    <permission
        android:name="com.google.android.gms.permission.CAR_VENDOR_EXTENSION"
        android:label="@string/perm_car_vendor_extension_label"
        android:description="@string/perm_car_vendor_extension_description"
        android:permissionGroup="com.google.android.gms.permission.CAR_INFORMATION"
        android:protectionLevel="dangerous" />


    <string name="perm_car_label">Car Service</string>
    <string name="perm_car_description">Access to the car service.</string>
    <string name="perm_car_speed_label">Car speed</string>
    <string name="perm_car_speed_description">"Access your car's speed"</string>

    <string name="perm_car_info_label">Car information</string>
    <string name="perm_car_info_description">"Access your car's information"</string>
    <string name="perm_car_fuel_label">Car fuel level</string>
    <string name="perm_car_fuel_description">"Access your car's fuel level information"</string>
    <string name="perm_car_mileage_label">Car mileage</string>
    <string name="perm_car_mileage_description">"Access your car's mileage information"</string>
    <string name="perm_car_vendor_extension_label">Car vendor channel</string>
    <string name="perm_car_vendor_extension_description">"Access your car's vendor channel to exchange car-specific information"</string>

ale5000-git avatar Jan 30 '24 00:01 ale5000-git

How already said Fitbit and Tasks doesn't need this change.

The other parts are superceded by #2214 and #2208.

ale5000-git avatar Mar 03 '24 21:03 ale5000-git