microg / GmsCore

Free implementation of Play Services
https://microg.org
Apache License 2.0
8.69k stars 1.73k forks source link

[com.chucklefish.stardewvalley] Stardew Valley asks for storage permission #1256

Open GeopJr opened 4 years ago

GeopJr commented 4 years ago

Affected app Name: Stardew Valley Package id: com.chucklefish.stardewvalley

Describe the bug When you first launch the app you get asked to allow storage permission, however even after granting it, it keeps asking on every launch without allowing you to proceed.

To Reproduce Steps to reproduce the behavior:

  1. Launch the app
  2. Grant storage permission

Expected behavior The app would get past the splash screen without asking for storage permission.

Screenshots Screenshots in order:

  1. https://cdn.discordapp.com/attachments/444899329237581839/773520155313176576/Screenshot_20201104-140955843.jpg
  2. https://cdn.discordapp.com/attachments/444899329237581839/773520155728019466/Screenshot_20201104-141003802.jpg
  3. https://cdn.discordapp.com/attachments/444899329237581839/773520156198567936/Screenshot_20201104-141011688_1.jpg

And a screen recording: https://cdn.discordapp.com/attachments/444899329237581839/773520424327708711/20-11-04-14-11-53.mp4

System Android Version: 10 Custom ROM: Corvus 9.5 (though it happens on every ROM I've tried)

microG microG Core version: 0.2.11.202414 microG Self-Check results: All ticked

Additional context The app was bought on Google Play Store on browser and was installed using Aurora Store.

Here's some logs: https://cdn.discordapp.com/attachments/444899329237581839/773522045697785856/logcat_11-04-2020_14-18-54.txt

<<< log_count = 39 >>>
[11-04 14:09:45.829 1837:2202 I/ActivityTaskManager]
START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.chucklefish.stardewvalley/md5dee79b5aa46d0ac87adbcd4b193daa49.MainActivity bnds=[32,1269][235,1626]} from uid 10155

[11-04 14:09:46.028 1837:1962 I/ActivityManager]
Start proc 29464:com.chucklefish.stardewvalley/u0a269 for pre-top-activity {com.chucklefish.stardewvalley/md5dee79b5aa46d0ac87adbcd4b193daa49.MainActivity}

[11-04 14:10:03.835 1837:6376 I/ActivityTaskManager]
START u0 {act=android.settings.APPLICATION_DETAILS_SETTINGS dat=package:com.chucklefish.stardewvalley cmp=com.android.settings/.applications.InstalledAppDetails} from uid 10269

[11-04 14:10:36.178 1837:6081 I/ActivityTaskManager]
START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.chucklefish.stardewvalley/md5dee79b5aa46d0ac87adbcd4b193daa49.MainActivity bnds=[32,1558][235,1915]} from uid 10155

[11-04 14:10:40.783 1837:1955 I/ActivityManager]
Killing 29464:com.chucklefish.stardewvalley/u0a269 (adj 905): remove task

[11-04 14:10:40.835 1837:3334 I/WindowManager]
WIN DEATH: Window{9e8250b u0 com.chucklefish.stardewvalley/md5dee79b5aa46d0ac87adbcd4b193daa49.MainActivity}

[11-04 14:10:43.997 1837:3334 I/ActivityTaskManager]
START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.chucklefish.stardewvalley/md5dee79b5aa46d0ac87adbcd4b193daa49.MainActivity bnds=[32,1269][235,1626]} from uid 10155

[11-04 14:10:44.052 1837:1962 I/ActivityManager]
Start proc 29618:com.chucklefish.stardewvalley/u0a269 for pre-top-activity {com.chucklefish.stardewvalley/md5dee79b5aa46d0ac87adbcd4b193daa49.MainActivity}

[11-04 14:11:28.867 1837:9672 I/ActivityTaskManager]
START u0 {act=android.settings.APPLICATION_DETAILS_SETTINGS dat=package:com.chucklefish.stardewvalley cmp=com.android.settings/.applications.InstalledAppDetails} from uid 10269

[11-04 14:11:32.763 1837:1955 I/ActivityManager]
Killing 29618:com.chucklefish.stardewvalley/u0a269 (adj 905): remove task

[11-04 14:11:32.810 1837:2202 I/WindowManager]
WIN DEATH: Window{5365bd3 u0 com.chucklefish.stardewvalley/md5dee79b5aa46d0ac87adbcd4b193daa49.MainActivity}

[11-04 14:11:51.531 1837:3334 I/ActivityTaskManager]
START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.chucklefish.stardewvalley/md5dee79b5aa46d0ac87adbcd4b193daa49.MainActivity bnds=[32,1865][235,2222]} from uid 10155

[11-04 14:11:51.591 1837:1962 I/ActivityManager]
Start proc 29758:com.chucklefish.stardewvalley/u0a269 for pre-top-activity {com.chucklefish.stardewvalley/md5dee79b5aa46d0ac87adbcd4b193daa49.MainActivity}

[11-04 14:11:56.200 1837:11709 I/ActivityTaskManager]
START u0 {act=android.settings.APPLICATION_DETAILS_SETTINGS dat=package:com.chucklefish.stardewvalley cmp=com.android.settings/.applications.InstalledAppDetails} from uid 10269

[11-04 14:17:09.635 1837:1955 I/ActivityManager]
Killing 29758:com.chucklefish.stardewvalley/u0a269 (adj 905): remove task

[11-04 14:17:09.698 1837:2073 W/InputDispatcher]
channel '4957534 com.chucklefish.stardewvalley/md5dee79b5aa46d0ac87adbcd4b193daa49.MainActivity (server)' ~ Consumer closed input channel or an error occurred.  events=0x9

[11-04 14:17:09.698 1837:2073 E/InputDispatcher]
channel '4957534 com.chucklefish.stardewvalley/md5dee79b5aa46d0ac87adbcd4b193daa49.MainActivity (server)' ~ Channel is unrecoverably broken and will be disposed!

[11-04 14:17:09.698 1837:11709 I/WindowManager]
WIN DEATH: Window{4957534 u0 com.chucklefish.stardewvalley/md5dee79b5aa46d0ac87adbcd4b193daa49.MainActivity}

[11-04 14:17:09.698 1837:11709 W/InputDispatcher]
Attempted to unregister already unregistered input channel '4957534 com.chucklefish.stardewvalley/md5dee79b5aa46d0ac87adbcd4b193daa49.MainActivity (server)'

[11-04 14:17:33.927 1837:3334 I/ActivityTaskManager]
START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.chucklefish.stardewvalley/md5dee79b5aa46d0ac87adbcd4b193daa49.MainActivity bnds=[32,1319][235,1676]} from uid 10155

[11-04 14:17:33.978 1837:1962 I/ActivityManager]
Start proc 30444:com.chucklefish.stardewvalley/u0a269 for pre-top-activity {com.chucklefish.stardewvalley/md5dee79b5aa46d0ac87adbcd4b193daa49.MainActivity}

[11-04 14:17:33.989 30444:30444 E/h.stardewvalle]
Not starting debugger since process cannot load the jdwp agent.

[11-04 14:17:33.997 30444:30444 W/h.stardewvalle]
Core platform API violation: Ljava/lang/reflect/Field;->accessFlags:I from Landroid/os/Build; using reflection

[11-04 14:17:34.149 30444:30444 W/monodroid]
Trying to load sgen from: /data/app/com.chucklefish.stardewvalley-3pLnWw53A4t52-_2GtS9Aw==/lib/arm64/libmonosgen-2.0.so

[11-04 14:17:35.086 1837:1960 I/ActivityTaskManager]
Displayed com.chucklefish.stardewvalley/md5dee79b5aa46d0ac87adbcd4b193daa49.MainActivity: +1s154ms

[11-04 14:17:36.241 1837:2814 E/InputDispatcher]
Window handle Window{7f8ea8d u0 com.chucklefish.stardewvalley/md5dee79b5aa46d0ac87adbcd4b193daa49.MainActivity} has no registered input channel

[11-04 14:17:36.630 29535:29535 V/GrantPermissionsActivity]
Permission grant result requestId=-1356325509333602729 callingUid=10269 callingPackage=com.chucklefish.stardewvalley permission=com.android.vending.CHECK_LICENSE isImplicit=false result=1

[11-04 14:17:37.643 1837:2814 I/ActivityTaskManager]
START u0 {act=android.settings.APPLICATION_DETAILS_SETTINGS dat=package:com.chucklefish.stardewvalley cmp=com.android.settings/.applications.InstalledAppDetails} from uid 10269

[11-04 14:17:37.672 1837:2814 E/InputDispatcher]
Window handle Window{dcc8ca1 u0 com.chucklefish.stardewvalley/md5dee79b5aa46d0ac87adbcd4b193daa49.MainActivity} has no registered input channel

[11-04 14:17:37.690 1837:5494 E/InputDispatcher]
Window handle Window{dcc8ca1 u0 com.chucklefish.stardewvalley/md5dee79b5aa46d0ac87adbcd4b193daa49.MainActivity} has no registered input channel

[11-04 14:17:37.705 1837:5494 E/InputDispatcher]
Window handle Window{dcc8ca1 u0 com.chucklefish.stardewvalley/md5dee79b5aa46d0ac87adbcd4b193daa49.MainActivity} has no registered input channel

[11-04 14:17:37.724 1837:2814 E/InputDispatcher]
Window handle Window{dcc8ca1 u0 com.chucklefish.stardewvalley/md5dee79b5aa46d0ac87adbcd4b193daa49.MainActivity} has no registered input channel

[11-04 14:17:37.759 1837:2814 E/InputDispatcher]
Window handle Window{dcc8ca1 u0 com.chucklefish.stardewvalley/md5dee79b5aa46d0ac87adbcd4b193daa49.MainActivity} has no registered input channel

[11-04 14:17:37.768 1837:2814 E/InputDispatcher]
Window handle Window{dcc8ca1 u0 com.chucklefish.stardewvalley/md5dee79b5aa46d0ac87adbcd4b193daa49.MainActivity} has no registered input channel

[11-04 14:17:37.772 1837:2813 E/InputDispatcher]
Window handle Window{dcc8ca1 u0 com.chucklefish.stardewvalley/md5dee79b5aa46d0ac87adbcd4b193daa49.MainActivity} has no registered input channel

[11-04 14:17:38.822 30483:30483 V/BatteryUtils]
package: com.chucklefish.stardewvalley

[11-04 14:17:38.974 29535:29552 W/Role]
com.chucklefish.stardewvalley not qualified for android.app.role.HOME due to missing RequiredComponent{mIntentFilterData=IntentFilterData{mAction='android.intent.action.MAIN', mCategories='[android.intent.category.HOME]', mDataScheme='null', mDataType='null'}, mPermission='null', mMetaData=[]}

[11-04 14:17:38.977 29535:29552 W/Role]
com.chucklefish.stardewvalley not qualified for android.app.role.DIALER due to missing RequiredComponent{mIntentFilterData=IntentFilterData{mAction='android.intent.action.DIAL', mCategories='[]', mDataScheme='null', mDataType='null'}, mPermission='null', mMetaData=[]}

[11-04 14:17:38.983 29535:29552 W/Role]
com.chucklefish.stardewvalley not qualified for android.app.role.SMS due to missing RequiredComponent{mIntentFilterData=IntentFilterData{mAction='android.provider.Telephony.SMS_DELIVER', mCategories='[]', mDataScheme='null', mDataType='null'}, mPermission='android.permission.BROADCAST_SMS', mMetaData=[]}
katriellucas commented 3 years ago

Can confirm this experience, my have an old samsung galaxy prime that I can get way much faster without google, the only thing she uses that uses google services is stardew valley. It would be a lot better if this was fixed.

kiyoshigawa commented 3 years ago

I can confirm that this error is still occurring as described in the original post on my Pixel 5 running Android 11 / Calyx OS 2.8.0.

dev3011 commented 3 years ago

I have the same problem On OnePlus 6 with Lineageos 16 / Android 9 and Microg 0.2.21.212158. (btw the version in Amazon Appstore works without the issue)

feuilledegui commented 2 years ago

Same problem for me (Nexus 5X ; LineageOS 15.1 for MicroG ; MicroG 0.22.212658). Thanks @dev3011 , the Amazon Appstore version run very well

MaeIsBad commented 1 year ago

This doesn't occur for me(Pixel 3a, Lineage 19 for MicroG, MicroG 0.2.25.223616).

Can you verify if this still occurs and close the issue if doesn't @GeopJr

GeopJr commented 1 year ago

Sorry, I don't have a device with MicroG anymore.

I'm willing to wait for 1-2 more people to verify it before closing!