Amazefilemanager: Denying or restricting contact permission causes the app to keep crashing.

Created on 22 May 2018  路  13Comments  路  Source: TeamAmaze/AmazeFileManager

Hello dev

I noticed that whenever I restrict contact permission for the app on my 6.0 marshmallow device, the app crashes repeatedly. Maybe the app wouldn't run without the permission but a toast informing the user about the essence of this permission would be much preferable to a crash.

Most helpful comment

On play store version, we do ask for contact permissions once you choose 'sign in with g+' from settings. It is necessary to get your name and profile picture for G+

All 13 comments

Update!!

This happens after signing in with Google+

This is weird... we should never asked for contact permission at all.

screenshot_1526980512
(Pixel 2 emulator running Android 6.0/API 23)

On play store version, we do ask for contact permissions once you choose 'sign in with g+' from settings. It is necessary to get your name and profile picture for G+

TranceLove, I could upload some screenshots from my end, if you want

Actually logcat message will be more useful. Anyway I'll try to find out when I get back.

(Suddenly I realised I'm so far away from Earth...)

Lols! Be back soon. I'll make the logcat available soon.

This should be fixed in version 1.3. Haven't removed G+ connection and the permission?

Confirmed with Play Store's current release 3.2.1, on Pixel 2 emulator running Android 6.0/API 23. When my G+ has a photo, after I opt-in to sign in with Google, whenever I launch Amaze it'll crash.

However, as of d479548 (date marked November 25 2017) Google Plus integration was removed... so this should not happen on master, because the integration was removed.

Anyway, FYI, logcat said

    java.lang.SecurityException: Missing android.permission.GET_ACCOUNTS
        at android.os.Parcel.readException(Parcel.java:1599)
        at android.os.Parcel.readException(Parcel.java:1552)
        at com.google.android.gms.plus.internal.zzd$zza$zza.getAccountName(Unknown Source)
        at com.google.android.gms.plus.internal.zze.getAccountName(Unknown Source)
        at com.google.android.gms.internal.zzazb.getAccountName(Unknown Source)
        at com.amaze.filemanager.activities.MainActivity.onConnected(MainActivity.java:1562)
        at com.google.android.gms.common.internal.zzm.zzq(Unknown Source)
        at com.google.android.gms.internal.zzaat.zzo(Unknown Source)
        at com.google.android.gms.internal.zzaar.zzwi(Unknown Source)
        at com.google.android.gms.internal.zzaar.onConnected(Unknown Source)
        at com.google.android.gms.internal.zzaav.onConnected(Unknown Source)
        at com.google.android.gms.internal.zzaag.onConnected(Unknown Source)
        at com.google.android.gms.common.internal.zzl$1.onConnected(Unknown Source)
        at com.google.android.gms.common.internal.zzf$zzj.zzxG(Unknown Source)
        at com.google.android.gms.common.internal.zzf$zza.zzb(Unknown Source)
        at com.google.android.gms.common.internal.zzf$zza.zzu(Unknown Source)
        at com.google.android.gms.common.internal.zzf$zze.zzxH(Unknown Source)
        at com.google.android.gms.common.internal.zzf$zzd.handleMessage(Unknown Source)
        at android.os.Handler.dispatchMessage(Handler.java:102)
        at android.os.Looper.loop(Looper.java:148)
        at android.app.ActivityThread.main(ActivityThread.java:5417)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)

I see you've helped yourself with the log. When will a new version be available..??

You should allow contacts permission for crash to not occur.

Yes yes; that I have done.

This should be fixed in version 1.3. Haven't removed G+ connection and the permission?

Waiting confirmation, this should be closed.

Waiting confirmation

@EmmanuelMess you mean this?

However, as of d479548 (date marked November 25 2017) Google Plus integration was removed... so this should not happen on master, because the integration was removed.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

organik1 picture organik1  路  5Comments

mueller-ma picture mueller-ma  路  5Comments

MagTun picture MagTun  路  4Comments

spocko picture spocko  路  4Comments

staltz picture staltz  路  3Comments