mapbox / mapbox-vision-android-teaser

Other
29 stars 13 forks source link

Treat firebase permissions as optional. #212

Closed yunikkk closed 4 years ago

yunikkk commented 4 years ago

During debugging we've discovered that on devices without google services permission request always fails due to inability to allow com.google.android.c2dm.permission.RECEIVE and com.google.android.finsky.permission.BIND_GET_INSTALL_REFERRER_SERVICE. This PR skips if they fail.

Also, added dialog explaining missing permissions in case.

kiryldz commented 4 years ago

@yuryybk - we will need such logic in Fleet app as well.

yuryybk commented 4 years ago

@yuryybk - we will need such logic in Fleet app as well.

Yes, created issue https://github.com/mapbox/mapbox-vision-fleet-app-android/issues/5